var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679082&x=2139',
		'title': '',
		'imageId': '69679082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679080&x=2139',
		'title': '',
		'imageId': '69679080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679086&x=2139',
		'title': '',
		'imageId': '69679086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679081&x=2139',
		'title': '',
		'imageId': '69679081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679084&x=2139',
		'title': '',
		'imageId': '69679084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679079&x=2139',
		'title': '',
		'imageId': '69679079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679085&x=2139',
		'title': '',
		'imageId': '69679085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679083&x=2139',
		'title': '',
		'imageId': '69679083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679078&x=2139',
		'title': '',
		'imageId': '69679078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679076&x=2139',
		'title': '',
		'imageId': '69679076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998849&docid=69679077&x=2139',
		'title': '',
		'imageId': '69679077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998849';

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