<!--
function redirectFrame() {
  myString = new String(window.location.href);
  rExp = /_pres/gi;
  newString = new String ("");
  result = myString.replace(rExp, newString);
  if (parent.window.location.href != result) {
   window.location.href = result;
  }
}

function redirectPage(thisPage,refPage) {
 if (parent.window.location.href != window.location.href) { return; }
 var slash;
 slash = thisPage.lastIndexOf("/");
 extPage = thisPage.substr(slash+1,thisPage.length);

  rExp = eval("/"+extPage+"/gi"); 
  newString = new String(refPage);
  result = thisPage.replace(rExp, newString);
  if (result != parent.window.location.href) {
   window.location.href = result+"#"+extPage;
  }
}

function LoadPage() {
 var separatore,thisPage,test;
 test = 0;
 thisPage = parent.window.location.href;
 separatore = thisPage.lastIndexOf("#");

 if (separatore > 0) {
   framePage = thisPage.substr(separatore+1,thisPage.length);
   slash = thisPage.lastIndexOf("/");
   urlPage = thisPage.substr(0,slash+1);
  window.location.href = urlPage+framePage;
  test = 1;
 }
 return test;
}

-->