var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=70600499&x=837',
		'title': '',
		'imageId': '70600499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=70600506&x=837',
		'title': '',
		'imageId': '70600506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203803&x=837',
		'title': '',
		'imageId': '71203803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203809&x=837',
		'title': '',
		'imageId': '71203809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203807&x=837',
		'title': '',
		'imageId': '71203807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203806&x=837',
		'title': '',
		'imageId': '71203806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203808&x=837',
		'title': '',
		'imageId': '71203808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203804&x=837',
		'title': '',
		'imageId': '71203804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033051&docid=71203805&x=837',
		'title': '',
		'imageId': '71203805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033051';

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