<!-- Hide script from old browsers
document.WM = new Object();
document.WM.menu = new Object();
document.WM.menu.dropdown = new Array();

function WM_initializeToolbar(){
    var i;
    if (document.all){
	for(i = 0; i < document.all('container').all.length; i++){
	    if ((document.all('container').all[i].className == 'header') ||
(document.all('container').all[i].className == 'links')){
		document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= document.all('container').all[i];
	    }
	}
    } else if (document.getElementsByTagName && document.getElementById){
	var contained =
document.getElementById('container').getElementsByTagName('div');
	for(i = 0; i < contained.length; i++){
	    if ((contained[i].getAttribute('class') == 'header') ||
(contained[i].getAttribute('class') == 'links')){
		document.WM.menu.dropdown[document.WM.menu.dropdown.length]
= contained[i];
	    }
	}
    }
}

function WM_collapse(item){
    if(document.WM.menu.dropdown.length){
	if (document.WM.menu.dropdown[item + 1].style.display == 'none'){
	    document.WM.menu.dropdown[item + 1].style.display = '';
	    if(document.WM.menu.dropdown[item].id == 'ReallyUsefulMenu'){
		document.images[document.WM.menu.dropdown[item].id +
'Img'].src = 'applet/level1_down.gif';
	    } else {
		document.images[document.WM.menu.dropdown[item].id +
'Img'].src = 'applet/level1_down.gif';
	    }
	} else {
	    document.WM.menu.dropdown[item + 1].style.display = 'none';
	    if(document.WM.menu.dropdown[item].id == 'ReallyUsefulMenu'){
		document.images[document.WM.menu.dropdown[item].id +
'Img'].src = 'applet/level1_down.gif';
	    } else {
		document.images[document.WM.menu.dropdown[item].id +
'Img'].src = 'applet/level1_normal.gif';
	    }
	}
    }
}

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    WM_imageSwap()
    Changes the source of an image.
     */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}


// End the hiding -->