var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881562&x=4443',
		'title': '',
		'imageId': '67881562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881561&x=4443',
		'title': '',
		'imageId': '67881561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881556&x=4443',
		'title': '',
		'imageId': '67881556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881571&x=4443',
		'title': '',
		'imageId': '67881571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881569&x=4443',
		'title': '',
		'imageId': '67881569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881551&x=4443',
		'title': '',
		'imageId': '67881551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881559&x=4443',
		'title': '',
		'imageId': '67881559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881552&x=4443',
		'title': '',
		'imageId': '67881552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881557&x=4443',
		'title': '',
		'imageId': '67881557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881572&x=4443',
		'title': '',
		'imageId': '67881572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881573&x=4443',
		'title': '',
		'imageId': '67881573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881566&x=4443',
		'title': '',
		'imageId': '67881566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881565&x=4443',
		'title': '',
		'imageId': '67881565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881558&x=4443',
		'title': '',
		'imageId': '67881558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881563&x=4443',
		'title': '',
		'imageId': '67881563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881555&x=4443',
		'title': '',
		'imageId': '67881555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881564&x=4443',
		'title': '',
		'imageId': '67881564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881560&x=4443',
		'title': '',
		'imageId': '67881560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881570&x=4443',
		'title': '',
		'imageId': '67881570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881567&x=4443',
		'title': '',
		'imageId': '67881567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881554&x=4443',
		'title': '',
		'imageId': '67881554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881553&x=4443',
		'title': '',
		'imageId': '67881553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881574&x=4443',
		'title': '',
		'imageId': '67881574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918880&docid=67881568&x=4443',
		'title': '',
		'imageId': '67881568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918880';

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