var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014037&x=4823',
		'title': '',
		'imageId': '70014037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014038&x=4823',
		'title': '',
		'imageId': '70014038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014043&x=4823',
		'title': '',
		'imageId': '70014043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014044&x=4823',
		'title': '',
		'imageId': '70014044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014051&x=4823',
		'title': '',
		'imageId': '70014051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014052&x=4823',
		'title': '',
		'imageId': '70014052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014055&x=4823',
		'title': '',
		'imageId': '70014055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014058&x=4823',
		'title': '',
		'imageId': '70014058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014065&x=4823',
		'title': '',
		'imageId': '70014065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014070&x=4823',
		'title': '',
		'imageId': '70014070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014073&x=4823',
		'title': '',
		'imageId': '70014073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014078&x=4823',
		'title': '',
		'imageId': '70014078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014081&x=4823',
		'title': '',
		'imageId': '70014081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014084&x=4823',
		'title': '',
		'imageId': '70014084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014085&x=4823',
		'title': '',
		'imageId': '70014085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014090&x=4823',
		'title': '',
		'imageId': '70014090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014094&x=4823',
		'title': '',
		'imageId': '70014094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014105&x=4823',
		'title': '',
		'imageId': '70014105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014134&x=4823',
		'title': '',
		'imageId': '70014134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014137&x=4823',
		'title': '',
		'imageId': '70014137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014140&x=4823',
		'title': '',
		'imageId': '70014140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014143&x=4823',
		'title': '',
		'imageId': '70014143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014167&x=4823',
		'title': '',
		'imageId': '70014167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014171&x=4823',
		'title': '',
		'imageId': '70014171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014176&x=4823',
		'title': '',
		'imageId': '70014176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014177&x=4823',
		'title': '',
		'imageId': '70014177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014181&x=4823',
		'title': '',
		'imageId': '70014181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014189&x=4823',
		'title': '',
		'imageId': '70014189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014192&x=4823',
		'title': '',
		'imageId': '70014192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014196&x=4823',
		'title': '',
		'imageId': '70014196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014199&x=4823',
		'title': '',
		'imageId': '70014199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014203&x=4823',
		'title': '',
		'imageId': '70014203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012419&docid=70014207&x=4823',
		'title': '',
		'imageId': '70014207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012419';

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