var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671216&x=5229',
		'title': '',
		'imageId': '69671216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671217&x=5229',
		'title': '',
		'imageId': '69671217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671226&x=5229',
		'title': '',
		'imageId': '69671226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671218&x=5229',
		'title': '',
		'imageId': '69671218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671223&x=5229',
		'title': '',
		'imageId': '69671223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671220&x=5229',
		'title': '',
		'imageId': '69671220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671224&x=5229',
		'title': '',
		'imageId': '69671224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69695745&x=5229',
		'title': '',
		'imageId': '69695745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671225&x=5229',
		'title': '',
		'imageId': '69671225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671219&x=5229',
		'title': '',
		'imageId': '69671219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671221&x=5229',
		'title': '',
		'imageId': '69671221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998603&docid=69671222&x=5229',
		'title': '',
		'imageId': '69671222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998603';

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