/* === SOURCE http://www.samsonow.net/style/scripts.js */


/* ============= :-))) ================ */
// this is to impede loading the site within a foreign frameset

if(top!=self)
   top.location=self.location;

/* ============= :-))) ================ */
// this is for unencrypting spam-protected email-links:
function UnCryptMailto(s, shift) {
	    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-(shift));
	    }
	    return r;
}
function linkTo_UnCryptMailto(s, shift)	{
	location.href=UnCryptMailto(s, shift);
}



/* this is to zoom out automatically on windows-systems (95dpi) */

   var NAME = navigator.appVersion

function set_FontSize() {
   if ((navigator.appVersion.indexOf("Win") != -1)) {
      if (document.all)
         document.body.style.setAttribute("fontSize","0.8em","false");
      else
         document.getElementsByTagName("body")[0].style.fontSize = "0.8em";
   }
   else {
      if (document.all)
         document.body.style.setAttribute("fontSize","1em","false");
      else
         document.getElementsByTagName("body")[0].style.fontSize = "1em";
      }
}

/* ============= :-))) ================ */



