// JavaScript Document
function cambiar() 
{ 
var index=document.forms.formulario.trimestres.selectedIndex; 

formulario.meses.length=0; 
if(index==1)trimestre5();//todos
if(index==2) trimestre1(); // palma mallorca
if(index==3) trimestre2(); // llucmajor
if(index==4) trimestre3(); // marratxi
for ( i=5 ; i <= 74 ; i++)
{  if(index==i) trimestre4(); } // resto de pueblos
} ;

function trimestre1()
{ 
opcion0=new Option("TODAS","TODAS","defauldSelected"); 
opcion1=new Option("31 DICIEMBRE","31 DICIEMBRE"); 
opcion2=new Option("AMANECER","AMANECER"); 
opcion3=new Option("ANDREA DORIA","ANDREA DORIA"); 
opcion4=new Option ("ARABELLA","ARABELLA");
opcion5=new Option ("ARAGON","ARAGON");
opcion6=new Option ("ARCHIDUQUE","ARCHIDUQUE");
opcion7=new Option ("ARENAL","ARENAL");
opcion8=new Option("AUSIAS MARCH","AUSIAS MARCH"); 
opcion9=new Option ("AVDA. ARGENTINA","AVDA. ARGENTINA");
opcion10=new Option ("AVENIDAS","AVENIDAS");
opcion11=new Option("BALMES","BALMES"); 
opcion12=new Option ("BLANQUERNA","BLANQUERNA");
opcion13=new Option ("BONANOVA","BONANOVA");
opcion14=new Option ("C/MANACOR","C/MANACOR");
opcion15=new Option("CALA ESTANCIA","CALA ESTANCIA"); 
opcion16=new Option("CALA GAMBA","CALA GAMBA"); 
opcion17=new Option ("CALA MAJOR","CALA MAJOR");
opcion18=new Option ("CAMI DE JESUS","CAMI DE JESUS");
opcion19=new Option ("CAMP REDO","CAMP REDO");
opcion20=new Option("CAN BARBARA","CAN BARBARA"); 
opcion21=new Option ("CAN PASTILLA","CAN PASTILLA");
opcion22=new Option("CAPITAN SALOM","CAPITAN SALOM");
opcion23=new Option("CARREFOUR","CARREFOUR"); 
opcion24=new Option("CAS CAPITOL","CAS CAPITOL"); 
opcion25=new Option("CASA BLANCA","CASA BLANCA"); 
opcion26=new Option ("CASCO ANTIGUO","CASCO ANTIGUO");
opcion27=new Option("CASTELL BELLVER","CASTELL BELLVER"); 
opcion28=new Option ("CIUDAD JARDIN","CIUDAD JARDIN");
opcion29=new Option("COLEGIOS","COLEGIOS"); 
opcion30=new Option ("COLL RABASSA","COLL RABASSA");
opcion31=new Option ("COLLIURE","COLLIURE");
opcion32=new Option ("CRUZ ROJA","CRUZ ROJA");
opcion33=new Option("CTRA. VALLDEMOSSA","CTRA. VALLDEMOSSA"); 
opcion34=new Option ("EL TERRENO","EL TERRENO");
opcion35=new Option("ES PILARI","ES PILARI"); 
opcion36=new Option("ES PUNTIRO","ES PUNTIRO"); 
opcion37=new Option ("ESCORXADOR","ESCORXADOR");
opcion38=new Option ("ESTABLIMENTS","ESTABLIMENTS");
opcion39=new Option("ESTACIONES","ESTACIONES"); 
opcion40=new Option("ESTADIO BALEAR","ESTADIO BALEAR"); 
opcion41=new Option("EUSEBIO ESTADA","EUSEBIO ESTADA"); 
opcion42=new Option ("FORTI","FORTI");
opcion43=new Option ("GENOVA","GENOVA");
opcion44=new Option ("GRAL RIERA","GRAL RIERA");
opcion45=new Option("GRAL. RICARDO ORTEGA","GRAL. RICARDO ORTEGA"); 
opcion46=new Option("HONDEROS","HONDEROS"); 
opcion47=new Option("HOSTALETS","HOSTALETS"); 
opcion48=new Option("HOSTALOTS","HOSTALOTS"); 
opcion49=new Option ("INDIOTERIA","INDIOTERIA");
opcion50=new Option ("INSTITUTOS","INSTITUTOS");
opcion51=new Option ("JAIME III","JAIME III");
opcion52=new Option("JUAN ALCOVER","JUAN ALCOVER"); 
opcion53=new Option("LA BONANOVA","LA BONANOVA"); 
opcion54=new Option("LA GRUTA","LA GRUTA"); 
opcion55=new Option("LA LONJA","LA LONJA"); 
opcion56=new Option("LA RAMBLA","LA RAMBLA"); 
opcion57=new Option ("LA SOLEDAD","LA SOLEDAD");
opcion58=new Option ("LA VILETA","LA VILETA");
opcion59=new Option("LOS MOLINOS","LOS MOLINOS"); 
opcion60=new Option("LUIS VIVES","LUIS VIVES"); 
opcion61=new Option ("MARIVENT","MARIVENT");
opcion62=new Option ("MEDICO DARDER","MEDICO DARDER");
opcion63=new Option ("MOLINAR","MOLINAR");
opcion64=new Option("OCIMAX","OCIMAX"); 
opcion65=new Option("OLMOS","OLMOS"); 
opcion66=new Option ("PALMA CENTRO","PALMA CENTRO");
opcion67=new Option("PARC DE MAR","PARC DE MAR"); 
opcion68=new Option("PARC DE SES FONT","PARC DE SES FONT"); 
opcion69=new Option("PARC ESTADA","PARC ESTADA"); 
opcion70=new Option ("PASEO BORNE","PASEO BORNE");
opcion71=new Option ("PASEO MALLORCA","PASEO MALLORCA");
opcion72=new Option ("PASEO MARITIMO","PASEO MARITIMO");
opcion73=new Option ("PEDRO GARAU","PEDRO GARAU");
opcion74=new Option("PLAYA DE PALMA","PLAYA DE PALMA"); 
opcion75=new Option ("POL CAN VALERO","POL CAN VALERO");
opcion76=new Option ("POL LEVANTE","POL LEVANTE");
opcion77=new Option ("POL SON CASTELLO","POL SON CASTELLO");
opcion78=new Option("POLICLINICA","POLICLINICA"); 
opcion79=new Option ("PORTITXOL","PORTITXOL");
opcion80=new Option ("PORTO PI","PORTO PI");
opcion81=new Option("PUEBLO ESPAŅOL","PUEBLO ESPAŅOL"); 
opcion82=new Option ("PZA. ABU YAYA","PZA. ABU YAYA");
opcion83=new Option("PZA. CARDENAL PUIG","PZA. CARDENAL PUIG");
opcion84=new Option ("PZA. COLUMNAS","PZA. COLUMNAS");
opcion85=new Option ("PZA. ESPAŅA","PZA. ESPAŅA");
opcion86=new Option ("PZA. FLEMING","PZA. FLEMING");
opcion87=new Option("PZA. MADRID","PZA. MADRID"); 
opcion88=new Option("PZA. MAYOR","PZA. MAYOR"); 
opcion89=new Option("PZA. OLIVAR","PZA. OLIVAR"); 
opcion90=new Option("PZA. PARIS","PZA. PARIS"); 
opcion91=new Option ("PZA. PROGRES","PZA. PROGRES");
opcion92=new Option ("PZA. REINA","PZA. REINA");
opcion93=new Option("PZA. SAN COSME","PZA. SAN COSME"); 
opcion94=new Option("PZA. SERRALTA","PZA. SERRALTA"); 
opcion95=new Option ("PZA. TOROS","PZA. TOROS");
opcion96=new Option ("RAFAL NOU","RAFAL NOU");
opcion97=new Option ("RAFAL VELL","RAFAL VELL");
opcion98=new Option ("REYES CATOLICOS","REYES CATOLICOS");
opcion99=new Option("ROSALES","ROSALES"); 
opcion100=new Option("SA TAULERA","SA TAULERA"); 
opcion101=new Option ("SAN AGUSTIN","SAN AGUSTIN");
opcion101=new Option("SAN FERNANDO","SAN FERNANDO"); 
opcion102=new Option("SAN JORDI","SAN JORDI"); 
opcion103=new Option("SAN MIGUEL","SAN MIGUEL"); 
opcion104=new Option ("SANTA CATALINA","SANTA CATALINA");
opcion105=new Option ("SECAR DE LA REAL","SECAR DE LA REAL");
opcion106=new Option ("SEMINARIO","SEMINARIO");
opcion107=new Option ("SOMETIMES","SOMETIMES");
opcion108=new Option ("SON ANGLADA","SON ANGLADA");
opcion109=new Option ("SON ARMADAMS","SON ARMADAMS");
opcion110=new Option ("SON CLADERA","SON CLADERA");
opcion111=new Option ("SON COTONER","SON COTONER");
opcion112=new Option ("SON DAMETO","SON DAMETO");
opcion113=new Option ("SON ESPANYOL","SON ESPANYOL");
opcion114=new Option ("SON ESPANYOLET","SON ESPANYOLET");
opcion115=new Option ("SON FORTEZA","SON FORTEZA");
opcion116=new Option("SON FORTEZA NOU","SON FORTEZA NOU"); 
opcion117=new Option("SON FUSTER","SON FUSTER"); 
opcion118=new Option ("SON GOTLEU","SON GOTLEU");
opcion119=new Option("SON MACIA","SON MACIA"); 
opcion120=new Option("SON MOIX","SON MOIX"); 
opcion121=new Option("SON OLIVA","SON OLIVA"); 
opcion122=new Option("SON PERETO","SON PERETO"); 
opcion123=new Option ("SON RAPINYA","SON RAPINYA");
opcion124=new Option ("SON ROCA","SON ROCA");
opcion125=new Option("SON ROQUETA","SON ROQUETA"); 
opcion126=new Option("SON ROQUETA NOU","SON ROQUETA NOU"); 
opcion127=new Option("SON RULLAN","SON RULLAN"); 
opcion128=new Option("SON SAN JUAN","SON SAN JUAN"); 
opcion129=new Option ("SON SARDINA","SON SARDINA");
opcion130=new Option("SON SERRA","SON SERRA"); 
opcion131=new Option ("SON VIDA","SON VIDA");
opcion132=new Option ("SON XIGALA","SON XIGALA");
opcion133=new Option("S`ARANJASA","S`ARANJASA"); 
opcion134=new Option("TENIS","TENIS"); 
opcion135=new Option("TRAFICO","TRAFICO"); 
opcion136=new Option ("VIRGEN LLUC","VIRGEN LLUC");
opcion137=new Option ("VIVERO","VIVERO");
  
document.forms.formulario.meses.options[0]=opcion0; 
document.forms.formulario.meses.options[1]=opcion1; 
document.forms.formulario.meses.options[2]=opcion2; 
document.forms.formulario.meses.options[3]=opcion3; 
document.forms.formulario.meses.options[4]=opcion4; 
document.forms.formulario.meses.options[5]=opcion5; 
document.forms.formulario.meses.options[6]=opcion6; 
document.forms.formulario.meses.options[7]=opcion7; 
document.forms.formulario.meses.options[8]=opcion8; 
document.forms.formulario.meses.options[9]=opcion9;
document.forms.formulario.meses.options[10]=opcion10; 
document.forms.formulario.meses.options[11]=opcion11; 
document.forms.formulario.meses.options[12]=opcion12; 
document.forms.formulario.meses.options[13]=opcion13; 
document.forms.formulario.meses.options[14]=opcion14; 
document.forms.formulario.meses.options[15]=opcion15; 
document.forms.formulario.meses.options[16]=opcion16; 
document.forms.formulario.meses.options[17]=opcion17; 
document.forms.formulario.meses.options[18]=opcion18; 
document.forms.formulario.meses.options[19]=opcion19; 
document.forms.formulario.meses.options[20]=opcion20; 
document.forms.formulario.meses.options[21]=opcion21; 
document.forms.formulario.meses.options[22]=opcion22; 
document.forms.formulario.meses.options[23]=opcion23; 
document.forms.formulario.meses.options[24]=opcion24; 
document.forms.formulario.meses.options[25]=opcion25; 
document.forms.formulario.meses.options[26]=opcion26; 
document.forms.formulario.meses.options[27]=opcion27; 
document.forms.formulario.meses.options[28]=opcion28; 
document.forms.formulario.meses.options[29]=opcion29; 
document.forms.formulario.meses.options[30]=opcion30; 
document.forms.formulario.meses.options[31]=opcion31; 
document.forms.formulario.meses.options[32]=opcion32; 
document.forms.formulario.meses.options[33]=opcion33; 
document.forms.formulario.meses.options[34]=opcion34; 
document.forms.formulario.meses.options[35]=opcion35; 
document.forms.formulario.meses.options[36]=opcion36; 
document.forms.formulario.meses.options[37]=opcion37; 
document.forms.formulario.meses.options[38]=opcion38; 
document.forms.formulario.meses.options[39]=opcion39;
document.forms.formulario.meses.options[30]=opcion30; 
document.forms.formulario.meses.options[31]=opcion31; 
document.forms.formulario.meses.options[32]=opcion32; 
document.forms.formulario.meses.options[33]=opcion33; 
document.forms.formulario.meses.options[34]=opcion34; 
document.forms.formulario.meses.options[35]=opcion35; 
document.forms.formulario.meses.options[36]=opcion36; 
document.forms.formulario.meses.options[37]=opcion37; 
document.forms.formulario.meses.options[38]=opcion38; 
document.forms.formulario.meses.options[39]=opcion39;
document.forms.formulario.meses.options[40]=opcion40; 
document.forms.formulario.meses.options[41]=opcion41; 
document.forms.formulario.meses.options[42]=opcion42; 
document.forms.formulario.meses.options[43]=opcion43; 
document.forms.formulario.meses.options[44]=opcion44; 
document.forms.formulario.meses.options[45]=opcion45; 
document.forms.formulario.meses.options[46]=opcion46; 
document.forms.formulario.meses.options[47]=opcion47; 
document.forms.formulario.meses.options[48]=opcion48; 
document.forms.formulario.meses.options[49]=opcion49;
document.forms.formulario.meses.options[50]=opcion50; 
document.forms.formulario.meses.options[51]=opcion51; 
document.forms.formulario.meses.options[52]=opcion52; 
document.forms.formulario.meses.options[53]=opcion53; 
document.forms.formulario.meses.options[54]=opcion54; 
document.forms.formulario.meses.options[55]=opcion55; 
document.forms.formulario.meses.options[56]=opcion56; 
document.forms.formulario.meses.options[57]=opcion57; 
document.forms.formulario.meses.options[58]=opcion58; 
document.forms.formulario.meses.options[59]=opcion59;
document.forms.formulario.meses.options[60]=opcion60; 
document.forms.formulario.meses.options[61]=opcion61; 
document.forms.formulario.meses.options[62]=opcion62; 
document.forms.formulario.meses.options[63]=opcion63; 
document.forms.formulario.meses.options[64]=opcion64; 
document.forms.formulario.meses.options[65]=opcion65; 
document.forms.formulario.meses.options[66]=opcion66; 
document.forms.formulario.meses.options[67]=opcion67; 
document.forms.formulario.meses.options[68]=opcion68; 
document.forms.formulario.meses.options[69]=opcion69; 
document.forms.formulario.meses.options[70]=opcion70; 
document.forms.formulario.meses.options[71]=opcion71; 
document.forms.formulario.meses.options[72]=opcion72; 
document.forms.formulario.meses.options[73]=opcion73; 
document.forms.formulario.meses.options[74]=opcion74; 
document.forms.formulario.meses.options[75]=opcion75; 
document.forms.formulario.meses.options[76]=opcion76; 
document.forms.formulario.meses.options[77]=opcion77; 
document.forms.formulario.meses.options[78]=opcion78; 
document.forms.formulario.meses.options[79]=opcion79; 
document.forms.formulario.meses.options[80]=opcion80; 
document.forms.formulario.meses.options[81]=opcion81; 
document.forms.formulario.meses.options[82]=opcion82; 
document.forms.formulario.meses.options[83]=opcion83; 
document.forms.formulario.meses.options[84]=opcion84; 
document.forms.formulario.meses.options[85]=opcion85; 
document.forms.formulario.meses.options[86]=opcion86; 
document.forms.formulario.meses.options[87]=opcion87; 
document.forms.formulario.meses.options[88]=opcion88; 
document.forms.formulario.meses.options[89]=opcion89; 
document.forms.formulario.meses.options[90]=opcion90; 
document.forms.formulario.meses.options[91]=opcion91; 
document.forms.formulario.meses.options[92]=opcion92; 
document.forms.formulario.meses.options[93]=opcion93; 
document.forms.formulario.meses.options[94]=opcion94; 
document.forms.formulario.meses.options[95]=opcion95; 
document.forms.formulario.meses.options[96]=opcion96; 
document.forms.formulario.meses.options[97]=opcion97; 
document.forms.formulario.meses.options[98]=opcion98; 
document.forms.formulario.meses.options[99]=opcion99; 
document.forms.formulario.meses.options[100]=opcion100; 
document.forms.formulario.meses.options[101]=opcion101; 
document.forms.formulario.meses.options[102]=opcion102; 
document.forms.formulario.meses.options[103]=opcion103; 
document.forms.formulario.meses.options[104]=opcion104; 
document.forms.formulario.meses.options[105]=opcion105; 
document.forms.formulario.meses.options[106]=opcion106; 
document.forms.formulario.meses.options[107]=opcion107; 
document.forms.formulario.meses.options[108]=opcion108; 
document.forms.formulario.meses.options[109]=opcion109; 
document.forms.formulario.meses.options[110]=opcion110; 
document.forms.formulario.meses.options[111]=opcion111; 
document.forms.formulario.meses.options[112]=opcion112; 
document.forms.formulario.meses.options[113]=opcion113; 
document.forms.formulario.meses.options[114]=opcion114; 
document.forms.formulario.meses.options[115]=opcion115; 
document.forms.formulario.meses.options[116]=opcion116; 
document.forms.formulario.meses.options[117]=opcion117; 
document.forms.formulario.meses.options[118]=opcion118; 
document.forms.formulario.meses.options[119]=opcion119; 
document.forms.formulario.meses.options[120]=opcion120; 
document.forms.formulario.meses.options[121]=opcion121; 
document.forms.formulario.meses.options[122]=opcion122; 
document.forms.formulario.meses.options[123]=opcion123; 
document.forms.formulario.meses.options[124]=opcion124; 
document.forms.formulario.meses.options[125]=opcion125; 
document.forms.formulario.meses.options[126]=opcion126; 
document.forms.formulario.meses.options[127]=opcion127; 
document.forms.formulario.meses.options[128]=opcion128; 
document.forms.formulario.meses.options[129]=opcion129; 
document.forms.formulario.meses.options[130]=opcion130; 
document.forms.formulario.meses.options[131]=opcion131; 
document.forms.formulario.meses.options[132]=opcion132; 
document.forms.formulario.meses.options[133]=opcion133; 
document.forms.formulario.meses.options[134]=opcion134; 
document.forms.formulario.meses.options[135]=opcion135; 
document.forms.formulario.meses.options[136]=opcion136; 
document.forms.formulario.meses.options[137]=opcion137; 

} 

