function cambiar()
{
var index=document.forms.formulario.Municipality.selectedIndex;

formulario.City.length=0;

if(index==0) All();
if(index==1) CentralGreece();
if(index==2) Peloponnese();
if(index==3) NorthGreece(); 
if(index==4) Crete();
if(index==5) IonianIslands();
if(index==6) DodecaneseIslands();
if(index==7) CycladesIslands();
if(index==8) AegeanSea();
if(index==9) SaronicIslands();
}

function All(){
opcion0=new Option("Todos","%","defaultSelected");
opcion1=new Option("ATENAS","ATHENS");
opcion2=new Option("PATRAS","PATRAS");
opcion3=new Option("NAFPLIO","NAFPLIO");
opcion4=new Option("PYLOS","PYLOS");
opcion5=new Option("OLYMPIA","OLYMPIA");
opcion6=new Option("ELAFONISOS","ELAFONISOS");
opcion7=new Option("TESALONICA","THESSALONIKI");
opcion8=new Option("HALKIDIKI","HALKIDIKI");
opcion9=new Option("VERMIO-NAOUSSA","VERMIO-NAOUSSA");
opcion10=new Option("CHANIA","CHANIA");
opcion11=new Option("CORFU","CORFU");
opcion12=new Option("ZAKYNTHOS","ZAKYNTHOS");
opcion13=new Option("LEFKADA","LEFKADA");
opcion14=new Option("ITHAKI","ITHAKI");
opcion15=new Option("CEFALONIA","CEFALONIA");
opcion16=new Option("PAXI-ANTIPAXI","PAXI-ANTIPAXI");
opcion17=new Option("KYTHIRA","KYTHIRA");
opcion18=new Option("RODAS","RHODES");
opcion19=new Option("KOS","KOS");
opcion20=new Option("PATMOS","PATMOS");
opcion21=new Option("KALYMNOS","KALYMNOS");
opcion22=new Option("ANDROS","ANDROS");
opcion23=new Option("MILOS","MILOS");
opcion24=new Option("MYKONOS","MYKONOS");
opcion25=new Option("NAXOS","NAXOS");
opcion26=new Option("PAROS","PAROS");
opcion27=new Option("SANTORINI","SANTORINI");
opcion28=new Option("TINOS","TINOS");
opcion29=new Option("EVOIA","EVOIA");
opcion30=new Option("SAMOS","SAMOS");
opcion31=new Option("LIMNOS","LIMNOS");
opcion32=new Option("SPETSES","SPETSES");
opcion33=new Option("YDRA","YDRA");
opcion34=new Option("AGION OROS","AGION OROS");
opcion35=new Option("IOANNINA","IOANNINA");
opcion36=new Option("KARPENISI","KARPENISI");
opcion37=new Option("DELFOS","DELFI");
opcion38=new Option("ARACHOVA","ARACHOVA");
opcion39=new Option("METHONI","METHONI");
opcion40=new Option("KORONI","KORONI");
opcion41=new Option("RETHYMNO","RETHYMNO");
opcion42=new Option("HERAKLION","IRAKLIO");
opcion43=new Option("LASITHI","LASITHI");
opcion44=new Option("IOS","IOS");
opcion45=new Option("POROS","POROS");
opcion46=new Option("MONEMVASIA","MONEMVASIA");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2;
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 
document.forms.formulario.City.options[5]=opcion5; 
document.forms.formulario.City.options[6]=opcion6; 
document.forms.formulario.City.options[7]=opcion7; 
document.forms.formulario.City.options[8]=opcion8; 
document.forms.formulario.City.options[9]=opcion9; 
document.forms.formulario.City.options[10]=opcion10; 
document.forms.formulario.City.options[11]=opcion11; 
document.forms.formulario.City.options[12]=opcion12; 
document.forms.formulario.City.options[13]=opcion13; 
document.forms.formulario.City.options[14]=opcion14; 
document.forms.formulario.City.options[15]=opcion15; 
document.forms.formulario.City.options[16]=opcion16; 
document.forms.formulario.City.options[17]=opcion17; 
document.forms.formulario.City.options[18]=opcion18; 
document.forms.formulario.City.options[19]=opcion19; 
document.forms.formulario.City.options[20]=opcion20; 
document.forms.formulario.City.options[21]=opcion21; 
document.forms.formulario.City.options[22]=opcion22; 
document.forms.formulario.City.options[23]=opcion23; 
document.forms.formulario.City.options[24]=opcion24; 
document.forms.formulario.City.options[25]=opcion25; 
document.forms.formulario.City.options[26]=opcion26; 
document.forms.formulario.City.options[27]=opcion27; 
document.forms.formulario.City.options[28]=opcion28; 
document.forms.formulario.City.options[29]=opcion29; 
document.forms.formulario.City.options[30]=opcion30; 
document.forms.formulario.City.options[31]=opcion31; 
document.forms.formulario.City.options[32]=opcion32; 
document.forms.formulario.City.options[33]=opcion33; 
document.forms.formulario.City.options[34]=opcion34; 
document.forms.formulario.City.options[35]=opcion35; 
document.forms.formulario.City.options[36]=opcion36; 
document.forms.formulario.City.options[37]=opcion37; 
document.forms.formulario.City.options[38]=opcion38; 
document.forms.formulario.City.options[39]=opcion39; 
document.forms.formulario.City.options[40]=opcion40; 
document.forms.formulario.City.options[41]=opcion41; 
document.forms.formulario.City.options[42]=opcion42; 
document.forms.formulario.City.options[43]=opcion43; 
document.forms.formulario.City.options[44]=opcion44; 
document.forms.formulario.City.options[45]=opcion45; 
document.forms.formulario.City.options[46]=opcion46; 
}

