var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941767&x=818',
		'title': '',
		'imageId': '68941767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941768&x=818',
		'title': '',
		'imageId': '68941768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941766&x=818',
		'title': '',
		'imageId': '68941766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941769&x=818',
		'title': '',
		'imageId': '68941769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941770&x=818',
		'title': '',
		'imageId': '68941770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941771&x=818',
		'title': '',
		'imageId': '68941771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941772&x=818',
		'title': '',
		'imageId': '68941772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941773&x=818',
		'title': '',
		'imageId': '68941773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941774&x=818',
		'title': '',
		'imageId': '68941774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=68941775&x=818',
		'title': '',
		'imageId': '68941775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965652&docid=69259058&x=818',
		'title': '',
		'imageId': '69259058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965652';

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