
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var kiddie = null;
var kiddie4 = null;
var kiddie41 = null;

function openWin(theUrl) {

  kiddie =
    window.open(theUrl,'bugger','top=20,left=20,width=426,height=312,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes');

}

function transX(url,whichWin)
{
  if (navigator.appVersion.indexOf("MSIE 4.") == -1)
  {
    if (kiddie == null)
    {
      openWin(url);
    }
    else if (kiddie.closed)
    {
      openWin(url);
    }
    else
    {
      kiddie.location.href = url;
      kiddie.focus();
    }
  }
  else
  { // IE 4 security prevents implementing any methods
    // on a child window that has an external IP
    // so we have to open up new windows
    // ugly but it works for now

    if (whichWin == '1')
    {
      openWin(url);
    }
    else if (whichWin == '2')
    {
      kiddie4 =
        window.open(url,'bugger1','top=20,left=20,width=500,height=300,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes');
    }
    else if (whichWin == '3')
    {
      kiddie41 =
        window.open(url,'bugger2','top=20,left=20,width=500,height=300,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes');;
    }
  }
}

