var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71367665&x=1429',
		'title': '',
		'imageId': '71367665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71367650&x=1429',
		'title': '',
		'imageId': '71367650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71367712&x=1429',
		'title': '',
		'imageId': '71367712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71367616&x=1429',
		'title': '',
		'imageId': '71367616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71367750&x=1429',
		'title': '',
		'imageId': '71367750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71422636&x=1429',
		'title': '',
		'imageId': '71422636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71422639&x=1429',
		'title': '',
		'imageId': '71422639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71422657&x=1429',
		'title': '',
		'imageId': '71422657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065182&docid=71422663&x=1429',
		'title': '',
		'imageId': '71422663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4065182';

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