var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923624&x=3846',
		'title': '',
		'imageId': '69923624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923607&x=3846',
		'title': '',
		'imageId': '69923607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923628&x=3846',
		'title': '',
		'imageId': '69923628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923625&x=3846',
		'title': '',
		'imageId': '69923625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923606&x=3846',
		'title': '',
		'imageId': '69923606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923618&x=3846',
		'title': '',
		'imageId': '69923618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923629&x=3846',
		'title': '',
		'imageId': '69923629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923621&x=3846',
		'title': '',
		'imageId': '69923621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923622&x=3846',
		'title': '',
		'imageId': '69923622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923612&x=3846',
		'title': '',
		'imageId': '69923612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923611&x=3846',
		'title': '',
		'imageId': '69923611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923617&x=3846',
		'title': '',
		'imageId': '69923617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923620&x=3846',
		'title': '',
		'imageId': '69923620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923619&x=3846',
		'title': '',
		'imageId': '69923619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923613&x=3846',
		'title': '',
		'imageId': '69923613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923626&x=3846',
		'title': '',
		'imageId': '69923626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923610&x=3846',
		'title': '',
		'imageId': '69923610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923616&x=3846',
		'title': '',
		'imageId': '69923616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923608&x=3846',
		'title': '',
		'imageId': '69923608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923614&x=3846',
		'title': '',
		'imageId': '69923614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923609&x=3846',
		'title': '',
		'imageId': '69923609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923627&x=3846',
		'title': '',
		'imageId': '69923627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923623&x=3846',
		'title': '',
		'imageId': '69923623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008491&docid=69923615&x=3846',
		'title': '',
		'imageId': '69923615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008491';

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