var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141615&x=56',
		'title': '',
		'imageId': '69141615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141611&x=56',
		'title': '',
		'imageId': '69141611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141616&x=56',
		'title': '',
		'imageId': '69141616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141610&x=56',
		'title': '',
		'imageId': '69141610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141608&x=56',
		'title': '',
		'imageId': '69141608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141609&x=56',
		'title': '',
		'imageId': '69141609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141607&x=56',
		'title': '',
		'imageId': '69141607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141612&x=56',
		'title': '',
		'imageId': '69141612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141613&x=56',
		'title': '',
		'imageId': '69141613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141606&x=56',
		'title': '',
		'imageId': '69141606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974817&docid=69141614&x=56',
		'title': '',
		'imageId': '69141614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974817';

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