var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653422&x=5524',
		'title': '',
		'imageId': '71653422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653407&x=5524',
		'title': '',
		'imageId': '71653407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653408&x=5524',
		'title': '',
		'imageId': '71653408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653417&x=5524',
		'title': '',
		'imageId': '71653417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653420&x=5524',
		'title': '',
		'imageId': '71653420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653428&x=5524',
		'title': '',
		'imageId': '71653428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653414&x=5524',
		'title': '',
		'imageId': '71653414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653415&x=5524',
		'title': '',
		'imageId': '71653415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653409&x=5524',
		'title': '',
		'imageId': '71653409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653416&x=5524',
		'title': '',
		'imageId': '71653416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087633&docid=71653423&x=5524',
		'title': '',
		'imageId': '71653423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087633';

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