
function toggle_visibility(id) {
   var e = document.getElementById(id);
      if(e.style.display == 'none')
         e.style.display = 'block';
      else
         e.style.display = 'none';
}

function hideContent(id) {
      document.getElementById(id).style.display = "none";
}

function showContent(id) {
   document.getElementById(id).style.display = "block";
}

function popWin(imgUrl) {
   var imgWindow=null;
   var w='200';
   var h='100';
   LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/3:100;
   settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars=no,location=no,directories=yes,status=no,menubar=no,toolbar=no,resizable=yes';
   imgWindow=window.open("/wp-content/themes/compass/imgpop.php?img="+imgUrl,'popup',settings);
   imgWindow.focus();
   return false;
}

function emailencode_brent() {
var x="function f(x){var i,o=\"\",l=x.length;for(i=0;i<l;i+=2) {if(i+1<l)o+=" +
"x.charAt(i+1);try{o+=x.charAt(i);}catch(e){}}return o;}f(\"ufcnitnof x({)av" +
" r,i=o\\\"\\\"o,=l.xelgnhtl,o=;lhwli(e.xhcraoCedtAl(1/)3=!25{)rt{y+xx=l;=+;" +
"lc}tahce({)}}of(r=i-l;1>i0=i;--{)+ox=c.ahAr(t)i};erutnro s.buts(r,0lo;)f}\\" +
"\"(4),7\\\"\\\\01\\\\0t\\\\\\\\\\\\03\\\\06\\\\03\\\\\\\\24\\\\03\\\\01\\\\" +
"\\\\4U03\\\\\\\\16\\\\0Y\\\\NC\\\\\\\\\\\\\\\\HH~D\\\\t\\\\\\\\\\\\\\\\I\\\\"+
"WC5f03\\\\\\\\00\\\\0}\\\\lH77\\\\1o\\\\7y17\\\\\\\\Muc8pxQf}2nyhcW.l7sdqo!" +
"$u^0e02\\\\\\\\7S01\\\\\\\\\\\\t7\\\\03\\\\\\\\36\\\\07\\\\03\\\\\\\\36\\\\" +
"04\\\\00\\\\\\\\27\\\\01\\\\02\\\\\\\\04\\\\02\\\\05\\\\06\\\\03\\\\\\\\\\\\"+
"n4\\\\03\\\\\\\\17\\\\0V\\\\04\\\\06\\\\03\\\\\\\\05\\\\01\\\\00\\\\\\\\06\\"+
"\\03\\\\01\\\\\\\\8G4^00\\\\\\\\04\\\\02\\\\02\\\\\\\\~7`<ry47\\\\2\\\\\\\"" +
"<\\\\$&%|*>8#$/\\\\.(\\\"}fo;n uret}r);+)y+^(i)t(eAodrCha.c(xdeCoarChomfrg." +
"intr=So+7;12%=;y=2y*))+y74>((iif){++;i<l;i=0(ior;fthnglex.l=\\\\,\\\\\\\"=\\"+
"\",o iar{vy)x,f(n ioctun\\\"f)\")"                                           ;
while(x=eval(x));
}

