if ((top.location.href != "http://www.greensonline.co.uk/") && (top.location.href.indexOf("default.htm") == -1)) {    
  theurl = location.href.toString();
  newframe = path_modifier + "jdefault.htm?" + theurl;
//  top.location.href = newframe;  
  if (document.images) {
    top.location.replace(newframe)
  }
  else {
    top.location.href = newframe
  }
}