var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029062&x=4855',
		'title': '',
		'imageId': '70029062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029070&x=4855',
		'title': '',
		'imageId': '70029070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029069&x=4855',
		'title': '',
		'imageId': '70029069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029067&x=4855',
		'title': '',
		'imageId': '70029067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029066&x=4855',
		'title': '',
		'imageId': '70029066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029071&x=4855',
		'title': '',
		'imageId': '70029071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029063&x=4855',
		'title': '',
		'imageId': '70029063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029064&x=4855',
		'title': '',
		'imageId': '70029064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029068&x=4855',
		'title': '',
		'imageId': '70029068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013024&docid=70029065&x=4855',
		'title': '',
		'imageId': '70029065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013024';

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