var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392567&x=5953',
		'title': '',
		'imageId': '68392567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392568&x=5953',
		'title': '',
		'imageId': '68392568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392570&x=5953',
		'title': '',
		'imageId': '68392570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392569&x=5953',
		'title': '',
		'imageId': '68392569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392573&x=5953',
		'title': '',
		'imageId': '68392573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392571&x=5953',
		'title': '',
		'imageId': '68392571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392566&x=5953',
		'title': '',
		'imageId': '68392566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392574&x=5953',
		'title': '',
		'imageId': '68392574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392572&x=5953',
		'title': '',
		'imageId': '68392572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948957&docid=68392565&x=5953',
		'title': '',
		'imageId': '68392565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948957';

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