var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374307&x=3616',
		'title': '',
		'imageId': '70374307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374302&x=3616',
		'title': '',
		'imageId': '70374302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374304&x=3616',
		'title': '',
		'imageId': '70374304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374306&x=3616',
		'title': '',
		'imageId': '70374306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374308&x=3616',
		'title': '',
		'imageId': '70374308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374303&x=3616',
		'title': '',
		'imageId': '70374303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374309&x=3616',
		'title': '',
		'imageId': '70374309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374310&x=3616',
		'title': '',
		'imageId': '70374310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374311&x=3616',
		'title': '',
		'imageId': '70374311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374305&x=3616',
		'title': '',
		'imageId': '70374305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4049734&docid=70374301&x=3616',
		'title': '',
		'imageId': '70374301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4049734';

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