var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205313&x=2355',
		'title': '',
		'imageId': '70205313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205314&x=2355',
		'title': '',
		'imageId': '70205314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205319&x=2355',
		'title': '',
		'imageId': '70205319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205315&x=2355',
		'title': '',
		'imageId': '70205315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205317&x=2355',
		'title': '',
		'imageId': '70205317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205316&x=2355',
		'title': '',
		'imageId': '70205316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205318&x=2355',
		'title': '',
		'imageId': '70205318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018283&docid=70205320&x=2355',
		'title': '',
		'imageId': '70205320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018283';

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