var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144830&x=4311',
		'title': '',
		'imageId': '69144830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144831&x=4311',
		'title': '',
		'imageId': '69144831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144850&x=4311',
		'title': '',
		'imageId': '69144850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144914&x=4311',
		'title': '',
		'imageId': '69144914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144919&x=4311',
		'title': '',
		'imageId': '69144919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144922&x=4311',
		'title': '',
		'imageId': '69144922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69144923&x=4311',
		'title': '',
		'imageId': '69144923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69145177&x=4311',
		'title': '',
		'imageId': '69145177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975107&docid=69145178&x=4311',
		'title': '',
		'imageId': '69145178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975107';

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