var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929312&x=3944',
		'title': '',
		'imageId': '69929312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929316&x=3944',
		'title': '',
		'imageId': '69929316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929313&x=3944',
		'title': '',
		'imageId': '69929313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929311&x=3944',
		'title': '',
		'imageId': '69929311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929309&x=3944',
		'title': '',
		'imageId': '69929309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929310&x=3944',
		'title': '',
		'imageId': '69929310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929320&x=3944',
		'title': '',
		'imageId': '69929320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929314&x=3944',
		'title': '',
		'imageId': '69929314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929317&x=3944',
		'title': '',
		'imageId': '69929317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929315&x=3944',
		'title': '',
		'imageId': '69929315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929318&x=3944',
		'title': '',
		'imageId': '69929318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008759&docid=69929319&x=3944',
		'title': '',
		'imageId': '69929319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008759';

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