var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974444&x=4554',
		'title': '',
		'imageId': '69974444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974446&x=4554',
		'title': '',
		'imageId': '69974446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974460&x=4554',
		'title': '',
		'imageId': '69974460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974443&x=4554',
		'title': '',
		'imageId': '69974443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974445&x=4554',
		'title': '',
		'imageId': '69974445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974459&x=4554',
		'title': '',
		'imageId': '69974459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974452&x=4554',
		'title': '',
		'imageId': '69974452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974458&x=4554',
		'title': '',
		'imageId': '69974458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974461&x=4554',
		'title': '',
		'imageId': '69974461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974442&x=4554',
		'title': '',
		'imageId': '69974442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010626&docid=69974441&x=4554',
		'title': '',
		'imageId': '69974441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010626';

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