function loaded() {
 if (parent.location.href.indexOf("/preload.htm") != -1)
  parent.update(); // only called when inside preloader frameset
}

