var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352314&x=166',
		'title': '',
		'imageId': '70352314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352315&x=166',
		'title': '',
		'imageId': '70352315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352316&x=166',
		'title': '',
		'imageId': '70352316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352318&x=166',
		'title': '',
		'imageId': '70352318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352321&x=166',
		'title': '',
		'imageId': '70352321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352360&x=166',
		'title': '',
		'imageId': '70352360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352371&x=166',
		'title': '',
		'imageId': '70352371',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025910&docid=70352373&x=166',
		'title': '',
		'imageId': '70352373',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025910';

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