  if ( window.parent.frames.length == 0 && window.disable_frames_arising != true ) {
    var url = top.document.location.href;
    if(window.custom_url){
      var thost = window.custom_url;
    } else {
      var thost = "http://" + top.document.location.host;
    }
    if ( (url.indexOf('/LeftBar?what_to_show=top')==-1) && (url.indexOf('/LeftBar?what_to_show=bottom')==-1) ){
      this.location.replace(thost + "/?target_url="+escape(url+(url.indexOf("?")!=-1?"&htrack=off":"?htrack=off")));
    } else {
      this.location.replace(thost);
    }
  }

