var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018092&x=5753',
		'title': '',
		'imageId': '71018092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018095&x=5753',
		'title': '',
		'imageId': '71018095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018093&x=5753',
		'title': '',
		'imageId': '71018093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018091&x=5753',
		'title': '',
		'imageId': '71018091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018096&x=5753',
		'title': '',
		'imageId': '71018096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058398&docid=71018094&x=5753',
		'title': '',
		'imageId': '71018094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058398';

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