var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419968&x=918',
		'title': '',
		'imageId': '68419968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419971&x=918',
		'title': '',
		'imageId': '68419971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419972&x=918',
		'title': '',
		'imageId': '68419972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419962&x=918',
		'title': '',
		'imageId': '68419962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419964&x=918',
		'title': '',
		'imageId': '68419964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419966&x=918',
		'title': '',
		'imageId': '68419966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419970&x=918',
		'title': '',
		'imageId': '68419970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419967&x=918',
		'title': '',
		'imageId': '68419967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419969&x=918',
		'title': '',
		'imageId': '68419969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419973&x=918',
		'title': '',
		'imageId': '68419973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419974&x=918',
		'title': '',
		'imageId': '68419974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419980&x=918',
		'title': '',
		'imageId': '68419980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419979&x=918',
		'title': '',
		'imageId': '68419979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419982&x=918',
		'title': '',
		'imageId': '68419982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419977&x=918',
		'title': '',
		'imageId': '68419977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419983&x=918',
		'title': '',
		'imageId': '68419983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419978&x=918',
		'title': '',
		'imageId': '68419978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419981&x=918',
		'title': '',
		'imageId': '68419981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419984&x=918',
		'title': '',
		'imageId': '68419984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419963&x=918',
		'title': '',
		'imageId': '68419963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419965&x=918',
		'title': '',
		'imageId': '68419965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419975&x=918',
		'title': '',
		'imageId': '68419975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68419976&x=918',
		'title': '',
		'imageId': '68419976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943279&docid=68420067&x=918',
		'title': '',
		'imageId': '68420067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943279';

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