var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951235&x=3134',
		'title': '',
		'imageId': '71951235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951239&x=3134',
		'title': '',
		'imageId': '71951239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951238&x=3134',
		'title': '',
		'imageId': '71951238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951233&x=3134',
		'title': '',
		'imageId': '71951233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951236&x=3134',
		'title': '',
		'imageId': '71951236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951232&x=3134',
		'title': '',
		'imageId': '71951232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951240&x=3134',
		'title': '',
		'imageId': '71951240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951234&x=3134',
		'title': '',
		'imageId': '71951234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951241&x=3134',
		'title': '',
		'imageId': '71951241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951237&x=3134',
		'title': '',
		'imageId': '71951237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089897&docid=71951242&x=3134',
		'title': '',
		'imageId': '71951242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089897';

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