var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147327&x=2918',
		'title': '',
		'imageId': '69147327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147333&x=2918',
		'title': '',
		'imageId': '69147333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147324&x=2918',
		'title': '',
		'imageId': '69147324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147325&x=2918',
		'title': '',
		'imageId': '69147325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147331&x=2918',
		'title': '',
		'imageId': '69147331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147334&x=2918',
		'title': '',
		'imageId': '69147334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147326&x=2918',
		'title': '',
		'imageId': '69147326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147328&x=2918',
		'title': '',
		'imageId': '69147328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147330&x=2918',
		'title': '',
		'imageId': '69147330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147332&x=2918',
		'title': '',
		'imageId': '69147332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975060&docid=69147329&x=2918',
		'title': '',
		'imageId': '69147329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975060';

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