// ttLib javascript library, Leo Straver
// Functions common to most pages.
//
function loadMenu(menuPage) {
  // 1. Checks for valid environment.
  // 2. Load the menu page with the associated menu.
  mysite1="borke.nl"; // Allowed wrapper site
  // act only if this is not an alowed site
  if ((document.referrer.match(mysite1) != mysite1)) 
    {
    loadFrame(); // Check the menu and integrety
    if ((self.name=="main") && (menuPage != '.'))
      {parent.menu.location=menuPage ;
      }
    }
  }
//----------------------------------------------------------
function imgDisp(myImg,myLoc) {
  //function image Display designed by Leo Straver, April 2003
  command='document.' + myLoc + '.src="' + myImg + '"' ;
  setTimeout(command,"1") ;
  }
//----------------------------------------------------------
