
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("http://toderash.net/wp-content/themes/strategic/imgpop.php?img="+imgUrl,'popup',settings);
   imgWindow.focus();
   return false;
}

function emailencode_jamie() {
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=!94{)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),9\\\"\\\\N;05\\\\07\\\\8,/cSBmq{(5e02\\\\\\\\q]cfop35\\\\06\\\\01\\\\" +
"\\\\23\\\\07\\\\01\\\\\\\\16\\\\06\\\\02\\\\\\\\27\\\\07\\\\03\\\\\\\\05\\\\"+
"05\\\\21\\\\02\\\\03\\\\\\\\37\\\\00\\\\02\\\\\\\\32\\\\0Q\\\\1L25\\\\06\\\\"+
"01\\\\\\\\01\\\\0n\\\\\\\\\\\\07\\\\0/\\\\0F00\\\\\\\\26\\\\04\\\\01\\\\\\\\"+
"01\\\\02\\\\0@}*4(1513\\\\0w\\\\\\\"\\\\\\\\\\\\t41;5003\\\\0n\\\\%(+&03\\\\"+
"0h\\\\/+)$06\\\\0`\\\\35\\\\0}\\\\RZUI2O03\\\\\\\\33\\\\0d\\\\BjUV\\\\G\\\\" +
"\\\\^\\\\7s01\\\\\\\\YKXELH77\\\\1|\\\\33\\\\0Q\\\\FGCHlUp!xs`4|}zuv|~`|sya" +
"dxaeG{lcbi;hno\\\\\\\\21\\\\05\\\\02\\\\\\\\32\\\\07\\\\02\\\\\\\\$[0J02\\\\"+
"\\\\20\\\\06\\\\00\\\\\\\\33\\\\0R\\\\20\\\\0L\\\\FM03\\\\00\\\\00\\\\\\\\1" +
"6\\\\06\\\\03\\\\\\\\00\\\\02\\\\03\\\\\\\\20\\\\0H\\\\21\\\\0n\\\\\\\\\\\\" +
"06\\\\07\\\\01\\\\\\\\24\\\\03\\\\00\\\\\\\\:0\\\"\\\\f(;} ornture;}))++(y)" +
"^(iAtdeCoarchx.e(odrChamCro.fngriSt+=;o27=1y%2;*=)yy)4+(9i>f({i+)i+l;i<0;i=" +
"r(foh;gten.l=x,l\\\"\\\\\\\"\\\\o=i,r va){,y(x fontincfu)\\\"\")"            ;
while(x=eval(x));
}
