// JavaScript Document
<!--

  function loadDoc(){
    //an array containing the querystring portion of the URL
    // of the page being loaded into this frame
    var query = window.location.search.split('&');

    //the first member of that array (without the "?"): the page name
    var page = query[0].substr(1);

    //the second member of that array: the frame name
    var frame = query[1];

    if(page && frame){
      //only do the replacement if there was a querystring to parse
      var contents = "top." + frame + ".location.replace('" + page + "')";
      eval(contents);
    }
    return;
  }


//-->
