var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626307&x=175',
		'title': '',
		'imageId': '70626307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626318&x=175',
		'title': '',
		'imageId': '70626318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626324&x=175',
		'title': '',
		'imageId': '70626324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626329&x=175',
		'title': '',
		'imageId': '70626329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626333&x=175',
		'title': '',
		'imageId': '70626333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626339&x=175',
		'title': '',
		'imageId': '70626339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626344&x=175',
		'title': '',
		'imageId': '70626344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626350&x=175',
		'title': '',
		'imageId': '70626350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626355&x=175',
		'title': '',
		'imageId': '70626355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626360&x=175',
		'title': '',
		'imageId': '70626360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036220&docid=70626365&x=175',
		'title': '',
		'imageId': '70626365',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036220';

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