MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 6: Line 6:
/*------------------------------Australia states----------------------------*/
/*------------------------------Australia states----------------------------*/
$("#countryofAustralia").click(function(){$("#australiaStates").show();});
$("#countryofAustralia").click(function(){$("#australiaStates").show();});
$("#countryofAustralia2").click(function(){$("#australiaStates").show();$("#allLocations").show();});
$("#countryofAustralia2").click(function(){$("#australiaStates2").show();$("#allLocations").show();});
/*------------------------------Austria states----------------------------*/
/*------------------------------Austria states----------------------------*/
$("#countryofAustria").click(function(){$("#austriaStates").show();});
$("#countryofAustria").click(function(){$("#austriaStates").show();});
Line 12: Line 12:
/*------------------------------Belgium states----------------------------*/
/*------------------------------Belgium states----------------------------*/
$("#countryofBelgium").click(function(){$("#belgiumStates").show();});
$("#countryofBelgium").click(function(){$("#belgiumStates").show();});
$("#countryofBelgium2").click(function(){$("#belgiumStates").show();$("#allLocations").show();});
$("#countryofBelgium2").click(function(){$("#belgiumStates2").show();$("#allLocations").show();});
/*------------------------------Bolivia states----------------------------*/
/*------------------------------Bolivia states----------------------------*/
$("#countryofBolivia").click(function(){$("#boliviaStates").show();});
$("#countryofBolivia").click(function(){$("#boliviaStates").show();});
$("#countryofBolivia2").click(function(){$("#boliviaStates").show();$("#allLocations").show();});
$("#countryofBolivia2").click(function(){$("#boliviaStates2").show();$("#allLocations").show();});
/*------------------------------Brazil states----------------------------*/
/*------------------------------Brazil states----------------------------*/
$("#countryofBrazil").click(function(){$("#brazilStates").show();});
$("#countryofBrazil").click(function(){$("#brazilStates").show();});
$("#countryofBrazil2").click(function(){$("#brazilStates").show();$("#allLocations").show();});
$("#countryofBrazil2").click(function(){$("#brazilStates2").show();$("#allLocations").show();});
/*------------------------canada states---------------------------*/
/*------------------------canada states---------------------------*/
$("#countryofCanada").click(function(){$("#canadaStates").show();});
$("#countryofCanada").click(function(){$("#canadaStates").show();});
$("#countryofCanada2").click(function(){$("#canadaStates").show();$("#allLocations").show();});
$("#countryofCanada2").click(function(){$("#canadaStates2").show();$("#allLocations").show();});
/*------------------------------Chile states----------------------------*/
/*------------------------------Chile states----------------------------*/
$("#countryofChile").click(function(){$("#chileStates").show();});
$("#countryofChile").click(function(){$("#chileStates").show();});
$("#countryofChile2").click(function(){$("#chileStates").show();$("#allLocations").show();});
$("#countryofChile2").click(function(){$("#chileStates2").show();$("#allLocations").show();});
/*------------------------------Colombia states----------------------------*/
/*------------------------------Colombia states----------------------------*/
$("#countryofColombia").click(function(){$("#colombiaStates").show();});
$("#countryofColombia").click(function(){$("#colombiaStates").show();});
$("#countryofColombia2").click(function(){$("#colombiaStates").show();$("#allLocations").show();});
$("#countryofColombia2").click(function(){$("#colombiaStates2").show();$("#allLocations").show();});
/*------------------------costa rica states---------------------------*/
/*------------------------costa rica states---------------------------*/
$("#countryofCostaRica").click(function(){$("#costaRicaStates").show();});
$("#countryofCostaRica").click(function(){$("#costaRicaStates").show();});
$("#countryofCostaRica2").click(function(){$("#costaRicaStates").show();$("#allLocations").show();});
$("#countryofCostaRica2").click(function(){$("#costaRicaStates2").show();$("#allLocations").show();});
/*------------------------------Denmark states----------------------------*/
/*------------------------------Denmark states----------------------------*/
$("#countryofDenmark").click(function(){$("#denmarkStates").show();});
$("#countryofDenmark").click(function(){$("#denmarkStates").show();});
$("#countryofDenmark2").click(function(){$("#denmarkStates").show();$("#allLocations").show();});
$("#countryofDenmark2").click(function(){$("#denmarkStates2").show();$("#allLocations").show();});
/*------------------------------Dominican Republic states----------------------------*/
/*------------------------------Dominican Republic states----------------------------*/
$("#countryofDominicanRepublic").click(function(){$("#dominicanRepublicStates").show();});
$("#countryofDominicanRepublic").click(function(){$("#dominicanRepublicStates").show();});
$("#countryofDominicanRepublic2").click(function(){$("#dominicanRepublicStates").show();$("#allLocations").show();});
$("#countryofDominicanRepublic2").click(function(){$("#dominicanRepublicStates2").show();$("#allLocations").show();});
/*------------------------------Ecuador states----------------------------*/
/*------------------------------Ecuador states----------------------------*/
$("#countryofEcuador").click(function(){$("#ecuadorStates").show();});
$("#countryofEcuador").click(function(){$("#ecuadorStates").show();});
$("#countryofEcuador2").click(function(){$("#ecuadorStates").show();$("#allLocations").show();});
$("#countryofEcuador2").click(function(){$("#ecuadorStates2").show();$("#allLocations").show();});
/*------------------------------England states----------------------------*/
/*------------------------------England states----------------------------*/
$("#countryofEngland").click(function(){$("#englandStates").show();});
$("#countryofEngland").click(function(){$("#englandStates").show();});
$("#countryofEngland2").click(function(){$("#englandStates").show();$("#allLocations").show();});
$("#countryofEngland2").click(function(){$("#englandStates2").show();$("#allLocations").show();});
/*------------------------------Finland states----------------------------*/
/*------------------------------Finland states----------------------------*/
$("#countryofFinland").click(function(){$("#finlandStates").show();});
$("#countryofFinland").click(function(){$("#finlandStates").show();});
$("#countryofFinland2").click(function(){$("#finlandStates").show();$("#allLocations").show();});
$("#countryofFinland2").click(function(){$("#finlandStates2").show();$("#allLocations").show();});
/*------------------------------France states----------------------------*/
/*------------------------------France states----------------------------*/
$("#countryofFrance").click(function(){$("#franceStates").show();});
$("#countryofFrance").click(function(){$("#franceStates").show();});
$("#countryofFrance2").click(function(){$("#franceStates").show();$("#allLocations").show();});
$("#countryofFrance2").click(function(){$("#franceStates2").show();$("#allLocations").show();});
/*------------------------------French Polynesia states----------------------------*/
/*------------------------------French Polynesia states----------------------------*/
$("#countryofFrenchPolynesia").click(function(){$("#frenchPolynesiaStates").show();});
$("#countryofFrenchPolynesia").click(function(){$("#frenchPolynesiaStates").show();});
$("#countryofFrenchPolynesia2").click(function(){$("#frenchPolynesiaStates").show();$("#allLocations").show();});
$("#countryofFrenchPolynesia2").click(function(){$("#frenchPolynesiaStates2").show();$("#allLocations").show();});
/*------------------------------Guatemala states----------------------------*/
/*------------------------------Guatemala states----------------------------*/
$("#countryofGuatemala").click(function(){$("#guatemalaStates").show();});
$("#countryofGuatemala").click(function(){$("#guatemalaStates").show();});
$("#countryofGuatemala2").click(function(){$("#guatemalaStates").show();$("#allLocations").show();});
$("#countryofGuatemala2").click(function(){$("#guatemalaStates2").show();$("#allLocations").show();});
/*------------------------------Germany states----------------------------*/
/*------------------------------Germany states----------------------------*/
$("#countryofGermany").click(function(){$("#germanyStates").show();});
$("#countryofGermany").click(function(){$("#germanyStates").show();});
$("#countryofGermany2").click(function(){$("#germanyStates").show();$("#allLocations").show();});
$("#countryofGermany2").click(function(){$("#germanyStates2").show();$("#allLocations").show();});
/*------------------------------GermanEmpire states----------------------------*/
/*------------------------------GermanEmpire states----------------------------*/
$("#countryofGermanEmpire").click(function(){$("#germanEmpireStates").show();});
$("#countryofGermanEmpire").click(function(){$("#germanEmpireStates").show();});
$("#countryofGermanEmpire2").click(function(){$("#germanEmpireStates").show();$("#allLocations").show();});
$("#countryofGermanEmpire2").click(function(){$("#germanEmpireStates2").show();$("#allLocations").show();});
/*------------------------------Honduras states----------------------------*/
/*------------------------------Honduras states----------------------------*/
$("#countryofHonduras").click(function(){$("#hondurasStates").show();});
$("#countryofHonduras").click(function(){$("#hondurasStates").show();});
$("#countryofHonduras2").click(function(){$("#hondurasStates").show();$("#allLocations").show();});
$("#countryofHonduras2").click(function(){$("#hondurasStates2").show();$("#allLocations").show();});
/*------------------------------Hungary states----------------------------*/
/*------------------------------Hungary states----------------------------*/
$("#countryofHungary").click(function(){$("#hungaryStates").show();});
$("#countryofHungary").click(function(){$("#hungaryStates").show();});
$("#countryofHungary2").click(function(){$("#hungaryStates").show();$("#allLocations").show();});
$("#countryofHungary2").click(function(){$("#hungaryStates2").show();$("#allLocations").show();});
/*------------------------------Ireland states----------------------------*/
/*------------------------------Ireland states----------------------------*/
$("#countryofIreland").click(function(){$("#irelandStates").show();});
$("#countryofIreland").click(function(){$("#irelandStates").show();});
$("#countryofIreland2").click(function(){$("#irelandStates").show();$("#allLocations").show();});
$("#countryofIreland2").click(function(){$("#irelandStates2").show();$("#allLocations").show();});
/*------------------------------Isle of Man states----------------------------*/
/*------------------------------Isle of Man states----------------------------*/
$("#countryofIsleofMan").click(function(){$("#isleofManStates").show();});
$("#countryofIsleofMan").click(function(){$("#isleofManStates").show();});
$("#countryofIsleofMan2").click(function(){$("#isleofManStates").show();$("#allLocations").show();});
$("#countryofIsleofMan2").click(function(){$("#isleofManStates2").show();$("#allLocations").show();});
/*------------------------------Italy states----------------------------*/
/*------------------------------Italy states----------------------------*/
$("#countryofItaly").click(function(){$("#italyStates").show();});
$("#countryofItaly").click(function(){$("#italyStates").show();});
$("#countryofItaly2").click(function(){$("#italyStates").show();$("#allLocations").show();});
$("#countryofItaly2").click(function(){$("#italyStates2").show();$("#allLocations").show();});
/*------------------------------Liechtenstein states----------------------------*/
/*------------------------------Liechtenstein states----------------------------*/
$("#countryofLiechtenstein").click(function(){$("#liechtensteinStates").show();});
$("#countryofLiechtenstein").click(function(){$("#liechtensteinStates").show();});
$("#countryofLiechtensteina2").click(function(){$("#liechtensteinStates").show();$("#allLocations").show();});
$("#countryofLiechtensteina2").click(function(){$("#liechtensteinStates2").show();$("#allLocations").show();});
/*------------------------------Luxembourg states----------------------------*/
/*------------------------------Luxembourg states----------------------------*/
$("#countryofLuxembourg").click(function(){$("#luxembourgStates").show();});
$("#countryofLuxembourg").click(function(){$("#luxembourgStates").show();});
$("#countryofLuxembourg2").click(function(){$("#luxembourgStates").show();$("#allLocations").show();});
$("#countryofLuxembourg2").click(function(){$("#luxembourgStates2").show();$("#allLocations").show();});
/*-----------------------mexico states----------------------------------*/
/*-----------------------mexico states----------------------------------*/
$("#countryofMexico").click(function(){$("#mexicoStates").show();});
$("#countryofMexico").click(function(){$("#mexicoStates").show();});
$("#countryofMexico2").click(function(){$("#mexicoStates").show();$("#allLocations").show();});
$("#countryofMexico2").click(function(){$("#mexicoStates2").show();$("#allLocations").show();});
/*------------------------------Montserrat states----------------------------*/
/*------------------------------Montserrat states----------------------------*/
$("#countryofMontserrat").click(function(){$("#montserratStates").show();});
$("#countryofMontserrat").click(function(){$("#montserratStates").show();});
$("#countryofMontserrat2").click(function(){$("#montserratStates").show();$("#allLocations").show();});
$("#countryofMontserrat2").click(function(){$("#montserratStates2").show();$("#allLocations").show();});
/*------------------------------Netherlands states----------------------------*/
/*------------------------------Netherlands states----------------------------*/
$("#countryofNetherlands").click(function(){$("#NetherlandsStates").show();});
$("#countryofNetherlands").click(function(){$("#NetherlandsStates").show();});
$("#countryofNetherlands2").click(function(){$("#NetherlandsStates").show();$("#allLocations").show();});
$("#countryofNetherlands2").click(function(){$("#NetherlandsStates2").show();$("#allLocations").show();});
/*------------------------------NetherlandsAntilles states----------------------------*/
/*------------------------------NetherlandsAntilles states----------------------------*/
$("#countryofNetherlandsAntilles").click(function(){$("#netherlandsAntillesStates").show();});
$("#countryofNetherlandsAntilles").click(function(){$("#netherlandsAntillesStates").show();});
$("#countryofNetherlandsAntilles2").click(function(){$("#netherlandsAntillesStates").show();$("#allLocations").show();});
$("#countryofNetherlandsAntilles2").click(function(){$("#netherlandsAntillesStates2").show();$("#allLocations").show();});
/*------------------------------Nigeria states----------------------------*/
/*------------------------------Nigeria states----------------------------*/
$("#countryofNigeria").click(function(){$("#nigeriaStates").show();});
$("#countryofNigeria").click(function(){$("#nigeriaStates").show();});
$("#countryofNigeria2").click(function(){$("#igeriaStates").show();$("#allLocations").show();});
$("#countryofNigeria2").click(function(){$("#igeriaStates2").show();$("#allLocations").show();});
/*------------------------------Northern Ireland states----------------------------*/
/*------------------------------Northern Ireland states----------------------------*/
$("#countryofNorthernIreland").click(function(){$("#northernIrelandStates").show();});
$("#countryofNorthernIreland").click(function(){$("#northernIrelandStates").show();});
$("#countryofNorthernIreland2").click(function(){$("#northernIrelandStates").show();$("#allLocations").show();});
$("#countryofNorthernIreland2").click(function(){$("#northernIrelandStates2").show();$("#allLocations").show();});
/*------------------------------Norway states----------------------------*/
/*------------------------------Norway states----------------------------*/
$("#countryofNorway").click(function(){$("#norwayStates").show();});
$("#countryofNorway").click(function(){$("#norwayStates").show();});
$("#countryofNorway2").click(function(){$("#norwayStates").show();$("#allLocations").show();});
$("#countryofNorway2").click(function(){$("#norwayStates2").show();$("#allLocations").show();});
/*------------------------------Panama states----------------------------*/
/*------------------------------Panama states----------------------------*/
$("#countryofPanama").click(function(){$("#panamaStates").show();});
$("#countryofPanama").click(function(){$("#panamaStates").show();});
$("#countryofPanama2").click(function(){$("#panamaStates").show();$("#allLocations").show();});
$("#countryofPanama2").click(function(){$("#panamaStates2").show();$("#allLocations").show();});
/*------------------------------------------Paraguay states------------------------------*/
/*------------------------------------------Paraguay states------------------------------*/
$("#countryofParaguay").click(function(){$("#paraguayStates").show();});
$("#countryofParaguay").click(function(){$("#paraguayStates").show();});
$("#countryofParaguay2").click(function(){$("#paraguayStates").show();$("#allLocations").show();});
$("#countryofParaguay2").click(function(){$("#paraguayStates2").show();$("#allLocations").show();});
/*------------------------------Peru states----------------------------*/
/*------------------------------Peru states----------------------------*/
$("#countryofPeru").click(function(){$("#PeruStates").show();});
$("#countryofPeru").click(function(){$("#PeruStates").show();});
$("#countryofPeru2").click(function(){$("#PeruStates").show();$("#allLocations").show();});
$("#countryofPeru2").click(function(){$("#PeruStates2").show();$("#allLocations").show();});
/*-----------------------------philippines states----------------------------------------*/
/*-----------------------------philippines states----------------------------------------*/
$("#countryofPhilippines").click(function(){$("#philippinesStates").show();});
$("#countryofPhilippines").click(function(){$("#philippinesStates").show();});
Line 117: Line 117:
/*-----------------------------poland states----------------------------------------*/
/*-----------------------------poland states----------------------------------------*/
$("#countryofPoland").click(function(){$("#polandStates").show();});
$("#countryofPoland").click(function(){$("#polandStates").show();});
$("#countryofPoland2").click(function(){$("#polandStates").show();$("#allLocations").show();});
$("#countryofPoland2").click(function(){$("#polandStates2").show();$("#allLocations").show();});
/*-----------------------------portugual states----------------------------------------*/
/*-----------------------------portugual states----------------------------------------*/
$("#countryofPortugal").click(function(){$("#portugalStates").show();});
$("#countryofPortugal").click(function(){$("#portugalStates").show();});
$("#countryofPortugals2").click(function(){$("#portugalStates").show();$("#allLocations").show();});
$("#countryofPortugals2").click(function(){$("#portugalStates2").show();$("#allLocations").show();});
/*------------------------------Puerto Rico states----------------------------*/
/*------------------------------Puerto Rico states----------------------------*/
$("#countryofPuertoRico").click(function(){$("#puertoRicoStates").show();});
$("#countryofPuertoRico").click(function(){$("#puertoRicoStates").show();});
$("#countryofPuertoRico2").click(function(){$("#puertoRicoStates").show();$("#allLocations").show();});
$("#countryofPuertoRico2").click(function(){$("#puertoRicoStates2").show();$("#allLocations").show();});
/*------------------------------Saint Kitts & Nevis states----------------------------*/
/*------------------------------Saint Kitts & Nevis states----------------------------*/
$("#countryofSaintKittsandNevis").click(function(){$("#saintKittsandNevisStates").show();});
$("#countryofSaintKittsandNevis").click(function(){$("#saintKittsandNevisStates").show();});
$("#countryofSaintKittsandNevis2").click(function(){$("#saintKittsandNevisStates").show();$("#allLocations").show();});
$("#countryofSaintKittsandNevis2").click(function(){$("#saintKittsandNevisStates2").show();$("#allLocations").show();});
/*------------------------------Scotland states----------------------------*/
/*------------------------------Scotland states----------------------------*/
$("#countryofScotland").click(function(){$("#scotlandStates").show();});
$("#countryofScotland").click(function(){$("#scotlandStates").show();});
$("#countryofScotland2").click(function(){$("#scotlandStates").show();$("#allLocations").show();});
$("#countryofScotland2").click(function(){$("#scotlandStates2").show();$("#allLocations").show();});
/*------------------------------Slovakia states----------------------------*/
/*------------------------------Slovakia states----------------------------*/
$("#countryofSlovakia").click(function(){$("#slovakiaStates").show();});
$("#countryofSlovakia").click(function(){$("#slovakiaStates").show();});
$("#countryofSlovakia2").click(function(){$("#slovakiaStates").show();$("#allLocations").show();});
$("#countryofSlovakia2").click(function(){$("#slovakiaStates2").show();$("#allLocations").show();});
/*------------------------------South Africa states----------------------------*/
/*------------------------------South Africa states----------------------------*/
$("#countryofSouthAfrica").click(function(){$("#southAfricaStates").show();});
$("#countryofSouthAfrica").click(function(){$("#southAfricaStates").show();});
$("#countryofSouthAfrica2").click(function(){$("#southAfricaStates").show();$("#allLocations").show();});
$("#countryofSouthAfrica2").click(function(){$("#southAfricaStates2").show();$("#allLocations").show();});
/*------------------------------Spain states----------------------------*/
/*------------------------------Spain states----------------------------*/
$("#countryofSpain").click(function(){$("#spainStates").show();});
$("#countryofSpain").click(function(){$("#spainStates").show();});
$("#countryofSpain2").click(function(){$("#spainStates").show();$("#allLocations").show();});
$("#countryofSpain2").click(function(){$("#spainStates2").show();$("#allLocations").show();});
/*------------------------------Sweden states----------------------------*/
/*------------------------------Sweden states----------------------------*/
$("#countryofSweden").click(function(){$("#swedenStates").show();});
$("#countryofSweden").click(function(){$("#swedenStates").show();});
$("#countryofSweden2").click(function(){$("#swedenStates").show();$("#allLocations").show();});
$("#countryofSweden2").click(function(){$("#swedenStates2").show();$("#allLocations").show();});
/*------------------------------Switzerland states----------------------------*/
/*------------------------------Switzerland states----------------------------*/
$("#countryofSwitzerland").click(function(){$("#switzerlandStates").show();});
$("#countryofSwitzerland").click(function(){$("#switzerlandStates").show();});
$("#countryofSwitzerland2").click(function(){$("#switzerlandStates").show();$("#allLocations").show();});
$("#countryofSwitzerland2").click(function(){$("#switzerlandStates2").show();$("#allLocations").show();});
/*------------------------------united states---------------------------------*/
/*------------------------------united states---------------------------------*/
$("#countryofUnitedStates").click(function(){$("#UnitedStatesStates").show();});
$("#countryofUnitedStates").click(function(){$("#UnitedStatesStates").show();});
$("#countryofUnitedStates2").click(function(){$("#UnitedStatesStates").show();$("#allLocations").show();});
$("#countryofUnitedStates2").click(function(){$("#UnitedStatesStates2").show();$("#allLocations").show();});
/*------------------------------Uruguay states----------------------------*/
/*------------------------------Uruguay states----------------------------*/
$("#countryofUruguay").click(function(){$("#uruguayStates").show();});
$("#countryofUruguay").click(function(){$("#uruguayStates").show();});
$("#countryofUruguay2").click(function(){$("#uruguayStates").show();$("#allLocations").show();});
$("#countryofUruguay2").click(function(){$("#uruguayStates2").show();$("#allLocations").show();});
/*------------------------------Venezuela states----------------------------*/
/*------------------------------Venezuela states----------------------------*/
$("#countryofVenezuela").click(function(){$("#VenezuelaStates").show();});
$("#countryofVenezuela").click(function(){$("#VenezuelaStates").show();});
$("#countryofVenezuela2").click(function(){$("#VenezuelaStates").show();$("#allLocations").show();});
$("#countryofVenezuela2").click(function(){$("#VenezuelaStates2").show();$("#allLocations").show();});
/*------------------------------Wales states----------------------------*/
/*------------------------------Wales states----------------------------*/
$("#countryofWales").click(function(){$("#walesStates").show();});
$("#countryofWales").click(function(){$("#walesStates").show();});
$("#countryofWales2").click(function(){$("#walesStates").show();$("#allLocations").show();});
$("#countryofWales2").click(function(){$("#walesStates2").show();$("#allLocations").show();});