var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592067&x=3440',
		'title': '',
		'imageId': '70592067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592069&x=3440',
		'title': '',
		'imageId': '70592069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592072&x=3440',
		'title': '',
		'imageId': '70592072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592064&x=3440',
		'title': '',
		'imageId': '70592064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592073&x=3440',
		'title': '',
		'imageId': '70592073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592075&x=3440',
		'title': '',
		'imageId': '70592075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592066&x=3440',
		'title': '',
		'imageId': '70592066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592071&x=3440',
		'title': '',
		'imageId': '70592071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592070&x=3440',
		'title': '',
		'imageId': '70592070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592068&x=3440',
		'title': '',
		'imageId': '70592068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592065&x=3440',
		'title': '',
		'imageId': '70592065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592079&x=3440',
		'title': '',
		'imageId': '70592079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592076&x=3440',
		'title': '',
		'imageId': '70592076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592080&x=3440',
		'title': '',
		'imageId': '70592080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592081&x=3440',
		'title': '',
		'imageId': '70592081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70592077&x=3440',
		'title': '',
		'imageId': '70592077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70644170&x=3440',
		'title': '',
		'imageId': '70644170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70644169&x=3440',
		'title': '',
		'imageId': '70644169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70644168&x=3440',
		'title': '',
		'imageId': '70644168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034950&docid=70644171&x=3440',
		'title': '',
		'imageId': '70644171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034950';

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