function clavida_change_language(from, to)  { function explodeArray(item, delimiter){         tempArray=new Array(1);         var Count=0;         var tempString=new String(item);         while (tempString.indexOf(delimiter)>0) {           tempArray[Count]=tempString.substr(0,tempString.indexOf(delimiter));           tempString=tempString.substr(tempString.indexOf(delimiter)+1,tempString.length-tempString.indexOf(delimiter)+1);            Count=Count+1         }         tempArray[Count]=tempString;         return tempArray;}   var chaine = parent.display.location.href;var chaine_out;var old_str;var new_str;switch (from)	{	case "french":		old_str = "_f";		break;	case "spanish":		old_str = "_s";		break;	case "english":		old_str = "_e";		break;	case "german":		old_str = "_d";		break;	}	switch (to)	{	case "french":		new_str = "_f";		break;	case "spanish":		new_str = "_s";		break;	case "english":		new_str = "_e";		break;	case "german":		new_str = "_d";		break;	}chaine_out = explodeArray(chaine, old_str);fin_chaine = ".html";chaine_finale = chaine_out[0] + new_str +  fin_chaine;return(chaine_finale);};