var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900631&x=5430',
		'title': '',
		'imageId': '69900631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900632&x=5430',
		'title': '',
		'imageId': '69900632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900633&x=5430',
		'title': '',
		'imageId': '69900633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900634&x=5430',
		'title': '',
		'imageId': '69900634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900635&x=5430',
		'title': '',
		'imageId': '69900635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900637&x=5430',
		'title': '',
		'imageId': '69900637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900645&x=5430',
		'title': '',
		'imageId': '69900645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900662&x=5430',
		'title': '',
		'imageId': '69900662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900663&x=5430',
		'title': '',
		'imageId': '69900663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900664&x=5430',
		'title': '',
		'imageId': '69900664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900665&x=5430',
		'title': '',
		'imageId': '69900665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900666&x=5430',
		'title': '',
		'imageId': '69900666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900667&x=5430',
		'title': '',
		'imageId': '69900667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900668&x=5430',
		'title': '',
		'imageId': '69900668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900669&x=5430',
		'title': '',
		'imageId': '69900669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900670&x=5430',
		'title': '',
		'imageId': '69900670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900672&x=5430',
		'title': '',
		'imageId': '69900672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900673&x=5430',
		'title': '',
		'imageId': '69900673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900676&x=5430',
		'title': '',
		'imageId': '69900676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900677&x=5430',
		'title': '',
		'imageId': '69900677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900678&x=5430',
		'title': '',
		'imageId': '69900678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900679&x=5430',
		'title': '',
		'imageId': '69900679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900680&x=5430',
		'title': '',
		'imageId': '69900680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900681&x=5430',
		'title': '',
		'imageId': '69900681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900682&x=5430',
		'title': '',
		'imageId': '69900682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900683&x=5430',
		'title': '',
		'imageId': '69900683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900684&x=5430',
		'title': '',
		'imageId': '69900684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900686&x=5430',
		'title': '',
		'imageId': '69900686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900689&x=5430',
		'title': '',
		'imageId': '69900689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900690&x=5430',
		'title': '',
		'imageId': '69900690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900691&x=5430',
		'title': '',
		'imageId': '69900691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900692&x=5430',
		'title': '',
		'imageId': '69900692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007669&docid=69900693&x=5430',
		'title': '',
		'imageId': '69900693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007669';

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