function CentralGreece(){
opcion0=new Option("Todos","%","defaultSelected");
opcion1=new Option("ATENAS","ATHENS");
opcion2=new Option("KARPENISI","KARPENISI");
opcion3=new Option("ARACHOVA","ARACHOVA");
opcion4=new Option("DELFOS","DELFI");


document.forms.formulario.City.options[0]=opcion0; 
document.forms.formulario.City.options[1]=opcion1; 
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3;
document.forms.formulario.City.options[4]=opcion4;
}

function Peloponnese(){

opcion0=new Option("Todos","%");
opcion1=new Option("NAFPLIO","NAFPLIO");
opcion2=new Option("PYLOS","PYLOS");
opcion3=new Option("OLYMPIA","OLYMPIA");
opcion4=new Option("ELAFONISOS","ELAFONISOS");
opcion5=new Option("PATRAS","PATRAS");
opcion6=new Option("METHONI","METHONI");
opcion7=new Option("KORONI","KORONI");
opcion8=new Option("MONEMVASIA","MONEMVASIA");


document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 
document.forms.formulario.City.options[5]=opcion5; 
document.forms.formulario.City.options[6]=opcion6; 
document.forms.formulario.City.options[7]=opcion7; 
document.forms.formulario.City.options[8]=opcion8; 
}

function NorthGreece(){

opcion0=new Option("Todos","%");
opcion1=new Option("HALKIDIKI","HALKIDIKI");
opcion2=new Option("VERMIO-NAOUSSA","VERMIO-NAOUSSA");
opcion3=new Option("THESSALONIKI","THESSALONIKI");
opcion4=new Option("AGION-OROS","AGION-OROS");
opcion5=new Option("IOANNINA","IOANNINA");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 
document.forms.formulario.City.options[5]=opcion5; 
}

function Crete(){

opcion0=new Option("Todos","%");
opcion1=new Option("CHANIA","CHANIA");
opcion2=new Option("RETHYMNO","RETHYMNO");
opcion3=new Option("HERAKLION","IRAKLIO");
opcion4=new Option("LASITHI","LASITHI");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 

}

function IonianIslands(){

opcion0=new Option("Todos","%");
opcion1=new Option("ZAKYNTHOS","ZAKYNTHOS");
opcion2=new Option("LEFKADA","LEFKADA");
opcion3=new Option("ITACA","ITHAKI");
opcion4=new Option("CEFALONIA","CEFALONIA");
opcion5=new Option("PAXI-ANTIPAXI","PAXI-ANTIPAXI");
opcion6=new Option("KYTHIRA","KYTHIRA");
opcion7=new Option("CORFU","CORFU");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 
document.forms.formulario.City.options[5]=opcion5; 
document.forms.formulario.City.options[6]=opcion6; 
document.forms.formulario.City.options[7]=opcion7; 
}

function DodecaneseIslands(){

opcion0=new Option("Todos","%");
opcion1=new Option("KOS","KOS");
opcion2=new Option("PATMOS","PATMOS");
opcion3=new Option("KALYMNOS","KALYMNOS");
opcion4=new Option("RODAS","RHODES");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
document.forms.formulario.City.options[4]=opcion4; 
}

function CycladesIslands(){

opcion0=new Option("Todos","%");
opcion1=new Option("MILOS","MILOS");
opcion2=new Option("MYKONOS","MYKONOS");
opcion3=new Option("NAXOS","NAXOS");
opcion4=new Option("PAROS","PAROS");
opcion5=new Option("SANTORINI","SANTORINI");
opcion6=new Option("TINOS","TINOS");
opcion7=new Option("ANDROS","ANDROS");
opcion8=new Option("IOS","IOS");

document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3;
document.forms.formulario.City.options[4]=opcion4;
document.forms.formulario.City.options[5]=opcion5;
document.forms.formulario.City.options[6]=opcion6;
document.forms.formulario.City.options[7]=opcion7;
document.forms.formulario.City.options[7]=opcion8;
}

function AegeanSea(){

opcion0=new Option("Todos","%");
opcion1=new Option("SAMOS","SAMOS");
opcion2=new Option("LIMNOS","LIMNOS");
opcion3=new Option("EVOIA","EVOIA");


document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
}

function SaronicIslands(){

opcion0=new Option("Todos","%");
opcion1=new Option("POROS","POROS");
opcion2=new Option("SPETSES","SPETSES");
opcion3=new Option("YDRA","YDRA");


document.forms.formulario.City.options[0]=opcion0;
document.forms.formulario.City.options[1]=opcion1;
document.forms.formulario.City.options[2]=opcion2; 
document.forms.formulario.City.options[3]=opcion3; 
}
