var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346146&x=828',
		'title': '',
		'imageId': '68346146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346156&x=828',
		'title': '',
		'imageId': '68346156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346151&x=828',
		'title': '',
		'imageId': '68346151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346160&x=828',
		'title': '',
		'imageId': '68346160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346157&x=828',
		'title': '',
		'imageId': '68346157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346158&x=828',
		'title': '',
		'imageId': '68346158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346159&x=828',
		'title': '',
		'imageId': '68346159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346147&x=828',
		'title': '',
		'imageId': '68346147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346154&x=828',
		'title': '',
		'imageId': '68346154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346161&x=828',
		'title': '',
		'imageId': '68346161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346155&x=828',
		'title': '',
		'imageId': '68346155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346141&x=828',
		'title': '',
		'imageId': '68346141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346143&x=828',
		'title': '',
		'imageId': '68346143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346149&x=828',
		'title': '',
		'imageId': '68346149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346142&x=828',
		'title': '',
		'imageId': '68346142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346153&x=828',
		'title': '',
		'imageId': '68346153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346144&x=828',
		'title': '',
		'imageId': '68346144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346152&x=828',
		'title': '',
		'imageId': '68346152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346145&x=828',
		'title': '',
		'imageId': '68346145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346148&x=828',
		'title': '',
		'imageId': '68346148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346150&x=828',
		'title': '',
		'imageId': '68346150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939269&docid=68346817&x=828',
		'title': '',
		'imageId': '68346817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939269';

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