var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230966&x=1113',
		'title': '',
		'imageId': '68230966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230967&x=1113',
		'title': '',
		'imageId': '68230967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230969&x=1113',
		'title': '',
		'imageId': '68230969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230971&x=1113',
		'title': '',
		'imageId': '68230971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230970&x=1113',
		'title': '',
		'imageId': '68230970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230972&x=1113',
		'title': '',
		'imageId': '68230972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230973&x=1113',
		'title': '',
		'imageId': '68230973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230974&x=1113',
		'title': '',
		'imageId': '68230974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230977&x=1113',
		'title': '',
		'imageId': '68230977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68230976&x=1113',
		'title': '',
		'imageId': '68230976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936207&docid=68229867&x=1113',
		'title': '',
		'imageId': '68229867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936207';

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