var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819563&x=1913',
		'title': '',
		'imageId': '70819563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819564&x=1913',
		'title': '',
		'imageId': '70819564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819566&x=1913',
		'title': '',
		'imageId': '70819566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819568&x=1913',
		'title': '',
		'imageId': '70819568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819576&x=1913',
		'title': '',
		'imageId': '70819576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819584&x=1913',
		'title': '',
		'imageId': '70819584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819567&x=1913',
		'title': '',
		'imageId': '70819567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819578&x=1913',
		'title': '',
		'imageId': '70819578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819587&x=1913',
		'title': '',
		'imageId': '70819587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70823007&x=1913',
		'title': '',
		'imageId': '70823007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70823009&x=1913',
		'title': '',
		'imageId': '70823009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70823008&x=1913',
		'title': '',
		'imageId': '70823008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819573&x=1913',
		'title': '',
		'imageId': '70819573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819590&x=1913',
		'title': '',
		'imageId': '70819590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70819598&x=1913',
		'title': '',
		'imageId': '70819598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70816316&x=1913',
		'title': '',
		'imageId': '70816316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70816318&x=1913',
		'title': '',
		'imageId': '70816318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70816317&x=1913',
		'title': '',
		'imageId': '70816317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70816342&x=1913',
		'title': '',
		'imageId': '70816342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4043054&docid=70823094&x=1913',
		'title': '',
		'imageId': '70823094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4043054';

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