var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940678&x=2711',
		'title': '',
		'imageId': '69940678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940681&x=2711',
		'title': '',
		'imageId': '69940681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940682&x=2711',
		'title': '',
		'imageId': '69940682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940683&x=2711',
		'title': '',
		'imageId': '69940683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940684&x=2711',
		'title': '',
		'imageId': '69940684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940687&x=2711',
		'title': '',
		'imageId': '69940687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940686&x=2711',
		'title': '',
		'imageId': '69940686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940685&x=2711',
		'title': '',
		'imageId': '69940685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940688&x=2711',
		'title': '',
		'imageId': '69940688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940689&x=2711',
		'title': '',
		'imageId': '69940689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940690&x=2711',
		'title': '',
		'imageId': '69940690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940691&x=2711',
		'title': '',
		'imageId': '69940691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940695&x=2711',
		'title': '',
		'imageId': '69940695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940693&x=2711',
		'title': '',
		'imageId': '69940693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940694&x=2711',
		'title': '',
		'imageId': '69940694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940692&x=2711',
		'title': '',
		'imageId': '69940692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940696&x=2711',
		'title': '',
		'imageId': '69940696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940672&x=2711',
		'title': '',
		'imageId': '69940672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940673&x=2711',
		'title': '',
		'imageId': '69940673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940675&x=2711',
		'title': '',
		'imageId': '69940675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940676&x=2711',
		'title': '',
		'imageId': '69940676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009160&docid=69940674&x=2711',
		'title': '',
		'imageId': '69940674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009160';

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