var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871293&x=4252',
		'title': '',
		'imageId': '69871293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871292&x=4252',
		'title': '',
		'imageId': '69871292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871289&x=4252',
		'title': '',
		'imageId': '69871289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871291&x=4252',
		'title': '',
		'imageId': '69871291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871295&x=4252',
		'title': '',
		'imageId': '69871295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871290&x=4252',
		'title': '',
		'imageId': '69871290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006547&docid=69871294&x=4252',
		'title': '',
		'imageId': '69871294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006547';

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