var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917968&x=4459',
		'title': '',
		'imageId': '69917968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917969&x=4459',
		'title': '',
		'imageId': '69917969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917970&x=4459',
		'title': '',
		'imageId': '69917970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917971&x=4459',
		'title': '',
		'imageId': '69917971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917972&x=4459',
		'title': '',
		'imageId': '69917972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917974&x=4459',
		'title': '',
		'imageId': '69917974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917973&x=4459',
		'title': '',
		'imageId': '69917973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917978&x=4459',
		'title': '',
		'imageId': '69917978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917975&x=4459',
		'title': '',
		'imageId': '69917975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917976&x=4459',
		'title': '',
		'imageId': '69917976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008344&docid=69917977&x=4459',
		'title': '',
		'imageId': '69917977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008344';

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