/* This script and many more are available free online atThe JavaScript Source!! http://javascript.internet.comCreated by: Sandeep Gangadharan | http://www.sivamdesign.com/scripts/ */function changer(link) {  if (link=="") {    return; }//======================// Edit this portion below. For each new state copy and paste// the entire IF statement and change the name of the state and the cities.// Make sure the spelling of the state is the same in the IF statement and in the link.  if (link=="Domini") {    document.theForm.theState.value="Domini";
    var theOptions=new Array (
		"Indice",
      "Domini",      "Seminari",      "Conferenze",      "Manifestazioni",      "Ricerca materiale",      "Epilogo"); }
  else if (link=="Enciclopedia") {    document.theForm.theState.value="Enciclopedia";    var theOptions=new Array (      "Indice",      "Domini",      "Seminari",      "Conferenze",      "Manifestazioni",      "Ricerca materiale",      "Epilogo"); }  else if (link=="MmP") {    document.theForm.theState.value="MmP";    var theOptions=new Array (      "Albany",      "East Rockaway",      "New York City"); }  else if (link=="Dispense") {    document.theForm.theState.value="Dispense";    var theOptions=new Array (      "Albany",      "East Rockaway",      "New York City"); }  else if (link=="Lucidi") {    document.theForm.theState.value="Lucidi";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }  else if (link=="Strumenti") {    document.theForm.theState.value="Strumenti";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }  else if (link=="Immagini") {    document.theForm.theState.value="Immagini";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }  else if (link=="Tutoria") {    document.theForm.theState.value="Tutoria";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }  else if (link=="Ricettari") {    document.theForm.theState.value="Ricettari";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }  else if (link=="CSA") {    document.theForm.theState.value="CSA";    var theOptions=new Array (      "Alameda",      "Bakersfield",      "Burbank",      "Los Angeles"); }
// Do not edit anything below this line://======================  i = document.theForm.secondChoice.options.length;    if (i > 0) {      document.theForm.secondChoice.options.length -= i; document.theForm.secondChoice.options[i] = null;    }  var theCount=0;  for (e=0; e<theOptions.length; e++) {    document.theForm.secondChoice.options[theCount] = new Option();    document.theForm.secondChoice.options[theCount].text = theOptions[e];    document.theForm.secondChoice.options[theCount].value = theOptions[e];    theCount=theCount+1; }}//  NOTE: [document.theForm.theState.value] will get you the name of the state,//  and [document.theForm.secondChoice.value] the name of the city chosen	
	document.write(value);
