var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296907&x=5823',
		'title': '',
		'imageId': '68296907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296900&x=5823',
		'title': '',
		'imageId': '68296900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296910&x=5823',
		'title': '',
		'imageId': '68296910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296911&x=5823',
		'title': '',
		'imageId': '68296911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296914&x=5823',
		'title': '',
		'imageId': '68296914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296915&x=5823',
		'title': '',
		'imageId': '68296915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296913&x=5823',
		'title': '',
		'imageId': '68296913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296912&x=5823',
		'title': '',
		'imageId': '68296912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296918&x=5823',
		'title': '',
		'imageId': '68296918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296921&x=5823',
		'title': '',
		'imageId': '68296921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929832&docid=68296899&x=5823',
		'title': '',
		'imageId': '68296899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929832';

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