<!--
    //alert("Qui dentro"); 

    //alert(lang);
    browserName = navigator.appName;

    browserVer = parseInt(navigator.appVersion);

    if(browserName=="Netscape" && browserVer >= 3) ver = "yes";

    else ver = "yes";

    if(ver == "yes") 
    {
//rivedere; il button di base dipende dalla pagine nella quale siamo

	url = document.location;

	//alert("url " + url);
	
	if (section == "home")
	{
	

		home = new Image();
		home.src = path_img_dir + "buttons/Home_Btn_On.gif";

		biography = new Image(); 
		biography.src = path_img_dir + "buttons/Biography_Btn.gif";


		publications = new Image(); 
		publications.src = path_img_dir + "buttons/Publications_Btn.gif";

		research = new Image(); 
		research.src = path_img_dir + "buttons/Research_Btn.gif";

		teaching = new Image(); 
		teaching.src = path_img_dir + "buttons/Teaching_Btn.gif";

		//alert(home.src);
	}

	else
	if (section == "biography")
	{
		home = new Image();
		home.src = path_img_dir + "buttons/Home_Btn.gif";

		biography = new Image(); 
		biography.src = path_img_dir + "buttons/Biography_Btn_On.gif";

		publications = new Image(); 
		publications.src = path_img_dir + "buttons/Publications_Btn.gif";

		research = new Image(); 
		research.src = path_img_dir + "buttons/Research_Btn.gif";

		teaching = new Image(); 
		teaching.src = path_img_dir + "buttons/Teaching_Btn.gif";

	}
	else
	if (section == "publications")
	{
		home = new Image();
		home.src = path_img_dir + "buttons/Home_Btn.gif";

		biography = new Image(); 
		biography.src = path_img_dir + "buttons/Biography_Btn.gif";

		publications = new Image(); 
		publications.src = path_img_dir + "buttons/Publications_Btn_On.gif";

		research = new Image(); 
		research.src = path_img_dir + "buttons/Research_Btn.gif";

		teaching = new Image(); 
		teaching.src = path_img_dir + "buttons/Teaching_Btn.gif";
	}
	else
	if (section == "research")
	{
		home = new Image();
		home.src = path_img_dir + "buttons/Home_Btn.gif";

		biography = new Image(); 
		biography.src = path_img_dir + "buttons/Biography_Btn.gif";

		publications = new Image(); 
		publications.src = path_img_dir + "buttons/Publications_Btn.gif";

		research = new Image(); 
		research.src = path_img_dir + "buttons/Research_Btn_On.gif";

		teaching = new Image(); 
		teaching.src = path_img_dir + "buttons/Teaching_Btn.gif";
	}
	else
	if (section == "teaching")
	{

		home = new Image();
		home.src = path_img_dir + "buttons/Home_Btn.gif";

		biography = new Image(); 
		biography.src = path_img_dir + "buttons/Biography_Btn.gif";

		publications = new Image(); 
		publications.src = path_img_dir + "buttons/Publications_Btn.gif";

		research = new Image(); 
		research.src = path_img_dir + "buttons/Research_Btn.gif";

		teaching = new Image(); 
		teaching.src = path_img_dir + "buttons/Teaching_Btn_On.gif";
	}
	
	home_over = new Image(); 
	home_over.src = path_img_dir + "buttons/Home_Btn_Roll.gif";

	biography_over = new Image(); 
	biography_over.src = path_img_dir + "buttons/Biography_Btn_Roll.gif";

	publications_over = new Image(); 
	publications_over.src = path_img_dir + "buttons/Publications_Btn_Roll.gif";

	research_over = new Image(); 
	research_over.src = path_img_dir + "buttons/Research_Btn_Roll.gif";

	teaching_over = new Image(); 
	teaching_over.src = path_img_dir + "buttons/Teaching_Btn_Roll.gif";


    }


function active(imgName)
{

	//alert(imgName);
	if (ver == "yes") 
	{

		img1 = eval(imgName + ".src");


		document [imgName].src = img1;

	}
}



function inactive(imgName)
{

	//alert(imgName);
	if (ver == "yes") 
	{

		img2 = eval(imgName + "_over.src");

		document [imgName].src = img2;

	}
}


//-->