var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333670&x=467',
		'title': '',
		'imageId': '68333670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333673&x=467',
		'title': '',
		'imageId': '68333673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333678&x=467',
		'title': '',
		'imageId': '68333678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333733&x=467',
		'title': '',
		'imageId': '68333733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333737&x=467',
		'title': '',
		'imageId': '68333737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333740&x=467',
		'title': '',
		'imageId': '68333740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333743&x=467',
		'title': '',
		'imageId': '68333743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333748&x=467',
		'title': '',
		'imageId': '68333748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333751&x=467',
		'title': '',
		'imageId': '68333751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333755&x=467',
		'title': '',
		'imageId': '68333755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008748&docid=68333758&x=467',
		'title': '',
		'imageId': '68333758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008748';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
