var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061103&x=3030',
		'title': '',
		'imageId': '68061103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061101&x=3030',
		'title': '',
		'imageId': '68061101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061102&x=3030',
		'title': '',
		'imageId': '68061102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061104&x=3030',
		'title': '',
		'imageId': '68061104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061105&x=3030',
		'title': '',
		'imageId': '68061105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061106&x=3030',
		'title': '',
		'imageId': '68061106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061107&x=3030',
		'title': '',
		'imageId': '68061107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061108&x=3030',
		'title': '',
		'imageId': '68061108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926851&docid=68061109&x=3030',
		'title': '',
		'imageId': '68061109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926851';

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