function NoFrames() {
  if (top.location !=self.location) {
     top.location = self.location;
  }
}

function StaticWindow(URL) {
   staticWindow = window.open(URL, 'staticWin', 'scrollbars=yes,resizable=no,width=450,height=450');
   staticWindow.focus();
   staticWindow.moveTo(50,50);
}

function StaticWindow2(URL, WIDE, HIGH) {
   staticWindow = window.open(URL, 'staticWin', 'scrollbars=yes,resizable=no,width=' + WIDE + ',height=' + HIGH);
   staticWindow.focus();
   staticWindow.moveTo(50,50);
}

function SecondWindow(URL) {
   secondWindow = window.open(URL, 'secondWin', 'scrollbars=yes,resizable=yes,width=600,height=500');
   secondWindow.focus();
   secondWindow.moveTo(75,50);
}

function FirstWindow(URL) {
   firstWindow = window.open(URL, 'firstWin', 'scrollbars=yes,resizable=yes,width=750,height=550');
   firstWindow.focus();
   firstWindow.moveTo(35,35);
}

function DynamicWindow(URL) { 
   dynamicWindow = window.open(URL, 'dynamicWin', 'location,scrollbars,resizable,width=550,height=450');
   dynamicWindow.focus();
}

function LinksWindow(URL) { 
   linksWindow = window.open(URL, 'linksWin', 'location,scrollbars,resizable,width=550,height=450');
   linksWindow.focus();
}

function BigWindow(URL) {
   bigWindow = window.open(URL, 'bigWin', 'location,scrollbars,resizable,width=750,height=550');
   bigWindow.focus();
   bigWindow.moveTo(25,25);
}

function mail() {
        location.href = 'mailto' + ':' + 'gatadd' + '@' + 'silcom' + '.' + 'com';
  }

function newMail(box_name) {
        location.href = 'mailto' + ':' + box_name + '@' + 'gataddzone' + '.' + 'net';
  }


function go() {
        location.href = 'http://www.silcom.com/~gatadd/' + document.passwordForm.userid.value + '/' + document.passwordForm.password.value + '.html';
  }

function gogo() {
      for (var i=0; i<2; i++) {
          if (searchForm.q[i].checked == true)
              location.href = searchForm.q[i].value;
      }
  }


function writeFrameLeftVertical(the_name, the_image, the_high, the_wide, the_switch, the_link, the_text) {
      parent.left.document.open();
      parent.left.document.writeln("<HTML><HEAD><TITLE>");
//    parent.left.document.writeln(the_name);
      parent.left.document.write("</TITLE>");
      parent.left.document.writeln("<SCRIPT LANGUAGE=javascript SRC=../G/gatadd.js></SCRIPT>");
      parent.left.document.writeln("</HEAD><BODY BGCOLOR=#cc0033 ALINK=#ffffff><CENTER>");
      parent.left.document.writeln("<TABLE BORDER=0 CELLPADDING=10 CELLSPACING=0><TR><TD ALIGN=CENTER VALIGN=TOP BGCOLOR=#ffffff>");
      parent.left.document.writeln("<IMG SRC="+ the_image + " HEIGHT=" + the_high + " WIDTH=" + the_wide + " BORDER=0><BR><BR>");
      if (the_switch == "1") {
      parent.left.document.writeln("<FONT FACE=Arial COLOR=#000000><A HREF=javascript:SecondWindow('http://www.silcom.com/~gatadd/T/" + the_link + "'); onMouseDown=document.resources.src='images/dot.gif'; onMouseOut=document.resources.src='images/resources_black.gif';><IMG SRC='images/resources_black.gif' HEIGHT=13 WIDTH=95 BORDER=0 NAME=resources></A></FONT>");
      }
      parent.left.document.writeln("<FONT FACE=Arial COLOR=white>" + the_text + "</FONT>");
      parent.left.document.writeln("</TD></TR></TABLE></CENTER></BODY></HTML>");
      parent.left.document.close();
    }
