var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103355&x=386',
		'title': '',
		'imageId': '69103355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103359&x=386',
		'title': '',
		'imageId': '69103359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103358&x=386',
		'title': '',
		'imageId': '69103358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103356&x=386',
		'title': '',
		'imageId': '69103356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103379&x=386',
		'title': '',
		'imageId': '69103379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103392&x=386',
		'title': '',
		'imageId': '69103392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103380&x=386',
		'title': '',
		'imageId': '69103380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103395&x=386',
		'title': '',
		'imageId': '69103395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103405&x=386',
		'title': '',
		'imageId': '69103405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103354&x=386',
		'title': '',
		'imageId': '69103354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973396&docid=69103357&x=386',
		'title': '',
		'imageId': '69103357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973396';

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