var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485383&x=738',
		'title': '',
		'imageId': '67485383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485386&x=738',
		'title': '',
		'imageId': '67485386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485384&x=738',
		'title': '',
		'imageId': '67485384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485382&x=738',
		'title': '',
		'imageId': '67485382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485385&x=738',
		'title': '',
		'imageId': '67485385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903239&docid=67485387&x=738',
		'title': '',
		'imageId': '67485387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903239';

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