var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427271&x=421',
		'title': '',
		'imageId': '69427271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427282&x=421',
		'title': '',
		'imageId': '69427282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427281&x=421',
		'title': '',
		'imageId': '69427281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427279&x=421',
		'title': '',
		'imageId': '69427279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427280&x=421',
		'title': '',
		'imageId': '69427280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427275&x=421',
		'title': '',
		'imageId': '69427275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427273&x=421',
		'title': '',
		'imageId': '69427273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427272&x=421',
		'title': '',
		'imageId': '69427272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427274&x=421',
		'title': '',
		'imageId': '69427274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427276&x=421',
		'title': '',
		'imageId': '69427276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427278&x=421',
		'title': '',
		'imageId': '69427278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986847&docid=69427277&x=421',
		'title': '',
		'imageId': '69427277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986847';

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