var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024368&x=2626',
		'title': '',
		'imageId': '70024368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024356&x=2626',
		'title': '',
		'imageId': '70024356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024357&x=2626',
		'title': '',
		'imageId': '70024357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024365&x=2626',
		'title': '',
		'imageId': '70024365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024354&x=2626',
		'title': '',
		'imageId': '70024354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024363&x=2626',
		'title': '',
		'imageId': '70024363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024369&x=2626',
		'title': '',
		'imageId': '70024369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024359&x=2626',
		'title': '',
		'imageId': '70024359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024352&x=2626',
		'title': '',
		'imageId': '70024352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024361&x=2626',
		'title': '',
		'imageId': '70024361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024362&x=2626',
		'title': '',
		'imageId': '70024362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024360&x=2626',
		'title': '',
		'imageId': '70024360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024346&x=2626',
		'title': '',
		'imageId': '70024346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024353&x=2626',
		'title': '',
		'imageId': '70024353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024358&x=2626',
		'title': '',
		'imageId': '70024358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024347&x=2626',
		'title': '',
		'imageId': '70024347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024355&x=2626',
		'title': '',
		'imageId': '70024355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024367&x=2626',
		'title': '',
		'imageId': '70024367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024350&x=2626',
		'title': '',
		'imageId': '70024350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024366&x=2626',
		'title': '',
		'imageId': '70024366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024348&x=2626',
		'title': '',
		'imageId': '70024348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024364&x=2626',
		'title': '',
		'imageId': '70024364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024351&x=2626',
		'title': '',
		'imageId': '70024351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011507&docid=70024349&x=2626',
		'title': '',
		'imageId': '70024349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011507';

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