var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189493&x=3936',
		'title': '',
		'imageId': '69189493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189495&x=3936',
		'title': '',
		'imageId': '69189495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189496&x=3936',
		'title': '',
		'imageId': '69189496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189497&x=3936',
		'title': '',
		'imageId': '69189497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189498&x=3936',
		'title': '',
		'imageId': '69189498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189502&x=3936',
		'title': '',
		'imageId': '69189502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189503&x=3936',
		'title': '',
		'imageId': '69189503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189504&x=3936',
		'title': '',
		'imageId': '69189504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189505&x=3936',
		'title': '',
		'imageId': '69189505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976904&docid=69189506&x=3936',
		'title': '',
		'imageId': '69189506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976904';

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