
mc=new Array()
mc[0]='39525560623452575632303431335730333444';

function mc2(e) {
op='';chars='st2-n74opr.uyqz9m:0vwk_5x16hjab3igcdel8@f'; m='39525560243040';
inp=m+mc[e];for(i=0; i<inp.length; i+=2) {id=parseInt(inp.substr(i,2));op+=chars.charAt(id-23);}
window.location.href= op;
}


window.onload = function() {
P7_initPM(1,0,0,0,0);
	if (location.href.lastIndexOf('/') !=-1) {
		pageRef=location.href.substring(location.href.lastIndexOf('/')+1,location.href.length);
		if(pageRef=='contact.php') { 	window.onunload=GUnload(); }
	}
window.onResize="cBW()";
}


/* search bar */

function cBW() {
var bWidth; bWidth=(document.all)? document.body.clientWidth : window.innerWidth;
var sObj=document.getElementById("searchform");
if(bWidth>0 && bWidth<900) { 
sObj.style.display="none";
sObj.style.visibility="hidden";
} else {
sObj.style.display="";
sObj.style.visibility="visible";
}}

