var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069986&x=1013',
		'title': '',
		'imageId': '70069986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069977&x=1013',
		'title': '',
		'imageId': '70069977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069989&x=1013',
		'title': '',
		'imageId': '70069989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069996&x=1013',
		'title': '',
		'imageId': '70069996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069985&x=1013',
		'title': '',
		'imageId': '70069985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069995&x=1013',
		'title': '',
		'imageId': '70069995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069998&x=1013',
		'title': '',
		'imageId': '70069998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069982&x=1013',
		'title': '',
		'imageId': '70069982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069981&x=1013',
		'title': '',
		'imageId': '70069981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069987&x=1013',
		'title': '',
		'imageId': '70069987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069988&x=1013',
		'title': '',
		'imageId': '70069988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069978&x=1013',
		'title': '',
		'imageId': '70069978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069999&x=1013',
		'title': '',
		'imageId': '70069999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069990&x=1013',
		'title': '',
		'imageId': '70069990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069983&x=1013',
		'title': '',
		'imageId': '70069983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069984&x=1013',
		'title': '',
		'imageId': '70069984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069993&x=1013',
		'title': '',
		'imageId': '70069993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069979&x=1013',
		'title': '',
		'imageId': '70069979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069997&x=1013',
		'title': '',
		'imageId': '70069997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069994&x=1013',
		'title': '',
		'imageId': '70069994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069976&x=1013',
		'title': '',
		'imageId': '70069976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008587&docid=70069980&x=1013',
		'title': '',
		'imageId': '70069980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008587';

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