var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441848&x=2235',
		'title': '',
		'imageId': '71441848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441852&x=2235',
		'title': '',
		'imageId': '71441852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441855&x=2235',
		'title': '',
		'imageId': '71441855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441858&x=2235',
		'title': '',
		'imageId': '71441858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441864&x=2235',
		'title': '',
		'imageId': '71441864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441881&x=2235',
		'title': '',
		'imageId': '71441881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441884&x=2235',
		'title': '',
		'imageId': '71441884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441887&x=2235',
		'title': '',
		'imageId': '71441887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441892&x=2235',
		'title': '',
		'imageId': '71441892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71441895&x=2235',
		'title': '',
		'imageId': '71441895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069324&docid=71521980&x=2235',
		'title': '',
		'imageId': '71521980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069324';

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