var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005773&x=2810',
		'title': '',
		'imageId': '68005773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005776&x=2810',
		'title': '',
		'imageId': '68005776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005772&x=2810',
		'title': '',
		'imageId': '68005772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005774&x=2810',
		'title': '',
		'imageId': '68005774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005777&x=2810',
		'title': '',
		'imageId': '68005777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005778&x=2810',
		'title': '',
		'imageId': '68005778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923418&docid=68005775&x=2810',
		'title': '',
		'imageId': '68005775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923418';

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