var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040724&x=4852',
		'title': '',
		'imageId': '69040724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040728&x=4852',
		'title': '',
		'imageId': '69040728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040721&x=4852',
		'title': '',
		'imageId': '69040721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040722&x=4852',
		'title': '',
		'imageId': '69040722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040725&x=4852',
		'title': '',
		'imageId': '69040725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040730&x=4852',
		'title': '',
		'imageId': '69040730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040727&x=4852',
		'title': '',
		'imageId': '69040727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040731&x=4852',
		'title': '',
		'imageId': '69040731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040723&x=4852',
		'title': '',
		'imageId': '69040723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040726&x=4852',
		'title': '',
		'imageId': '69040726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040729&x=4852',
		'title': '',
		'imageId': '69040729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970834&docid=69040764&x=4852',
		'title': '',
		'imageId': '69040764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970834';

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