var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070107&x=5852',
		'title': '',
		'imageId': '70070107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070095&x=5852',
		'title': '',
		'imageId': '70070095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070100&x=5852',
		'title': '',
		'imageId': '70070100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070101&x=5852',
		'title': '',
		'imageId': '70070101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070067&x=5852',
		'title': '',
		'imageId': '70070067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070069&x=5852',
		'title': '',
		'imageId': '70070069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070091&x=5852',
		'title': '',
		'imageId': '70070091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070066&x=5852',
		'title': '',
		'imageId': '70070066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070071&x=5852',
		'title': '',
		'imageId': '70070071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070088&x=5852',
		'title': '',
		'imageId': '70070088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070070&x=5852',
		'title': '',
		'imageId': '70070070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070092&x=5852',
		'title': '',
		'imageId': '70070092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070080&x=5852',
		'title': '',
		'imageId': '70070080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070083&x=5852',
		'title': '',
		'imageId': '70070083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070068&x=5852',
		'title': '',
		'imageId': '70070068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070089&x=5852',
		'title': '',
		'imageId': '70070089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070127&x=5852',
		'title': '',
		'imageId': '70070127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070123&x=5852',
		'title': '',
		'imageId': '70070123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070124&x=5852',
		'title': '',
		'imageId': '70070124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070129&x=5852',
		'title': '',
		'imageId': '70070129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070133&x=5852',
		'title': '',
		'imageId': '70070133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070150&x=5852',
		'title': '',
		'imageId': '70070150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070106&x=5852',
		'title': '',
		'imageId': '70070106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014598&docid=70070111&x=5852',
		'title': '',
		'imageId': '70070111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014598';

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