var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902290&x=5440',
		'title': '',
		'imageId': '69902290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902291&x=5440',
		'title': '',
		'imageId': '69902291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902292&x=5440',
		'title': '',
		'imageId': '69902292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902293&x=5440',
		'title': '',
		'imageId': '69902293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902294&x=5440',
		'title': '',
		'imageId': '69902294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902295&x=5440',
		'title': '',
		'imageId': '69902295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902296&x=5440',
		'title': '',
		'imageId': '69902296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902297&x=5440',
		'title': '',
		'imageId': '69902297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902298&x=5440',
		'title': '',
		'imageId': '69902298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902299&x=5440',
		'title': '',
		'imageId': '69902299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902300&x=5440',
		'title': '',
		'imageId': '69902300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902301&x=5440',
		'title': '',
		'imageId': '69902301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902302&x=5440',
		'title': '',
		'imageId': '69902302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902303&x=5440',
		'title': '',
		'imageId': '69902303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902304&x=5440',
		'title': '',
		'imageId': '69902304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902306&x=5440',
		'title': '',
		'imageId': '69902306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902308&x=5440',
		'title': '',
		'imageId': '69902308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902310&x=5440',
		'title': '',
		'imageId': '69902310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902312&x=5440',
		'title': '',
		'imageId': '69902312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902313&x=5440',
		'title': '',
		'imageId': '69902313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902314&x=5440',
		'title': '',
		'imageId': '69902314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902315&x=5440',
		'title': '',
		'imageId': '69902315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902316&x=5440',
		'title': '',
		'imageId': '69902316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902317&x=5440',
		'title': '',
		'imageId': '69902317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902319&x=5440',
		'title': '',
		'imageId': '69902319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902320&x=5440',
		'title': '',
		'imageId': '69902320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902321&x=5440',
		'title': '',
		'imageId': '69902321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902322&x=5440',
		'title': '',
		'imageId': '69902322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902323&x=5440',
		'title': '',
		'imageId': '69902323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902347&x=5440',
		'title': '',
		'imageId': '69902347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902318&x=5440',
		'title': '',
		'imageId': '69902318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902375&x=5440',
		'title': '',
		'imageId': '69902375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007723&docid=69902395&x=5440',
		'title': '',
		'imageId': '69902395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007723';

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