var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180683&x=2115',
		'title': '',
		'imageId': '70180683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180680&x=2115',
		'title': '',
		'imageId': '70180680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180685&x=2115',
		'title': '',
		'imageId': '70180685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180677&x=2115',
		'title': '',
		'imageId': '70180677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180682&x=2115',
		'title': '',
		'imageId': '70180682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180679&x=2115',
		'title': '',
		'imageId': '70180679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180686&x=2115',
		'title': '',
		'imageId': '70180686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180681&x=2115',
		'title': '',
		'imageId': '70180681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180678&x=2115',
		'title': '',
		'imageId': '70180678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018045&docid=70180684&x=2115',
		'title': '',
		'imageId': '70180684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018045';

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