var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969908&x=413',
		'title': '',
		'imageId': '67969908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969909&x=413',
		'title': '',
		'imageId': '67969909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969912&x=413',
		'title': '',
		'imageId': '67969912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969913&x=413',
		'title': '',
		'imageId': '67969913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969917&x=413',
		'title': '',
		'imageId': '67969917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969916&x=413',
		'title': '',
		'imageId': '67969916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969914&x=413',
		'title': '',
		'imageId': '67969914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969911&x=413',
		'title': '',
		'imageId': '67969911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969910&x=413',
		'title': '',
		'imageId': '67969910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969918&x=413',
		'title': '',
		'imageId': '67969918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969915&x=413',
		'title': '',
		'imageId': '67969915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922911&docid=67969919&x=413',
		'title': '',
		'imageId': '67969919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922911';

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