var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257615&x=026',
		'title': '',
		'imageId': '69257615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257609&x=026',
		'title': '',
		'imageId': '69257609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257608&x=026',
		'title': '',
		'imageId': '69257608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257618&x=026',
		'title': '',
		'imageId': '69257618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257616&x=026',
		'title': '',
		'imageId': '69257616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257610&x=026',
		'title': '',
		'imageId': '69257610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257612&x=026',
		'title': '',
		'imageId': '69257612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257614&x=026',
		'title': '',
		'imageId': '69257614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257613&x=026',
		'title': '',
		'imageId': '69257613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257611&x=026',
		'title': '',
		'imageId': '69257611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979875&docid=69257617&x=026',
		'title': '',
		'imageId': '69257617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979875';

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