function ensureFrameset()
{
  if (top == self)
  {
    var host = location.host;
    if (host == "") host = "file:///d:/dynavox/www/fr/frame.htm";
    else host = "http://" + host + "/fr/frame.php";
    var url = host + "?Detail=" + encodeURI(location.href);
    if (document.images)
      location.replace(url);
    else
      location.href = url;
  }
}

ensureFrameset();
