/*
 * common.js
 */

google.load("feeds", "1");

function externalLinks() {
  if (! document.getElementsByTagName ) return;
  var anchors = document.getElementsByTagName("a");
  var isIE = (document.documentElement.getAttribute("style") == document.documentElement.style);
  for (var i=0; i<anchors.length; i++) {
    if(anchors[i].getAttribute("href") && anchors[i].getAttribute("rel") == "external"){
      if(isIE) anchors[i].setAttribute("onclick",new Function("window.open(this.href); return false;"));
      else anchors[i].setAttribute("onclick","window.open(this.href); return false;");
    }
  }
}

google.setOnLoadCallback(externalLinks);


function showemail(){
var emailriddlerarray=[101,45,98,105,101,110,102,97,105,116,64,110,105,102,116,121,46,99,111,109]
var emailadd='' //variable to contain encrypted email 
for (var i=0; i<emailriddlerarray.length; i++)
 emailadd+=String.fromCharCode(emailriddlerarray[i])
document.write('<a href="mailto:'+emailadd+'">e-bienfait@nifty.com</a>')
}