function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.getElementById("shortcut").blur();
   return;
 }
 else {
   //parent.location.href = x;
   var win = window.open(x, "gowin");
   win.focus();
   document.forms[0].reset();
   document.getElementById("shortcut").blur();
 }
}

window.onload = function() {
  links = document.getElementsByTagName('a');
   for(i=0; i<links .length; i++) {
    if(!links[i].href.match('/'+window.location.host+'/') && !links[i].href.match(/mailto/)) {
     links[i].target = '_blank';
     //links[i].onClick = 'var win = window.open(x, "_blank"); return true;';
    }
  }
}