function trimestre2(){ 
opcion0=new Option("TODAS","TODAS","defauldSelected"); 
opcion1=new Option("PUEBLO","PUEBLO"); 
opcion2=new Option("BAHIA AZUL","BAHIA AZUL"); 
opcion3=new Option("CALA BLAVA","CALA BLAVA"); 
opcion4=new Option("CALA BLAVA","CALA BLAVA"); 
opcion5=new Option("CALA PI","CALA PI"); 
opcion6=new Option("LAS PALMERAS","LAS PALMERAS"); 
opcion7=new Option("MAIORIS","MAIORIS"); 
opcion8=new Option("SA TORRE","SA TORRE"); 
opcion9=new Option("SON TOELLS","SON TOELLS"); 
opcion10=new Option("SON VERI","SON VERI"); 
opcion11=new Option("SON VERI NOU","SON VERI NOU"); 
opcion12=new Option("S´ARENAL","S´ARENAL"); 

document.forms.formulario.meses.options[0]=opcion0; 
document.forms.formulario.meses.options[1]=opcion1; 
document.forms.formulario.meses.options[2]=opcion2; 
document.forms.formulario.meses.options[3]=opcion3; 
document.forms.formulario.meses.options[4]=opcion4; 
document.forms.formulario.meses.options[5]=opcion5; 
document.forms.formulario.meses.options[6]=opcion6; 
document.forms.formulario.meses.options[7]=opcion7; 
document.forms.formulario.meses.options[8]=opcion8; 
document.forms.formulario.meses.options[9]=opcion9; 
document.forms.formulario.meses.options[10]=opcion10; 
document.forms.formulario.meses.options[11]=opcion11; 
document.forms.formulario.meses.options[12]=opcion12; 

} 

