var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869214&x=5913',
		'title': '',
		'imageId': '70869214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869216&x=5913',
		'title': '',
		'imageId': '70869216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869218&x=5913',
		'title': '',
		'imageId': '70869218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869220&x=5913',
		'title': '',
		'imageId': '70869220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869221&x=5913',
		'title': '',
		'imageId': '70869221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869219&x=5913',
		'title': '',
		'imageId': '70869219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869224&x=5913',
		'title': '',
		'imageId': '70869224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869223&x=5913',
		'title': '',
		'imageId': '70869223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869222&x=5913',
		'title': '',
		'imageId': '70869222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869215&x=5913',
		'title': '',
		'imageId': '70869215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044756&docid=70869217&x=5913',
		'title': '',
		'imageId': '70869217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044756';

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