var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681027&x=159',
		'title': '',
		'imageId': '68681027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681029&x=159',
		'title': '',
		'imageId': '68681029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681030&x=159',
		'title': '',
		'imageId': '68681030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681032&x=159',
		'title': '',
		'imageId': '68681032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681036&x=159',
		'title': '',
		'imageId': '68681036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681042&x=159',
		'title': '',
		'imageId': '68681042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681043&x=159',
		'title': '',
		'imageId': '68681043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681044&x=159',
		'title': '',
		'imageId': '68681044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681047&x=159',
		'title': '',
		'imageId': '68681047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681050&x=159',
		'title': '',
		'imageId': '68681050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954305&docid=68681053&x=159',
		'title': '',
		'imageId': '68681053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954305';

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