var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961688&x=4431',
		'title': '',
		'imageId': '69961688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961717&x=4431',
		'title': '',
		'imageId': '69961717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961696&x=4431',
		'title': '',
		'imageId': '69961696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961695&x=4431',
		'title': '',
		'imageId': '69961695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961692&x=4431',
		'title': '',
		'imageId': '69961692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961690&x=4431',
		'title': '',
		'imageId': '69961690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961689&x=4431',
		'title': '',
		'imageId': '69961689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961691&x=4431',
		'title': '',
		'imageId': '69961691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961687&x=4431',
		'title': '',
		'imageId': '69961687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961693&x=4431',
		'title': '',
		'imageId': '69961693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009341&docid=69961694&x=4431',
		'title': '',
		'imageId': '69961694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009341';

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