var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944025&x=5236',
		'title': '',
		'imageId': '69944025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944046&x=5236',
		'title': '',
		'imageId': '69944046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944075&x=5236',
		'title': '',
		'imageId': '69944075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944076&x=5236',
		'title': '',
		'imageId': '69944076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944077&x=5236',
		'title': '',
		'imageId': '69944077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944080&x=5236',
		'title': '',
		'imageId': '69944080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944085&x=5236',
		'title': '',
		'imageId': '69944085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944086&x=5236',
		'title': '',
		'imageId': '69944086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944091&x=5236',
		'title': '',
		'imageId': '69944091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944094&x=5236',
		'title': '',
		'imageId': '69944094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944100&x=5236',
		'title': '',
		'imageId': '69944100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009334&docid=69944105&x=5236',
		'title': '',
		'imageId': '69944105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009334';

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