var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080922&x=44',
		'title': '',
		'imageId': '69080922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080923&x=44',
		'title': '',
		'imageId': '69080923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080924&x=44',
		'title': '',
		'imageId': '69080924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080925&x=44',
		'title': '',
		'imageId': '69080925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080926&x=44',
		'title': '',
		'imageId': '69080926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080928&x=44',
		'title': '',
		'imageId': '69080928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080929&x=44',
		'title': '',
		'imageId': '69080929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080930&x=44',
		'title': '',
		'imageId': '69080930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080931&x=44',
		'title': '',
		'imageId': '69080931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080932&x=44',
		'title': '',
		'imageId': '69080932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972355&docid=69080933&x=44',
		'title': '',
		'imageId': '69080933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972355';

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