var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625114&x=4045',
		'title': '',
		'imageId': '70625114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625108&x=4045',
		'title': '',
		'imageId': '70625108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625109&x=4045',
		'title': '',
		'imageId': '70625109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625112&x=4045',
		'title': '',
		'imageId': '70625112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625105&x=4045',
		'title': '',
		'imageId': '70625105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625104&x=4045',
		'title': '',
		'imageId': '70625104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625106&x=4045',
		'title': '',
		'imageId': '70625106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625111&x=4045',
		'title': '',
		'imageId': '70625111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625107&x=4045',
		'title': '',
		'imageId': '70625107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625113&x=4045',
		'title': '',
		'imageId': '70625113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036200&docid=70625110&x=4045',
		'title': '',
		'imageId': '70625110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036200';

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