var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969954&x=3623',
		'title': '',
		'imageId': '69969954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969957&x=3623',
		'title': '',
		'imageId': '69969957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969960&x=3623',
		'title': '',
		'imageId': '69969960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969963&x=3623',
		'title': '',
		'imageId': '69969963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969966&x=3623',
		'title': '',
		'imageId': '69969966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969969&x=3623',
		'title': '',
		'imageId': '69969969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969972&x=3623',
		'title': '',
		'imageId': '69969972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969982&x=3623',
		'title': '',
		'imageId': '69969982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969991&x=3623',
		'title': '',
		'imageId': '69969991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69969998&x=3623',
		'title': '',
		'imageId': '69969998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970002&x=3623',
		'title': '',
		'imageId': '69970002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970008&x=3623',
		'title': '',
		'imageId': '69970008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970011&x=3623',
		'title': '',
		'imageId': '69970011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970014&x=3623',
		'title': '',
		'imageId': '69970014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970017&x=3623',
		'title': '',
		'imageId': '69970017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010442&docid=69970020&x=3623',
		'title': '',
		'imageId': '69970020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010442';

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