function framecheck (root) {
   var us = 1;
   var thisframe = "";
   if (self.name != root) us = 0;
   if (us == 0)  {
      var FileName = this.location.href;
      top.location.href = '../reindex.asp?FileName=' + FileName;
   }
}
framecheck('hoofd');