var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838565&x=4840',
		'title': '',
		'imageId': '69838565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838574&x=4840',
		'title': '',
		'imageId': '69838574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838575&x=4840',
		'title': '',
		'imageId': '69838575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838591&x=4840',
		'title': '',
		'imageId': '69838591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838578&x=4840',
		'title': '',
		'imageId': '69838578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838583&x=4840',
		'title': '',
		'imageId': '69838583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838594&x=4840',
		'title': '',
		'imageId': '69838594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838601&x=4840',
		'title': '',
		'imageId': '69838601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838603&x=4840',
		'title': '',
		'imageId': '69838603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838602&x=4840',
		'title': '',
		'imageId': '69838602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838606&x=4840',
		'title': '',
		'imageId': '69838606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838537&x=4840',
		'title': '',
		'imageId': '69838537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838538&x=4840',
		'title': '',
		'imageId': '69838538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838539&x=4840',
		'title': '',
		'imageId': '69838539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838541&x=4840',
		'title': '',
		'imageId': '69838541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838540&x=4840',
		'title': '',
		'imageId': '69838540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838542&x=4840',
		'title': '',
		'imageId': '69838542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838552&x=4840',
		'title': '',
		'imageId': '69838552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838553&x=4840',
		'title': '',
		'imageId': '69838553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838554&x=4840',
		'title': '',
		'imageId': '69838554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838556&x=4840',
		'title': '',
		'imageId': '69838556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838562&x=4840',
		'title': '',
		'imageId': '69838562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838561&x=4840',
		'title': '',
		'imageId': '69838561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005018&docid=69838572&x=4840',
		'title': '',
		'imageId': '69838572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005018';

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