var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70869121&x=239',
		'title': '',
		'imageId': '70869121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70869122&x=239',
		'title': '',
		'imageId': '70869122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868629&x=239',
		'title': '',
		'imageId': '70868629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868627&x=239',
		'title': '',
		'imageId': '70868627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868625&x=239',
		'title': '',
		'imageId': '70868625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868626&x=239',
		'title': '',
		'imageId': '70868626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868628&x=239',
		'title': '',
		'imageId': '70868628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868892&x=239',
		'title': '',
		'imageId': '70868892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868893&x=239',
		'title': '',
		'imageId': '70868893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70868891&x=239',
		'title': '',
		'imageId': '70868891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044884&docid=70869123&x=239',
		'title': '',
		'imageId': '70869123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044884';

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