function trimestre3(){ 

opcion0=new Option("TODAS","TODAS","defauldSelected"); 
opcion1=new Option("CAN CARBONELL","CAN CARBONELL","defauldSelected"); 
opcion2=new Option("CAS CAPITA","CAS CAPITA"); 
opcion3=new Option("ES CAULLS","ES CAULLS"); 
opcion4=new Option("ES FIGUERAL","ES FIGUERAL"); 
opcion5=new Option("MARRATXINET","MARRATXINET"); 
opcion6=new Option("PLA DE NA TESSA","PLA DE NA TESSA"); 
opcion7=new Option("PONT D´INCA","PONT D´INCA"); 
opcion8=new Option("PORTOL","PORTOL"); 
opcion9=new Option("SA CABANA","SA CABANA"); 
opcion10=new Option("SA CABANETA","SA CABANETA"); 
opcion11=new Option("SES CASES NOVAS","SES CASES NOVAS"); 
opcion12=new Option("SON RAMONELL","SON RAMONELL"); 

document.forms.formulario.meses.options[0]=opcion0; 
document.forms.formulario.meses.options[1]=opcion1; 
document.forms.formulario.meses.options[2]=opcion2; 
document.forms.formulario.meses.options[3]=opcion3; 
document.forms.formulario.meses.options[4]=opcion4; 
document.forms.formulario.meses.options[5]=opcion5; 
document.forms.formulario.meses.options[6]=opcion6; 
document.forms.formulario.meses.options[7]=opcion7; 
document.forms.formulario.meses.options[8]=opcion8; 
document.forms.formulario.meses.options[9]=opcion9; 
document.forms.formulario.meses.options[10]=opcion10; 
document.forms.formulario.meses.options[11]=opcion11; 
document.forms.formulario.meses.options[12]=opcion12; 

} 

function trimestre4(){ 
opcion0=new Option("TODAS","TODAS","defauldSelected"); 

document.forms.formulario.meses.options[0]=opcion0; 
} 
function trimestre5(){ 
opcion0=new Option("TODAS","TODAS","defauldSelected"); 

document.forms.formulario.meses.options[0]=opcion0; 
} 


