var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652851&x=1458',
		'title': '',
		'imageId': '67652851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652852&x=1458',
		'title': '',
		'imageId': '67652852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652854&x=1458',
		'title': '',
		'imageId': '67652854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652855&x=1458',
		'title': '',
		'imageId': '67652855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652856&x=1458',
		'title': '',
		'imageId': '67652856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652857&x=1458',
		'title': '',
		'imageId': '67652857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652858&x=1458',
		'title': '',
		'imageId': '67652858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652859&x=1458',
		'title': '',
		'imageId': '67652859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652860&x=1458',
		'title': '',
		'imageId': '67652860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652861&x=1458',
		'title': '',
		'imageId': '67652861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910586&docid=67652862&x=1458',
		'title': '',
		'imageId': '67652862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910586';

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