var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902895&x=5441',
		'title': '',
		'imageId': '69902895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902896&x=5441',
		'title': '',
		'imageId': '69902896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902897&x=5441',
		'title': '',
		'imageId': '69902897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902898&x=5441',
		'title': '',
		'imageId': '69902898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902899&x=5441',
		'title': '',
		'imageId': '69902899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902900&x=5441',
		'title': '',
		'imageId': '69902900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902904&x=5441',
		'title': '',
		'imageId': '69902904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902905&x=5441',
		'title': '',
		'imageId': '69902905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902906&x=5441',
		'title': '',
		'imageId': '69902906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902908&x=5441',
		'title': '',
		'imageId': '69902908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902909&x=5441',
		'title': '',
		'imageId': '69902909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902910&x=5441',
		'title': '',
		'imageId': '69902910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902911&x=5441',
		'title': '',
		'imageId': '69902911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902912&x=5441',
		'title': '',
		'imageId': '69902912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902913&x=5441',
		'title': '',
		'imageId': '69902913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902914&x=5441',
		'title': '',
		'imageId': '69902914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69916493&x=5441',
		'title': '',
		'imageId': '69916493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902915&x=5441',
		'title': '',
		'imageId': '69902915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902916&x=5441',
		'title': '',
		'imageId': '69902916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902917&x=5441',
		'title': '',
		'imageId': '69902917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902918&x=5441',
		'title': '',
		'imageId': '69902918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902919&x=5441',
		'title': '',
		'imageId': '69902919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902920&x=5441',
		'title': '',
		'imageId': '69902920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902921&x=5441',
		'title': '',
		'imageId': '69902921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902922&x=5441',
		'title': '',
		'imageId': '69902922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902923&x=5441',
		'title': '',
		'imageId': '69902923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902925&x=5441',
		'title': '',
		'imageId': '69902925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902926&x=5441',
		'title': '',
		'imageId': '69902926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902927&x=5441',
		'title': '',
		'imageId': '69902927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902928&x=5441',
		'title': '',
		'imageId': '69902928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902924&x=5441',
		'title': '',
		'imageId': '69902924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902929&x=5441',
		'title': '',
		'imageId': '69902929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007737&docid=69902930&x=5441',
		'title': '',
		'imageId': '69902930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007737';

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