var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202847&x=404',
		'title': '',
		'imageId': '70202847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202848&x=404',
		'title': '',
		'imageId': '70202848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202850&x=404',
		'title': '',
		'imageId': '70202850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202851&x=404',
		'title': '',
		'imageId': '70202851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202852&x=404',
		'title': '',
		'imageId': '70202852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202853&x=404',
		'title': '',
		'imageId': '70202853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202854&x=404',
		'title': '',
		'imageId': '70202854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202855&x=404',
		'title': '',
		'imageId': '70202855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202856&x=404',
		'title': '',
		'imageId': '70202856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202857&x=404',
		'title': '',
		'imageId': '70202857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018927&docid=70202858&x=404',
		'title': '',
		'imageId': '70202858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018927';

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