MediaWiki:Common.js: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 1: Line 1:
/*--------------------state or provinces show and hide----------------------------*/
$(document).ready(function(){
/*------------------------------Argentina states----------------------------*/
$("#countryofArgentina").click(function(){$("#argentinaStates").show();});
$("#countryofArgentina2").click(function(){$("#argentinaStates").show();$("#allLocations").show();});
/*------------------------------Australia states----------------------------*/
$("#countryofAustralia").click(function(){$("#australiaStates").show();});
$("#countryofAustralia2").click(function(){$("#australiaStates").show();$("#allLocations").show();});
/*------------------------------Austria states----------------------------*/
$("#countryofAustria").click(function(){$("#austriaStates").show();});
$("#countryofAustria2").click(function(){$("#austriaStates").show();$("#allLocations").show();});
/*------------------------------Belgium states----------------------------*/
$("#countryofBelgium").click(function(){$("#belgiumStates").show();});
$("#countryofBelgium2").click(function(){$("#belgiumStates").show();$("#allLocations").show();});
/*------------------------------Bolivia states----------------------------*/
$("#countryofBolivia").click(function(){$("#boliviaStates").show();});
$("#countryofBolivia2").click(function(){$("#boliviaStates").show();$("#allLocations").show();});
/*------------------------------Brazil states----------------------------*/
$("#countryofBrazil").click(function(){$("#brazilStates").show();});
$("#countryofBrazil2").click(function(){$("#brazilStates").show();$("#allLocations").show();});
/*------------------------canada states---------------------------*/
$("#countryofCanada").click(function(){$("#canadaStates").show();});
$("#countryofCanada2").click(function(){$("#canadaStates").show();$("#allLocations").show();});
/*------------------------------Chile states----------------------------*/
$("#countryofChile").click(function(){$("#chileStates").show();});
$("#countryofChile2").click(function(){$("#chileStates").show();$("#allLocations").show();});
/*------------------------------Colombia states----------------------------*/
$("#countryofColombia").click(function(){$("#colombiaStates").show();});
$("#countryofColombia2").click(function(){$("#colombiaStates").show();$("#allLocations").show();});
/*------------------------costa rica states---------------------------*/
$("#countryofCostaRica").click(function(){$("#costaRicaStates").show();});
$("#countryofCostaRica2").click(function(){$("#costaRicaStates").show();$("#allLocations").show();});
/*------------------------------Denmark states----------------------------*/
$("#countryofDenmark").click(function(){$("#denmarkStates").show();});
$("#countryofDenmark2").click(function(){$("#denmarkStates").show();$("#allLocations").show();});
/*------------------------------Dominican Republic states----------------------------*/
$("#countryofDominicanRepublic").click(function(){$("#dominicanRepublicStates").show();});
$("#countryofDominicanRepublic2").click(function(){$("#dominicanRepublicStates").show();$("#allLocations").show();});
/*------------------------------Ecuador states----------------------------*/
$("#countryofEcuador").click(function(){$("#ecuadorStates").show();});
$("#countryofEcuador2").click(function(){$("#ecuadorStates").show();$("#allLocations").show();});
/*------------------------------England states----------------------------*/
$("#countryofEngland").click(function(){$("#englandStates").show();});
$("#countryofEngland2").click(function(){$("#englandStates").show();$("#allLocations").show();});
/*------------------------------Finland states----------------------------*/
$("#countryofFinland").click(function(){$("#finlandStates").show();});
$("#countryofFinland2").click(function(){$("#finlandStates").show();$("#allLocations").show();});
/*------------------------------France states----------------------------*/
$("#countryofFrance").click(function(){$("#franceStates").show();});
$("#countryofFrance2").click(function(){$("#franceStates").show();$("#allLocations").show();});
/*------------------------------French Polynesia states----------------------------*/
$("#countryofFrenchPolynesia").click(function(){$("#frenchPolynesiaStates").show();});
$("#countryofFrenchPolynesia2").click(function(){$("#frenchPolynesiaStates").show();$("#allLocations").show();});
/*------------------------------Germany states----------------------------*/
$("#countryofGermany").click(function(){$("#germanyStates").show();});
$("#countryofGermany2").click(function(){$("#germanyStates").show();$("#allLocations").show();});
/*------------------------------GermanEmpire states----------------------------*/
$("#countryofGermanEmpire").click(function(){$("#germanEmpireStates").show();});
$("#countryofGermanEmpire2").click(function(){$("#germanEmpireStates").show();$("#allLocations").show();});
/*------------------------------Hungary states----------------------------*/
$("#countryofHungary").click(function(){$("#hungaryStates").show();});
$("#countryofHungary2").click(function(){$("#hungaryStates").show();$("#allLocations").show();});
/*------------------------------Ireland states----------------------------*/
$("#countryofIreland").click(function(){$("#irelandStates").show();});
$("#countryofIreland2").click(function(){$("#irelandStates").show();$("#allLocations").show();});
/*------------------------------Isle of Man states----------------------------*/
$("#countryofIsleofMan").click(function(){$("#isleofManStates").show();});
$("#countryofIsleofMan2").click(function(){$("#isleofManStates").show();$("#allLocations").show();});
/*------------------------------Italy states----------------------------*/
$("#countryofItaly").click(function(){$("#italyStates").show();});
$("#countryofItaly2").click(function(){$("#italyStates").show();$("#allLocations").show();});
/*------------------------------Liechtenstein states----------------------------*/
$("#countryofLiechtenstein").click(function(){$("#liechtensteinStates").show();});
$("#countryofLiechtensteina2").click(function(){$("#liechtensteinStates").show();$("#allLocations").show();});
/*------------------------------Luxembourg states----------------------------*/
$("#countryofLuxembourg").click(function(){$("#luxembourgStates").show();});
$("#countryofLuxembourg2").click(function(){$("#luxembourgStates").show();$("#allLocations").show();});
/*-----------------------mexico states----------------------------------*/
$("#countryofMexico").click(function(){$("#mexicoStates").show();});
$("#countryofMexico2").click(function(){$("#mexicoStates").show();$("#allLocations").show();});
/*------------------------------Netherlands states----------------------------*/
$("#countryofNetherlands").click(function(){$("#NetherlandsStates").show();});
$("#countryofNetherlands2").click(function(){$("#NetherlandsStates").show();$("#allLocations").show();});
/*------------------------------Nigeria states----------------------------*/
$("#countryofNigeria").click(function(){$("#nigeriaStates").show();});
$("#countryofNigeria2").click(function(){$("#igeriaStates").show();$("#allLocations").show();});
/*------------------------------Northern Ireland states----------------------------*/
$("#countryofNorthernIreland").click(function(){$("#northernIrelandStates").show();});
$("#countryofNorthernIreland2").click(function(){$("#northernIrelandStates").show();$("#allLocations").show();});
/*------------------------------Norway states----------------------------*/
$("#countryofNorway").click(function(){$("#norwayStates").show();});
$("#countryofNorway2").click(function(){$("#norwayStates").show();$("#allLocations").show();});
/*------------------------------Panama states----------------------------*/
$("#countryofPanama").click(function(){$("#panamaStates").show();});
$("#countryofPanama2").click(function(){$("#panamaStates").show();$("#allLocations").show();});
/*------------------------------------------Paraguay states------------------------------*/
$("#countryofParaguay").click(function(){$("#paraguayStates").show();});
$("#countryofParaguay2").click(function(){$("#paraguayStates").show();$("#allLocations").show();});
/*------------------------------Peru states----------------------------*/
$("#countryofPeru").click(function(){$("#peruStates").show();});
$("#countryofPeru2").click(function(){$("#peruStates").show();$("#allLocations").show();});
/*-----------------------------philippines states----------------------------------------*/
$("#countryofPhilippines").click(function(){$("#philippinesStates").show();});
$("#countryofPhilippines2").click(function(){$("#philippinesStates").show();$("#allLocations").show();});
/*-----------------------------poland states----------------------------------------*/
$("#countryofPoland").click(function(){$("#polandStates").show();});
$("#countryofPoland2").click(function(){$("#polandStates").show();$("#allLocations").show();});
/*-----------------------------portugual states----------------------------------------*/
$("#countryofPortugal").click(function(){$("#portugalStates").show();});
$("#countryofPortugals2").click(function(){$("#portugalStates").show();$("#allLocations").show();});
/*------------------------------Puerto Rico states----------------------------*/
$("#countryofPuertoRico").click(function(){$("#puertoRicoStates").show();});
$("#countryofPuertoRico2").click(function(){$("#puertoRicoStates").show();$("#allLocations").show();});
/*------------------------------Saint Kitts & Nevis states----------------------------*/
$("#countryofSaintKittsandNevis").click(function(){$("#saintKittsandNevisStates").show();});
$("#countryofSaintKittsandNevis2").click(function(){$("#saintKittsandNevisStates").show();$("#allLocations").show();});
/*------------------------------Scotland states----------------------------*/
$("#countryofScotland").click(function(){$("#scotlandStates").show();});
$("#countryofScotland2").click(function(){$("#scotlandStates").show();$("#allLocations").show();});
/*------------------------------Slovakia states----------------------------*/
$("#countryofSlovakia").click(function(){$("#slovakiaStates").show();});
$("#countryofSlovakia2").click(function(){$("#slovakiaStates").show();$("#allLocations").show();});
/*------------------------------South Africa states----------------------------*/
$("#countryofSouthAfrica").click(function(){$("#southAfricaStates").show();});
$("#countryofSouthAfrica2").click(function(){$("#southAfricaStates").show();$("#allLocations").show();});
/*------------------------------Spain states----------------------------*/
$("#countryofSpain").click(function(){$("#spainStates").show();});
$("#countryofSpain2").click(function(){$("#spainStates").show();$("#allLocations").show();});
/*------------------------------Sweden states----------------------------*/
$("#countryofSweden").click(function(){$("#swedenStates").show();});
$("#countryofSweden2").click(function(){$("#swedenStates").show();$("#allLocations").show();});
/*------------------------------Switzerland states----------------------------*/
$("#countryofSwitzerland").click(function(){$("#switzerlandStates").show();});
$("#countryofSwitzerland2").click(function(){$("#switzerlandStates").show();$("#allLocations").show();});
/*------------------------------united states---------------------------------*/
$("#countryofUnitedStates").click(function(){$("#UnitedStatesStates").show();});
$("#countryofUnitedStates2").click(function(){$("#UnitedStatesStates").show();$("#allLocations").show();});
/*------------------------------Uruguay states----------------------------*/
$("#countryofUruguay").click(function(){$("#uruguayStates").show();});
$("#countryofUruguay2").click(function(){$("#uruguayStates").show();$("#allLocations").show();});
/*------------------------------Venezuela states----------------------------*/
$("#countryofVenezuela").click(function(){$("#VenezuelaStates").show();});
$("#countryofVenezuela2").click(function(){$("#VenezuelaStates").show();$("#allLocations").show();});
/*------------------------------Wales states----------------------------*/
$("#countryofWales").click(function(){$("#walesStates").show();});
$("#countryofWales2").click(function(){$("#walesStates").show();$("#allLocations").show();});
/*-------------------country buttons show and hide------------------------*/
/*---------------------------north america-----------------------------------*/
$("#northAmericaButton").click(function(){
$("#northAmericanCountries").show();
$("#africaCountries").hide();
$("#allLocations").hide();
$("#asiaCountries").hide();
$("#Australia_OceaniaCountries").hide();
$("#europeCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
});
/*-------------------south america button-------------------------------*/
$("#southAmericaButton").click(function(){
$("#southAmericanCountries").show();
$("#africaCountries").hide();
$("#allLocations").hide();
$("#asiaCountries").hide();
$("#Australia_OceaniaCountries").hide();
$("#europeCountries").hide();
$("#northAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
});
/*-----------------------------europe button----------------------------*/
$("#europeButton").click(function(){
$("#europeCountries").show();   
$("#africaCountries").hide();
$("#allLocations").hide();
$("#asiaCountries").hide();
$("#Australia_OceaniaCountries").hide();
$("#northAmericanCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
});
/*------------------------------australia and oceanian------------------------------*/
$("#Australia_OceaniaButton").click(function(){
$("#Australia_OceaniaCountries").show();   
$("#africaCountries").hide();
$("#allLocations").hide();
$("#asiaCountries").hide();
$("#europeCountries").hide();
$("#northAmericanCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
  });
/*---------------------------africa button-----------------------------------*/
$("#africaButton").click(function(){
$("#africaCountries").show();
$("#allLocations").hide ();
$("#asiaCountries").hide();
$("#Australia_OceaniaCountries").hide();
$("#europeCountries").hide();
$("#northAmericanCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#columbiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
  }); 
/*---------------------------asia button------------------------------*/
$("#asiaButton").click(function(){
$("#asiaCountries").show();   
$("#africaCountries").hide();
$("#allLocations").hide ();
$("#Australia_OceaniaCountries").hide();
$("#europeCountries").hide();
$("#northAmericanCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#columbiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
  }); 
/*-----------------------all location button-----------------------------*/
$("#allLocationButton").click(function(){
$("#allLocations").show ();
$("#africaCountries").hide();
$("#asiaCountries").hide();
$("#Australia_OceaniaCountries").hide();
$("#europeCountries").hide();
$("#northAmericanCountries").hide();
$("#southAmericanCountries").hide();
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
});
/*------------------------------------exit Icon from list of countries------------------*/
$(".exitIcon").click(function(){
$("#northAmericanCountries").hide();
$("#africaCountries").hide();
$("#southAmericanCountries").hide();
$("#europeCountries").hide(); 
$("#Australia_OceaniaCountries").hide();
$("#asiaCountries").hide();
$("#allLocations").hide (); 
});
$(".exitIcon2").click(function(){
$("#argentinaStates").hide();
$("#australiaStates").hide();
$("#austriaStates").hide();
$("#belgiumStates").hide();
$("#boliviaStates").hide();
$("#brazilStates").hide();
$("#canadaStates").hide();
$("#chileStates").hide();
$("#colombiaStates").hide();
$("#costaRicaStates").hide();
$("#denmarkStates").hide();
$("#dominicanRepublicStates").hide();
$("#ecuadorStates").hide();
$("#englandStates").hide();
$("#finlandStates").hide();
$("#franceStates").hide();
$("#frenchPolynesiaStates").hide();
$("#germanEmpireStates").hide();
$("#germanyStates").hide();
$("#guatemalaStates").hide();
$("#hondurasStates").hide();
$("#hungaryStates").hide();
$("#irelandStates").hide();
$("#isleofManStates").hide();
$("#italyStates").hide();
$("#liechtensteinStates").hide();
$("#luxembourgStates").hide();
$("#mexicoStates").hide();
$("#montserratStates").hide();
$("#netherlandsAntillesStates").hide();
$("#NetherlandsStates").hide();
$("#nigeriaStates").hide();
$("#northernIrelandStates").hide();
$("#norwayStates").hide();
$("#panamaStates").hide();
$("#paraguayStates").hide();
$("#peruStates").hide();
$("#philippinesStates").hide();
$("#polandStates").hide();
$("#portugalStates").hide();
$("#puertoRicoStates").hide();
$("#saintKutsandNevisStates").hide();
$("#scotlandStates").hide();
$("#slovakiaStates").hide();
$("#southAfricaStates").hide();
$("#spainStates").hide();
$("#swedenStates").hide();
$("#switzerlandStates").hide();
$("#UnitedStatesStates").hide();
$("#uruguayStates").hide();
$("#VenezuelaStates").hide();
$("#walesStates").hide();
});
});


/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits