/* cssnav.js 
 *
 * uses JavaScript to change the class
 * used for the identified object
 *
 */
/* get the object by name */
function CSSNav(){
	if (typeof tkeys=='undefined') return;
	var bVersion = parseInt(navigator.appVersion);
	var bName = navigator.appName;
	var here = new String(document.title.toLowerCase());
	var pattern = /\s/g;
		here = here.replace(pattern,"_");
	for (i=0;i<tkeys.length;i++){
		if (here.indexOf(tkeys[i])>-1){
		   var keyword = tkeys[i];
		   break;
		}
	}
	
	if ((bName.indexOf('Netscape')>-1&& bVersion >4)||(bName.indexOf('Explorer')>-1 && bVersion >=4)){
		var myObj = document.getElementById(keyword);
		myObj.className="activelink";
	} 
}
