var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980360&x=5553',
		'title': '',
		'imageId': '69980360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980368&x=5553',
		'title': '',
		'imageId': '69980368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980376&x=5553',
		'title': '',
		'imageId': '69980376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980353&x=5553',
		'title': '',
		'imageId': '69980353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980355&x=5553',
		'title': '',
		'imageId': '69980355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980361&x=5553',
		'title': '',
		'imageId': '69980361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980356&x=5553',
		'title': '',
		'imageId': '69980356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980370&x=5553',
		'title': '',
		'imageId': '69980370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980359&x=5553',
		'title': '',
		'imageId': '69980359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980371&x=5553',
		'title': '',
		'imageId': '69980371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980373&x=5553',
		'title': '',
		'imageId': '69980373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980357&x=5553',
		'title': '',
		'imageId': '69980357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980364&x=5553',
		'title': '',
		'imageId': '69980364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980367&x=5553',
		'title': '',
		'imageId': '69980367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980358&x=5553',
		'title': '',
		'imageId': '69980358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980365&x=5553',
		'title': '',
		'imageId': '69980365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980369&x=5553',
		'title': '',
		'imageId': '69980369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980372&x=5553',
		'title': '',
		'imageId': '69980372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980366&x=5553',
		'title': '',
		'imageId': '69980366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980375&x=5553',
		'title': '',
		'imageId': '69980375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980362&x=5553',
		'title': '',
		'imageId': '69980362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980363&x=5553',
		'title': '',
		'imageId': '69980363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980374&x=5553',
		'title': '',
		'imageId': '69980374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010822&docid=69980354&x=5553',
		'title': '',
		'imageId': '69980354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010822';

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