var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117570&x=337',
		'title': '',
		'imageId': '68117570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117564&x=337',
		'title': '',
		'imageId': '68117564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117569&x=337',
		'title': '',
		'imageId': '68117569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117567&x=337',
		'title': '',
		'imageId': '68117567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117572&x=337',
		'title': '',
		'imageId': '68117572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117571&x=337',
		'title': '',
		'imageId': '68117571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117568&x=337',
		'title': '',
		'imageId': '68117568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117566&x=337',
		'title': '',
		'imageId': '68117566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117574&x=337',
		'title': '',
		'imageId': '68117574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117573&x=337',
		'title': '',
		'imageId': '68117573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117565&x=337',
		'title': '',
		'imageId': '68117565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928838&docid=68117563&x=337',
		'title': '',
		'imageId': '68117563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928838';

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