var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069981&x=70',
		'title': '',
		'imageId': '69069981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069988&x=70',
		'title': '',
		'imageId': '69069988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069987&x=70',
		'title': '',
		'imageId': '69069987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069990&x=70',
		'title': '',
		'imageId': '69069990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069982&x=70',
		'title': '',
		'imageId': '69069982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069984&x=70',
		'title': '',
		'imageId': '69069984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069986&x=70',
		'title': '',
		'imageId': '69069986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069985&x=70',
		'title': '',
		'imageId': '69069985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069983&x=70',
		'title': '',
		'imageId': '69069983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069989&x=70',
		'title': '',
		'imageId': '69069989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069991&x=70',
		'title': '',
		'imageId': '69069991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972050&docid=69069980&x=70',
		'title': '',
		'imageId': '69069980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972050';

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