var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963479&x=4637',
		'title': '',
		'imageId': '68963479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963478&x=4637',
		'title': '',
		'imageId': '68963478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963485&x=4637',
		'title': '',
		'imageId': '68963485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963486&x=4637',
		'title': '',
		'imageId': '68963486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963488&x=4637',
		'title': '',
		'imageId': '68963488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963481&x=4637',
		'title': '',
		'imageId': '68963481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963484&x=4637',
		'title': '',
		'imageId': '68963484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963482&x=4637',
		'title': '',
		'imageId': '68963482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963480&x=4637',
		'title': '',
		'imageId': '68963480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963483&x=4637',
		'title': '',
		'imageId': '68963483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966585&docid=68963487&x=4637',
		'title': '',
		'imageId': '68963487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966585';

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