var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352549&x=167',
		'title': '',
		'imageId': '70352549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352562&x=167',
		'title': '',
		'imageId': '70352562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352577&x=167',
		'title': '',
		'imageId': '70352577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352578&x=167',
		'title': '',
		'imageId': '70352578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352579&x=167',
		'title': '',
		'imageId': '70352579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352580&x=167',
		'title': '',
		'imageId': '70352580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352581&x=167',
		'title': '',
		'imageId': '70352581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4025923&docid=70352582&x=167',
		'title': '',
		'imageId': '70352582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4025923';

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