var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973357&x=2643',
		'title': '',
		'imageId': '66973357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973367&x=2643',
		'title': '',
		'imageId': '66973367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973362&x=2643',
		'title': '',
		'imageId': '66973362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973361&x=2643',
		'title': '',
		'imageId': '66973361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973358&x=2643',
		'title': '',
		'imageId': '66973358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973364&x=2643',
		'title': '',
		'imageId': '66973364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973366&x=2643',
		'title': '',
		'imageId': '66973366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973360&x=2643',
		'title': '',
		'imageId': '66973360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973365&x=2643',
		'title': '',
		'imageId': '66973365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973359&x=2643',
		'title': '',
		'imageId': '66973359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015611&docid=66973363&x=2643',
		'title': '',
		'imageId': '66973363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015611';

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