var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861507&x=1210',
		'title': '',
		'imageId': '69861507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861510&x=1210',
		'title': '',
		'imageId': '69861510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861514&x=1210',
		'title': '',
		'imageId': '69861514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861517&x=1210',
		'title': '',
		'imageId': '69861517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861528&x=1210',
		'title': '',
		'imageId': '69861528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861541&x=1210',
		'title': '',
		'imageId': '69861541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861549&x=1210',
		'title': '',
		'imageId': '69861549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861552&x=1210',
		'title': '',
		'imageId': '69861552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861558&x=1210',
		'title': '',
		'imageId': '69861558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006126&docid=69861561&x=1210',
		'title': '',
		'imageId': '69861561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006126';

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