var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424212&x=4510',
		'title': '',
		'imageId': '70424212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424210&x=4510',
		'title': '',
		'imageId': '70424210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424208&x=4510',
		'title': '',
		'imageId': '70424208',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424207&x=4510',
		'title': '',
		'imageId': '70424207',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424209&x=4510',
		'title': '',
		'imageId': '70424209',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424213&x=4510',
		'title': '',
		'imageId': '70424213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424216&x=4510',
		'title': '',
		'imageId': '70424216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424211&x=4510',
		'title': '',
		'imageId': '70424211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028807&docid=70424215&x=4510',
		'title': '',
		'imageId': '70424215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028807';

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