var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469327&x=224',
		'title': '',
		'imageId': '69469327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469326&x=224',
		'title': '',
		'imageId': '69469326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469328&x=224',
		'title': '',
		'imageId': '69469328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469320&x=224',
		'title': '',
		'imageId': '69469320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469319&x=224',
		'title': '',
		'imageId': '69469319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469325&x=224',
		'title': '',
		'imageId': '69469325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469322&x=224',
		'title': '',
		'imageId': '69469322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469324&x=224',
		'title': '',
		'imageId': '69469324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469323&x=224',
		'title': '',
		'imageId': '69469323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989228&docid=69469321&x=224',
		'title': '',
		'imageId': '69469321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3989228';

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