  function sendQuery(i){
                    httpRQ = new XMLHttpRequest(); //Build Query for AJAX
                    httpRQ.open("GET","<?php bloginfo('template_url'); ?>/messege.php?q="+i,true);
                    httpRQ.send(null);
                    httpRQ.onreadystatechange = updateSite;
                }
  function toHome(){
    window.location ="<?php echo site_url();?>";
  }
  var togglers = new Array('#articleContainer','#siteLinks','#siteCats','#authorZone');
  
  var active = 0;
  var toggleBlock = false;
  $(document).ready(function(){$('#siteLinks').hide();$('#siteCats').hide();$('#authorZone').hide();});
  function switchTo(to){
    
    if((active!=to&&(!toggleBlock))){
      toggleBlock = true;
      $(togglers[active]).fadeOut(600);
      setTimeout(function() {$(togglers[to]).fadeIn(600); active=to; toggleBlock=false;},600);
      
    }
  }
  
  
