if (parent==self) 
{ if (document.location.href.lastIndexOf("/") >= 0)
    window.location.replace("btx-ramy.html?"+document.location.href.substring(1 + document.location.href.lastIndexOf("/")));
  else
    window.location.replace("btx-ramy.html?"+document.location.href);
}
