var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043076&x=2138',
		'title': '',
		'imageId': '70043076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043066&x=2138',
		'title': '',
		'imageId': '70043066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043071&x=2138',
		'title': '',
		'imageId': '70043071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043070&x=2138',
		'title': '',
		'imageId': '70043070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043069&x=2138',
		'title': '',
		'imageId': '70043069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043080&x=2138',
		'title': '',
		'imageId': '70043080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043077&x=2138',
		'title': '',
		'imageId': '70043077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043064&x=2138',
		'title': '',
		'imageId': '70043064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043073&x=2138',
		'title': '',
		'imageId': '70043073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043075&x=2138',
		'title': '',
		'imageId': '70043075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043079&x=2138',
		'title': '',
		'imageId': '70043079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043067&x=2138',
		'title': '',
		'imageId': '70043067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043065&x=2138',
		'title': '',
		'imageId': '70043065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043068&x=2138',
		'title': '',
		'imageId': '70043068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043078&x=2138',
		'title': '',
		'imageId': '70043078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043072&x=2138',
		'title': '',
		'imageId': '70043072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013392&docid=70043074&x=2138',
		'title': '',
		'imageId': '70043074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013392';

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