bName = navigator.appName;
              bVer = parseInt(navigator.appVersion);
              if (bName == "Netscape" && bVer >= 2) ver = "n2";
              else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3";
              function chimage(imgnam) {
                 if (ver == "n2" || ver == "e3") {
                   document.images[2].src = imgnam;
                 }
              }
              function videopopup(fn){
                bName = navigator.appName;
                bVer = parseInt(navigator.appVersion); 
                if (bName == "Netscape" && bVer >= 2) ver = "n2";
                else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3";
                if (ver == "n2" || ver == "e3"){
			        win=open(fn,"winnow",'width=420,height=300');
			    }
              }
			  function slidepopup(fn,w,h){
                bName = navigator.appName;
                bVer = parseInt(navigator.appVersion); 
                if (bName == "Netscape" && bVer >= 2) ver = "n2";
                else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3";
                if (ver == "n2" || ver == "e3"){
				    win=open(fn,"winnow",'width='+w+',height='+h+',scrollbars=no');
			    }
              }
			   function imgpopup(imgloc,w,h){
              bName = navigator.appName;
              bVer = parseInt(navigator.appVersion); 
              if (bName == "Netscape" && bVer >= 2) ver = "n2";
              else if (bName == "Microsoft Internet Explorer" && bVer >= 2) ver = "e3";
			  u="showimg.php?imgloc="+imgloc;
              if (ver == "n2" || ver == "e3"){
			    win=open(u,"winnow",'width='+w+',height='+h);
			  }
            }

function navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#FCFCEA';
				tableCellRef.style.cursor = 'hand';
				break;
			default:
//				tableCellRef.style.backgroundColor = '#ccc';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#F5EDC5';
				break;
			default:
//				tableCellRef.style.backgroundColor = '#ddd';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function goTo( url ) {
	window.location.href = url;
}

function navBarClick( tableCellRef, navStyle, url ) {
	navBar( tableCellRef, 0, navStyle );
	goTo( url );
}