	function getBrowser() {
		if (document.getElementById && navigator.appName == 'Netscape')
									 browser = "N6";       
		else if (document.all)       browser = "IE";    //4 or 5
		else if (document.layers)    browser = "N4";
		else                         browser = "other";
	}
	
	function getObj(objID) {
		if (browser == "N6")         obj = document.getElementById(objID); 
		if (browser == "IE")         obj = document.all[objID]; 
		if (browser == "N4")         obj = document.layers[objID]; 
		//if (browser == "N4")         {;}
	}
	
	function getStyle(objID) {
		if (browser == "N6")    objStyle = document.getElementById(objID).style; 
		if (browser == "IE")    objStyle = document.all[objID].style; 
		if (browser == "N4")    objStyle = document.layers[objID];
	   //if (browser == "N4")    {;} 
	}
	
//-------------------------------------------------------------------------------------

	function bold(objID){
	if (browser == "N4") return;
	getStyle(objID);
	objStyle.fontWeight = 'bold';
	objStyle.textDecoration = 'none';
	
	}
	
	function unBold(objID){
	if (browser == "N4") return;
	getStyle(objID);
	objStyle.fontWeight = 'normal';
	objStyle.textDecoration = 'underline';
	
	}
	
	function unBoldAll(){
	if (browser == "N4") return;
		
		for(i=1;i<=numImg;i++) {
		unBold('lnk'+i);
		}
	
	}
	
	function hide(objID) {
	if (browser == "N4") return;
	getStyle(objID);
	objStyle.visibility = 'hidden';
	}
	
	function show(objID) {
	if (browser == "N4") return;
	getStyle(objID);
	objStyle.visibility = 'visible';
	}
	
	/*
	numImg = 3;
	curImg = 1;
	*/
	
	function hideAll() {
	if (browser == "N4") return;
	
		for(i=1;i<=numImg;i++) {
		hide('img'+i);
		hide('dsc'+i);
		}
	}
	
	function focusImg(id) {
	if (browser == "N4") return;
	hideAll()
	unBoldAll();
	show('img'+id);
	show('dsc'+id);
	bold('lnk'+id);
	curImg = id;
	}
	
	function next() {
	if(curImg == numImg) {
	//self.location = "credits2.html";
	//return;
	id = 1;	
	}
	else id = curImg + 1;
	hideAll()
	unBoldAll();
	show('img'+id);
	show('dsc'+id);
	bold('lnk'+id);
	curImg = id;
	}
	
	function prev() {
	if(curImg == 1) {
	//self.location = "credits2.html";
	//return;
	id = numImg;	
	}
	else id = curImg - 1;
	hideAll()
	unBoldAll();
	show('img'+id);
	show('dsc'+id);
	bold('lnk'+id);
	curImg = id;
	}
	
	
	function init() {
	if (location.search) {
	myfocus = location.search.substring(1);
	//alert(myfocus);
	getBrowser();
	hideAll();
	focusImg(myfocus);
	//bold('lnk1');
	
	}
	else {
	getBrowser();
	hideAll();
	focusImg(1);
	bold('lnk1');
	}
	}
