var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968080&x=3957',
		'title': '',
		'imageId': '69968080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968081&x=3957',
		'title': '',
		'imageId': '69968081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968083&x=3957',
		'title': '',
		'imageId': '69968083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968076&x=3957',
		'title': '',
		'imageId': '69968076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968084&x=3957',
		'title': '',
		'imageId': '69968084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968078&x=3957',
		'title': '',
		'imageId': '69968078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968079&x=3957',
		'title': '',
		'imageId': '69968079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968077&x=3957',
		'title': '',
		'imageId': '69968077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010352&docid=69968082&x=3957',
		'title': '',
		'imageId': '69968082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010352';

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