var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434413&x=140',
		'title': 'AP-3-33',
		'imageId': '69434413',
		'alt' : 'AP-3-33',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434424&x=140',
		'title': '',
		'imageId': '69434424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434422&x=140',
		'title': '',
		'imageId': '69434422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434426&x=140',
		'title': '',
		'imageId': '69434426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434425&x=140',
		'title': '',
		'imageId': '69434425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434423&x=140',
		'title': '',
		'imageId': '69434423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434427&x=140',
		'title': '',
		'imageId': '69434427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434428&x=140',
		'title': '',
		'imageId': '69434428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434431&x=140',
		'title': '',
		'imageId': '69434431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434429&x=140',
		'title': '',
		'imageId': '69434429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434416&x=140',
		'title': '',
		'imageId': '69434416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434417&x=140',
		'title': '',
		'imageId': '69434417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434419&x=140',
		'title': '',
		'imageId': '69434419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434421&x=140',
		'title': '',
		'imageId': '69434421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434476&x=140',
		'title': '',
		'imageId': '69434476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434478&x=140',
		'title': '',
		'imageId': '69434478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434477&x=140',
		'title': '',
		'imageId': '69434477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434490&x=140',
		'title': '',
		'imageId': '69434490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434492&x=140',
		'title': '',
		'imageId': '69434492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434491&x=140',
		'title': '',
		'imageId': '69434491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434497&x=140',
		'title': '',
		'imageId': '69434497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434498&x=140',
		'title': '',
		'imageId': '69434498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434493&x=140',
		'title': '',
		'imageId': '69434493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434494&x=140',
		'title': '',
		'imageId': '69434494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434496&x=140',
		'title': '',
		'imageId': '69434496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434487&x=140',
		'title': '',
		'imageId': '69434487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434481&x=140',
		'title': '',
		'imageId': '69434481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434479&x=140',
		'title': '',
		'imageId': '69434479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434480&x=140',
		'title': '',
		'imageId': '69434480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434484&x=140',
		'title': '',
		'imageId': '69434484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434482&x=140',
		'title': '',
		'imageId': '69434482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434485&x=140',
		'title': '',
		'imageId': '69434485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434489&x=140',
		'title': '',
		'imageId': '69434489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985036&docid=69434486&x=140',
		'title': '',
		'imageId': '69434486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985036';

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