var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255598&x=1325',
		'title': '',
		'imageId': '69255598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255606&x=1325',
		'title': '',
		'imageId': '69255606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255609&x=1325',
		'title': '',
		'imageId': '69255609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255611&x=1325',
		'title': '',
		'imageId': '69255611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255610&x=1325',
		'title': '',
		'imageId': '69255610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69135300&x=1325',
		'title': '',
		'imageId': '69135300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255605&x=1325',
		'title': '',
		'imageId': '69255605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255608&x=1325',
		'title': '',
		'imageId': '69255608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255623&x=1325',
		'title': '',
		'imageId': '69255623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255600&x=1325',
		'title': '',
		'imageId': '69255600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255599&x=1325',
		'title': '',
		'imageId': '69255599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255601&x=1325',
		'title': '',
		'imageId': '69255601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255602&x=1325',
		'title': '',
		'imageId': '69255602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255613&x=1325',
		'title': '',
		'imageId': '69255613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255614&x=1325',
		'title': '',
		'imageId': '69255614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255617&x=1325',
		'title': '',
		'imageId': '69255617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255618&x=1325',
		'title': '',
		'imageId': '69255618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255616&x=1325',
		'title': '',
		'imageId': '69255616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255619&x=1325',
		'title': '',
		'imageId': '69255619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255630&x=1325',
		'title': '',
		'imageId': '69255630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255621&x=1325',
		'title': '',
		'imageId': '69255621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255620&x=1325',
		'title': '',
		'imageId': '69255620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255604&x=1325',
		'title': '',
		'imageId': '69255604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255603&x=1325',
		'title': '',
		'imageId': '69255603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255628&x=1325',
		'title': '',
		'imageId': '69255628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255625&x=1325',
		'title': '',
		'imageId': '69255625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255622&x=1325',
		'title': '',
		'imageId': '69255622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255626&x=1325',
		'title': '',
		'imageId': '69255626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255627&x=1325',
		'title': '',
		'imageId': '69255627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255624&x=1325',
		'title': '',
		'imageId': '69255624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255629&x=1325',
		'title': '',
		'imageId': '69255629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255631&x=1325',
		'title': '',
		'imageId': '69255631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255612&x=1325',
		'title': '',
		'imageId': '69255612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255607&x=1325',
		'title': '',
		'imageId': '69255607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998444&docid=69255615&x=1325',
		'title': '',
		'imageId': '69255615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998444';

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