var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098569&x=3031',
		'title': '',
		'imageId': '69098569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098579&x=3031',
		'title': '',
		'imageId': '69098579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098570&x=3031',
		'title': '',
		'imageId': '69098570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098574&x=3031',
		'title': '',
		'imageId': '69098574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098573&x=3031',
		'title': '',
		'imageId': '69098573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098572&x=3031',
		'title': '',
		'imageId': '69098572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098571&x=3031',
		'title': '',
		'imageId': '69098571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098576&x=3031',
		'title': '',
		'imageId': '69098576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098575&x=3031',
		'title': '',
		'imageId': '69098575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098578&x=3031',
		'title': '',
		'imageId': '69098578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977262&docid=69098577&x=3031',
		'title': '',
		'imageId': '69098577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977262';

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";
	})
}
