
// JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) { //
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}


// JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s) { //
	location.href=UnCryptMailto(s);
}

function showGallery() {
	var galleryHeight = document.getElementById('property').offsetHeight;
  galleryHeight = galleryHeight + 252;
  document.getElementById('gallery').style.height = galleryHeight + "px";
  document.getElementById("gallery").style.visibility = "visible";
  document.getElementById("gallery").style.display = "block";
}

function unshowGallery() {
  document.getElementById("gallery").style.visibility = "hidden";
  document.getElementById("gallery").style.display = "none";
}
