var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205112&x=4841',
		'title': '',
		'imageId': '7205112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205118&x=4841',
		'title': '',
		'imageId': '7205118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205121&x=4841',
		'title': '',
		'imageId': '7205121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205124&x=4841',
		'title': '',
		'imageId': '7205124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205127&x=4841',
		'title': '',
		'imageId': '7205127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205130&x=4841',
		'title': '',
		'imageId': '7205130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205133&x=4841',
		'title': '',
		'imageId': '7205133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205136&x=4841',
		'title': '',
		'imageId': '7205136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205139&x=4841',
		'title': '',
		'imageId': '7205139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205142&x=4841',
		'title': '',
		'imageId': '7205142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205146&x=4841',
		'title': '',
		'imageId': '7205146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205149&x=4841',
		'title': '',
		'imageId': '7205149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205152&x=4841',
		'title': '',
		'imageId': '7205152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205161&x=4841',
		'title': '',
		'imageId': '7205161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205166&x=4841',
		'title': '',
		'imageId': '7205166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205173&x=4841',
		'title': '',
		'imageId': '7205173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205176&x=4841',
		'title': '',
		'imageId': '7205176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205182&x=4841',
		'title': '',
		'imageId': '7205182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205185&x=4841',
		'title': '',
		'imageId': '7205185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205188&x=4841',
		'title': '',
		'imageId': '7205188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205191&x=4841',
		'title': '',
		'imageId': '7205191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915408&docid=7205194&x=4841',
		'title': '',
		'imageId': '7205194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #915408';

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