var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861445&x=5940',
		'title': '',
		'imageId': '69861445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861440&x=5940',
		'title': '',
		'imageId': '69861440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861444&x=5940',
		'title': '',
		'imageId': '69861444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861451&x=5940',
		'title': '',
		'imageId': '69861451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861436&x=5940',
		'title': '',
		'imageId': '69861436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861438&x=5940',
		'title': '',
		'imageId': '69861438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861448&x=5940',
		'title': '',
		'imageId': '69861448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861453&x=5940',
		'title': '',
		'imageId': '69861453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861446&x=5940',
		'title': '',
		'imageId': '69861446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861449&x=5940',
		'title': '',
		'imageId': '69861449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861450&x=5940',
		'title': '',
		'imageId': '69861450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861452&x=5940',
		'title': '',
		'imageId': '69861452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861437&x=5940',
		'title': '',
		'imageId': '69861437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861447&x=5940',
		'title': '',
		'imageId': '69861447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861439&x=5940',
		'title': '',
		'imageId': '69861439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861442&x=5940',
		'title': '',
		'imageId': '69861442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861454&x=5940',
		'title': '',
		'imageId': '69861454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861441&x=5940',
		'title': '',
		'imageId': '69861441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861443&x=5940',
		'title': '',
		'imageId': '69861443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=69861435&x=5940',
		'title': '',
		'imageId': '69861435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=59270654&x=5940',
		'title': '',
		'imageId': '59270654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006128&docid=59270653&x=5940',
		'title': '',
		'imageId': '59270653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006128';

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