var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900141&x=3350',
		'title': '',
		'imageId': '68900141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900143&x=3350',
		'title': '',
		'imageId': '68900143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900144&x=3350',
		'title': '',
		'imageId': '68900144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900145&x=3350',
		'title': '',
		'imageId': '68900145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900146&x=3350',
		'title': '',
		'imageId': '68900146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900147&x=3350',
		'title': '',
		'imageId': '68900147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900148&x=3350',
		'title': '',
		'imageId': '68900148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900149&x=3350',
		'title': '',
		'imageId': '68900149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900150&x=3350',
		'title': '',
		'imageId': '68900150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900151&x=3350',
		'title': '',
		'imageId': '68900151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900152&x=3350',
		'title': '',
		'imageId': '68900152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900153&x=3350',
		'title': '',
		'imageId': '68900153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900154&x=3350',
		'title': '',
		'imageId': '68900154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900155&x=3350',
		'title': '',
		'imageId': '68900155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900156&x=3350',
		'title': '',
		'imageId': '68900156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900157&x=3350',
		'title': '',
		'imageId': '68900157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900158&x=3350',
		'title': '',
		'imageId': '68900158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900159&x=3350',
		'title': '',
		'imageId': '68900159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900160&x=3350',
		'title': '',
		'imageId': '68900160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900161&x=3350',
		'title': '',
		'imageId': '68900161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900162&x=3350',
		'title': '',
		'imageId': '68900162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900163&x=3350',
		'title': '',
		'imageId': '68900163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963885&docid=68900164&x=3350',
		'title': '',
		'imageId': '68900164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963885';

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