function Go(x) {
 if(x == "nothing") {
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
   return;
 }
 else {
   parent.location.href = x;
   document.forms[0].reset();
   document.forms[0].elements[0].blur();
 }
}

function popwin(prefix,page,w,h) {
	var p = window.open( prefix + page + ".htm","PopUp","width=" + w + ",height=" + h + ",status=yes,scrollbars=yes,resizable=yes");
}

function popup(URL1, pix_height, pix_width)
{


F1=open("","_new","width="+pix_width+",height="+pix_height+",resizable=yes")
with(F1.document)
{
open()
write("<html>")
write("<body topmargin='0' leftmargin='0' marginheight='0' marginwidth='0' >")
write("<table width=100%><TR><TD align='center' valign='middle'>")
write("<img src='"+URL1+"'>")
write("</td></tr></table>")
write("</body>")
write("</html>")
close()
}
F1.resizeTo(pix_width+20,pix_height+40)
F1.focus()
}


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

window.onload = function() {
        this.name = "orange";
        this.focus();
        //alert(this.name);
}
