var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151347&x=2026',
		'title': '',
		'imageId': '70151347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151351&x=2026',
		'title': '',
		'imageId': '70151351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151360&x=2026',
		'title': '',
		'imageId': '70151360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151342&x=2026',
		'title': '',
		'imageId': '70151342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151345&x=2026',
		'title': '',
		'imageId': '70151345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151353&x=2026',
		'title': '',
		'imageId': '70151353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151343&x=2026',
		'title': '',
		'imageId': '70151343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151357&x=2026',
		'title': '',
		'imageId': '70151357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151349&x=2026',
		'title': '',
		'imageId': '70151349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151358&x=2026',
		'title': '',
		'imageId': '70151358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151344&x=2026',
		'title': '',
		'imageId': '70151344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151352&x=2026',
		'title': '',
		'imageId': '70151352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151359&x=2026',
		'title': '',
		'imageId': '70151359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151348&x=2026',
		'title': '',
		'imageId': '70151348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151350&x=2026',
		'title': '',
		'imageId': '70151350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151361&x=2026',
		'title': '',
		'imageId': '70151361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151346&x=2026',
		'title': '',
		'imageId': '70151346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151355&x=2026',
		'title': '',
		'imageId': '70151355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151354&x=2026',
		'title': '',
		'imageId': '70151354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151362&x=2026',
		'title': '',
		'imageId': '70151362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151356&x=2026',
		'title': '',
		'imageId': '70151356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016910&docid=70151363&x=2026',
		'title': '',
		'imageId': '70151363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016910';

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