var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899777&x=1746',
		'title': '',
		'imageId': '67899777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899778&x=1746',
		'title': '',
		'imageId': '67899778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899779&x=1746',
		'title': '',
		'imageId': '67899779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899780&x=1746',
		'title': '',
		'imageId': '67899780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899781&x=1746',
		'title': '',
		'imageId': '67899781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899782&x=1746',
		'title': '',
		'imageId': '67899782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899783&x=1746',
		'title': '',
		'imageId': '67899783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899784&x=1746',
		'title': '',
		'imageId': '67899784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899785&x=1746',
		'title': '',
		'imageId': '67899785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899786&x=1746',
		'title': '',
		'imageId': '67899786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919935&docid=67899787&x=1746',
		'title': '',
		'imageId': '67899787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919935';

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