var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865982&x=82',
		'title': '',
		'imageId': '69865982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865983&x=82',
		'title': '',
		'imageId': '69865983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865993&x=82',
		'title': '',
		'imageId': '69865993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865989&x=82',
		'title': '',
		'imageId': '69865989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865987&x=82',
		'title': '',
		'imageId': '69865987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865986&x=82',
		'title': '',
		'imageId': '69865986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865988&x=82',
		'title': '',
		'imageId': '69865988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865992&x=82',
		'title': '',
		'imageId': '69865992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865990&x=82',
		'title': '',
		'imageId': '69865990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865984&x=82',
		'title': '',
		'imageId': '69865984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865991&x=82',
		'title': '',
		'imageId': '69865991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018162&docid=69865985&x=82',
		'title': '',
		'imageId': '69865985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018162';

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