var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866234&x=1118',
		'title': '',
		'imageId': '68866234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866241&x=1118',
		'title': '',
		'imageId': '68866241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866242&x=1118',
		'title': '',
		'imageId': '68866242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866240&x=1118',
		'title': '',
		'imageId': '68866240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866211&x=1118',
		'title': '',
		'imageId': '68866211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866215&x=1118',
		'title': '',
		'imageId': '68866215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866227&x=1118',
		'title': '',
		'imageId': '68866227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866210&x=1118',
		'title': '',
		'imageId': '68866210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866212&x=1118',
		'title': '',
		'imageId': '68866212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866226&x=1118',
		'title': '',
		'imageId': '68866226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866213&x=1118',
		'title': '',
		'imageId': '68866213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866230&x=1118',
		'title': '',
		'imageId': '68866230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866223&x=1118',
		'title': '',
		'imageId': '68866223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866214&x=1118',
		'title': '',
		'imageId': '68866214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866222&x=1118',
		'title': '',
		'imageId': '68866222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866251&x=1118',
		'title': '',
		'imageId': '68866251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866259&x=1118',
		'title': '',
		'imageId': '68866259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866262&x=1118',
		'title': '',
		'imageId': '68866262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866263&x=1118',
		'title': '',
		'imageId': '68866263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866266&x=1118',
		'title': '',
		'imageId': '68866266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866270&x=1118',
		'title': '',
		'imageId': '68866270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866273&x=1118',
		'title': '',
		'imageId': '68866273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68866245&x=1118',
		'title': '',
		'imageId': '68866245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962492&docid=68884444&x=1118',
		'title': '',
		'imageId': '68884444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962492';

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