var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174098&x=259',
		'title': '',
		'imageId': '70174098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174095&x=259',
		'title': '',
		'imageId': '70174095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174102&x=259',
		'title': '',
		'imageId': '70174102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174100&x=259',
		'title': '',
		'imageId': '70174100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174103&x=259',
		'title': '',
		'imageId': '70174103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174092&x=259',
		'title': '',
		'imageId': '70174092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174093&x=259',
		'title': '',
		'imageId': '70174093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174096&x=259',
		'title': '',
		'imageId': '70174096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174094&x=259',
		'title': '',
		'imageId': '70174094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174099&x=259',
		'title': '',
		'imageId': '70174099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174097&x=259',
		'title': '',
		'imageId': '70174097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017546&docid=70174101&x=259',
		'title': '',
		'imageId': '70174101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017546';

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