var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850528&x=1948',
		'title': '',
		'imageId': '70850528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850525&x=1948',
		'title': '',
		'imageId': '70850525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850526&x=1948',
		'title': '',
		'imageId': '70850526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850524&x=1948',
		'title': '',
		'imageId': '70850524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850527&x=1948',
		'title': '',
		'imageId': '70850527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850529&x=1948',
		'title': '',
		'imageId': '70850529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850530&x=1948',
		'title': '',
		'imageId': '70850530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850531&x=1948',
		'title': '',
		'imageId': '70850531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850532&x=1948',
		'title': '',
		'imageId': '70850532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850533&x=1948',
		'title': '',
		'imageId': '70850533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850534&x=1948',
		'title': '',
		'imageId': '70850534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850535&x=1948',
		'title': '',
		'imageId': '70850535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850536&x=1948',
		'title': '',
		'imageId': '70850536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850537&x=1948',
		'title': '',
		'imageId': '70850537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850539&x=1948',
		'title': '',
		'imageId': '70850539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850543&x=1948',
		'title': '',
		'imageId': '70850543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850540&x=1948',
		'title': '',
		'imageId': '70850540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850538&x=1948',
		'title': '',
		'imageId': '70850538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850542&x=1948',
		'title': '',
		'imageId': '70850542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044378&docid=70850541&x=1948',
		'title': '',
		'imageId': '70850541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044378';

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