function frameMe()
{
  var frameset = "frameset.html"; //name of the frameset page
  var frame = "contents"; //name of the frame to load document into
  page = new String(self.document.location);
  var pos = page.lastIndexOf("/") + 1;
  var file = page.substr(pos);
  if(window.name != frame){
  var s = frameset + "?" + file + "&" + frame;
  top.location.replace(s);
 }
 return;
}

<!-- Window show, close first another that is opened -->
function opnwnd(thisUrl,ttl,features)
{
if (window.location.href != thisUrl)
 window.close();
 window.open(thisUrl,ttl,features);
}


<!-- Update main frame and bottom frame from a menu click -->
function Go(frame1,frame2) 
{ 
  parent.rbot.location.replace(frame2);
  parent.contents.location.replace(frame1);
}

