var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064709&x=217',
		'title': '',
		'imageId': '69064709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064711&x=217',
		'title': '',
		'imageId': '69064711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064712&x=217',
		'title': '',
		'imageId': '69064712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064713&x=217',
		'title': '',
		'imageId': '69064713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064714&x=217',
		'title': '',
		'imageId': '69064714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064715&x=217',
		'title': '',
		'imageId': '69064715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064717&x=217',
		'title': '',
		'imageId': '69064717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064718&x=217',
		'title': '',
		'imageId': '69064718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064720&x=217',
		'title': '',
		'imageId': '69064720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064721&x=217',
		'title': '',
		'imageId': '69064721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064722&x=217',
		'title': '',
		'imageId': '69064722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972014&docid=69064716&x=217',
		'title': '',
		'imageId': '69064716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972014';

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