  /*****************************************************
  *                                                    *
  *             ANTISPAM FUNCTIONS                     *
  *                                                    *  
  ******************************************************/
  
  var nospamtab = new Array(109, 97, 105, 108, 116, 111, 58);
  function nospam_exec(box, domain)
  {
  	if(typeof(domain)=="undefined") domain = "";
  	var proto = ""; for(idx=0;idx<nospamtab.length;idx++) proto+=String.fromCharCode(nospamtab[idx]);
  	window.open(proto+box+String.fromCharCode(64)+domain, '_self');
  }
  function nospam(box, domain, attr)
  {
  	if(typeof(domain)=="undefined") domain = "";
  	if(typeof(attr)=="undefined") attr = "";
  	document.write("<a href=\"javascript:nospam_exec('"+box+"', '"+domain+"')\""+(attr.length>0?" ":"")+attr+">"+box+String.fromCharCode(64)+domain+"</a>");
  }
  
  function bookmarksite(title,url)
  { if (window.sidebar) // firefox
    { window.sidebar.addPanel(title, url, "");
    }
    else if(window.opera && window.print)
    { // opera
    	var elem = document.createElement('a');
    	elem.setAttribute('href',url);
    	elem.setAttribute('title',title);
    	elem.setAttribute('rel','sidebar');
    	elem.click();
    } 
    else if(document.all)
    { // ie
    	window.external.AddFavorite(url, title);
    }
  }
  
  
  function fbs_click() 
  { u=location.href;
    t=document.title;
    window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
    return false;
  }
