var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900165&x=4214',
		'title': '',
		'imageId': '68900165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900167&x=4214',
		'title': '',
		'imageId': '68900167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900168&x=4214',
		'title': '',
		'imageId': '68900168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900169&x=4214',
		'title': '',
		'imageId': '68900169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900170&x=4214',
		'title': '',
		'imageId': '68900170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900171&x=4214',
		'title': '',
		'imageId': '68900171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900172&x=4214',
		'title': '',
		'imageId': '68900172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900173&x=4214',
		'title': '',
		'imageId': '68900173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900174&x=4214',
		'title': '',
		'imageId': '68900174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900175&x=4214',
		'title': '',
		'imageId': '68900175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900176&x=4214',
		'title': '',
		'imageId': '68900176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900177&x=4214',
		'title': '',
		'imageId': '68900177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900178&x=4214',
		'title': '',
		'imageId': '68900178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900179&x=4214',
		'title': '',
		'imageId': '68900179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900180&x=4214',
		'title': '',
		'imageId': '68900180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900181&x=4214',
		'title': '',
		'imageId': '68900181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900182&x=4214',
		'title': '',
		'imageId': '68900182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900183&x=4214',
		'title': '',
		'imageId': '68900183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900184&x=4214',
		'title': '',
		'imageId': '68900184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900185&x=4214',
		'title': '',
		'imageId': '68900185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900186&x=4214',
		'title': '',
		'imageId': '68900186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900187&x=4214',
		'title': '',
		'imageId': '68900187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963886&docid=68900188&x=4214',
		'title': '',
		'imageId': '68900188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963886';

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