var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569427&x=4417',
		'title': '',
		'imageId': '69569427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569422&x=4417',
		'title': '',
		'imageId': '69569422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569423&x=4417',
		'title': '',
		'imageId': '69569423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569424&x=4417',
		'title': '',
		'imageId': '69569424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569429&x=4417',
		'title': '',
		'imageId': '69569429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569428&x=4417',
		'title': '',
		'imageId': '69569428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569431&x=4417',
		'title': '',
		'imageId': '69569431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569434&x=4417',
		'title': '',
		'imageId': '69569434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569437&x=4417',
		'title': '',
		'imageId': '69569437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569436&x=4417',
		'title': '',
		'imageId': '69569436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993491&docid=69569438&x=4417',
		'title': '',
		'imageId': '69569438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993491';

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