var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859530&x=223',
		'title': '',
		'imageId': '68859530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859529&x=223',
		'title': '',
		'imageId': '68859529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859521&x=223',
		'title': '',
		'imageId': '68859521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859525&x=223',
		'title': '',
		'imageId': '68859525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859523&x=223',
		'title': '',
		'imageId': '68859523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859524&x=223',
		'title': '',
		'imageId': '68859524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859520&x=223',
		'title': '',
		'imageId': '68859520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859519&x=223',
		'title': '',
		'imageId': '68859519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859522&x=223',
		'title': '',
		'imageId': '68859522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859526&x=223',
		'title': '',
		'imageId': '68859526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859527&x=223',
		'title': '',
		'imageId': '68859527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962237&docid=68859528&x=223',
		'title': '',
		'imageId': '68859528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962237';

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