var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986127&x=122',
		'title': '',
		'imageId': '68986127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986128&x=122',
		'title': '',
		'imageId': '68986128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986129&x=122',
		'title': '',
		'imageId': '68986129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986130&x=122',
		'title': '',
		'imageId': '68986130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986131&x=122',
		'title': '',
		'imageId': '68986131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986132&x=122',
		'title': '',
		'imageId': '68986132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986133&x=122',
		'title': '',
		'imageId': '68986133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986134&x=122',
		'title': '',
		'imageId': '68986134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986135&x=122',
		'title': '',
		'imageId': '68986135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986136&x=122',
		'title': '',
		'imageId': '68986136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986137&x=122',
		'title': '',
		'imageId': '68986137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986138&x=122',
		'title': '',
		'imageId': '68986138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986139&x=122',
		'title': '',
		'imageId': '68986139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986140&x=122',
		'title': '',
		'imageId': '68986140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986141&x=122',
		'title': '',
		'imageId': '68986141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986142&x=122',
		'title': '',
		'imageId': '68986142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986144&x=122',
		'title': '',
		'imageId': '68986144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986151&x=122',
		'title': '',
		'imageId': '68986151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986152&x=122',
		'title': '',
		'imageId': '68986152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986153&x=122',
		'title': '',
		'imageId': '68986153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986154&x=122',
		'title': '',
		'imageId': '68986154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966986&docid=68986155&x=122',
		'title': '',
		'imageId': '68986155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966986';

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