var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886611&x=2019',
		'title': '',
		'imageId': '66886611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886612&x=2019',
		'title': '',
		'imageId': '66886612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886613&x=2019',
		'title': '',
		'imageId': '66886613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886610&x=2019',
		'title': '',
		'imageId': '66886610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886614&x=2019',
		'title': '',
		'imageId': '66886614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886616&x=2019',
		'title': '',
		'imageId': '66886616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886617&x=2019',
		'title': '',
		'imageId': '66886617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886618&x=2019',
		'title': '',
		'imageId': '66886618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880310&docid=66886619&x=2019',
		'title': '',
		'imageId': '66886619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880310';

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