var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320907&x=1828',
		'title': '',
		'imageId': '70320907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320910&x=1828',
		'title': '',
		'imageId': '70320910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320908&x=1828',
		'title': '',
		'imageId': '70320908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320906&x=1828',
		'title': '',
		'imageId': '70320906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320904&x=1828',
		'title': '',
		'imageId': '70320904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320905&x=1828',
		'title': '',
		'imageId': '70320905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320903&x=1828',
		'title': '',
		'imageId': '70320903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320909&x=1828',
		'title': '',
		'imageId': '70320909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4024583&docid=70320911&x=1828',
		'title': '',
		'imageId': '70320911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4024583';

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