User:Ccsmith/common.js

/*-wiki3--*/

$(document).ready(function{	$("#button2").click(function{ $("#box3").hide; $("#box2").show(1000); }); }); $(document).ready(function{	$("#button3").click(function{ $("#box2").hide $("#box3").show(1000); }); }); /*wiki 2--*/ $(document).ready(function{ $("#wiki_pages_link").hover(function{ $("#wiki_pages_tooltip, #wiki_pages_tooltip_point").toggle; }); }); $(document).ready(function{ $("#guided_research_link").hover(function{ $("#guided_research_tooltip, #guided_research_tooltip_point").toggle; }); }); $(document).ready(function{ $("#FS_records_link").hover(function{ $("#FS_records_tooltip, #FS_records_tooltip_point").toggle; }); }); /*usa side menu*/ $(document).ready(function{ $("#usa_list").click(function{ $("#usa_states").animate({left: '3px'}); }); }); $(document).ready(function{ $("#usa_list2").click(function{ $("#usa_states").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#usa_states").animate({left: '-500px'}); }); }); /*-alabama counties-*/ $(document).ready(function{ $("#AL_list").click(function{ $("#AL_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#AL_counties").animate({left: '-500px'}); }); }); /*-alaska counties-*/ $(document).ready(function{ $("#AK_list").click(function{ $("#AK_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#AK_counties").animate({left: '-500px'}); }); }); /*-arizona counties-*/ $(document).ready(function{ $("#AZ_list").click(function{ $("#AZ_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#AZ_counties").animate({left: '-500px'}); }); }); /*-arkansas counties-*/ $(document).ready(function{ $("#AR_list").click(function{ $("#AR_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#AR_counties").animate({left: '-500px'}); }); }); /*-california counties-*/ $(document).ready(function{ $("#CA_list").click(function{ $("#CA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#CA_counties").animate({left: '-500px'}); }); }); /*-colorado counties-*/ $(document).ready(function{ $("#CO_list").click(function{ $("#CO_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#CO_counties").animate({left: '-500px'}); }); }); /*-connecticut counties-*/ $(document).ready(function{ $("#CT_list").click(function{ $("#CT_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#CT_counties").animate({left: '-500px'}); }); }); /*-deleware counties-*/ $(document).ready(function{ $("#DE_list").click(function{ $("#DE_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#DE_counties").animate({left: '-500px'}); }); });

/*-florida counties-*/ $(document).ready(function{ $("#FL_list").click(function{ $("#FL_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#FL_counties").animate({left: '-500px'}); }); }); /*-georgia counties-*/ $(document).ready(function{ $("#GA_list").click(function{ $("#GA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#GA_counties").animate({left: '-500px'}); }); }); /*-hawaii counties-*/ $(document).ready(function{ $("#HI_list").click(function{ $("#HI_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#HI_counties").animate({left: '-500px'}); }); }); /*-idaho counties-*/ $(document).ready(function{ $("#ID_list").click(function{ $("#ID_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#ID_counties").animate({left: '-500px'}); }); }); /*-illinois counties-*/ $(document).ready(function{ $("#IL_list").click(function{ $("#IL_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#IL_counties").animate({left: '-500px'}); }); }); /*-indiana counties-*/ $(document).ready(function{ $("#IN_list").click(function{ $("#IN_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#IN_counties").animate({left: '-500px'}); }); }); /*-iowa counties-*/ $(document).ready(function{ $("#IA_list").click(function{ $("#IA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#IA_counties").animate({left: '-500px'}); }); }); /*-kansas counties-*/ $(document).ready(function{ $("#KS_list").click(function{ $("#KS_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#KS_counties").animate({left: '-500px'}); }); }); /*-kentucky counties-*/ $(document).ready(function{ $("#KY_list").click(function{ $("#KY_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#KY_counties").animate({left: '-500px'}); }); }); /*-louisiana counties-*/ $(document).ready(function{ $("#LA_list").click(function{ $("#LA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#LA_counties").animate({left: '-500px'}); }); }); /*-maine counties-*/ $(document).ready(function{ $("#ME_list").click(function{ $("#ME_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#ME_counties").animate({left: '-500px'}); }); }); /*-maryland counties-*/ $(document).ready(function{ $("#MD_list").click(function{ $("#MD_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MD_counties").animate({left: '-500px'}); }); }); /*-massachusetts counties-*/ $(document).ready(function{ $("#MA_list").click(function{ $("#MA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MA_counties").animate({left: '-500px'}); }); }); /*-michigan counties-*/ $(document).ready(function{ $("#MI_list").click(function{ $("#MI_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MI_counties").animate({left: '-500px'}); }); }); /*-minnesota counties-*/ $(document).ready(function{ $("#MN_list").click(function{ $("#MN_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MN_counties").animate({left: '-500px'}); }); }); /*-mississippi counties-*/ $(document).ready(function{ $("#MS_list").click(function{ $("#MS_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MS_counties").animate({left: '-500px'}); }); }); /*-missouri counties-*/ $(document).ready(function{ $("#MO_list").click(function{ $("#MO_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MO_counties").animate({left: '-500px'}); }); }); /*-montana counties-*/ $(document).ready(function{ $("#MT_list").click(function{ $("#MT_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#MT_counties").animate({left: '-500px'}); }); }); /*-nebraska counties-*/ $(document).ready(function{ $("#NE_list").click(function{ $("#NE_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NE_counties").animate({left: '-500px'}); }); }); /*-nevada counties-*/ $(document).ready(function{ $("#NV_list").click(function{ $("#NV_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NV_counties").animate({left: '-500px'}); }); }); /*-new hampshire counties-*/ $(document).ready(function{ $("#NH_list").click(function{ $("#NH_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NH_counties").animate({left: '-500px'}); }); }); /*-new jersey counties-*/ $(document).ready(function{ $("#NJ_list").click(function{ $("#NJ_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NJ_counties").animate({left: '-500px'}); }); }); /*-new mexico counties-*/ $(document).ready(function{ $("#NM_list").click(function{ $("#NM_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NM_counties").animate({left: '-500px'}); }); }); /*-new york counties-*/ $(document).ready(function{ $("#NY_list").click(function{ $("#NY_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NY_counties").animate({left: '-500px'}); }); }); /*-north carolina counties-*/ $(document).ready(function{ $("#NC_list").click(function{ $("#NC_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#NC_counties").animate({left: '-500px'}); }); }); /*-north dakota	 counties-*/ $(document).ready(function{ $("#ND_list").click(function{ $("#ND_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#ND_counties").animate({left: '-500px'}); }); }); /*-ohio counties-*/ $(document).ready(function{ $("#OH_list").click(function{ $("#OH_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#OH_counties").animate({left: '-500px'}); }); }); /*-oklahoma counties-*/ $(document).ready(function{ $("#OK_list").click(function{ $("#OK_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#OK_counties").animate({left: '-500px'}); }); }); /*-oregon counties-*/ $(document).ready(function{ $("#OR_list").click(function{ $("#OR_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#OR_counties").animate({left: '-500px'}); }); }); /*-pennsylvania counties-*/ $(document).ready(function{ $("#PA_list").click(function{ $("#PA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#PA_counties").animate({left: '-500px'}); }); }); /*-rhode island counties-*/ $(document).ready(function{ $("#RI_list").click(function{ $("#RI_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#RI_counties").animate({left: '-500px'}); }); }); /*-south carolina counties-*/ $(document).ready(function{ $("#SC_list").click(function{ $("#SC_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#SC_counties").animate({left: '-500px'}); }); }); /*-south dakota counties-*/ $(document).ready(function{ $("#SD_list").click(function{ $("#SD_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#SD_counties").animate({left: '-500px'}); }); }); /*-tennessee counties-*/ $(document).ready(function{ $("#TN_list").click(function{ $("#TN_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#TN_counties").animate({left: '-500px'}); }); });

/*-texas counties-*/ $(document).ready(function{ $("#TX_list").click(function{ $("#TX_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#TX_counties").animate({left: '-500px'}); }); }); /*-utah counties-*/ $(document).ready(function{ $("#UT_list").click(function{ $("#UT_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#UT_counties").animate({left: '-500px'}); }); }); /*-vermont counties-*/ $(document).ready(function{ $("#VT_list").click(function{ $("#VT_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#VT_counties").animate({left: '-500px'}); }); }); /*-virigina counties-*/ $(document).ready(function{ $("#VA_list").click(function{ $("#VA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#VA_counties").animate({left: '-500px'}); }); }); /*-washington counties-*/ $(document).ready(function{ $("#WA_list").click(function{ $("#WA_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#WA_counties").animate({left: '-500px'}); }); }); /*-west virginia counties-*/ $(document).ready(function{ $("#WV_list").click(function{ $("#WV_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#WV_counties").animate({left: '-500px'}); }); }); /*-wisconsin counties-*/ $(document).ready(function{ $("#WI_list").click(function{ $("#WI_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#WI_counties").animate({left: '-500px'}); }); }); /*-wyoming counties-*/ $(document).ready(function{ $("#WY_list").click(function{ $("#WY_counties").animate({left: '2px'}); }); }); $(document).ready(function{ $(".exit_menu2").click(function{ $("#WY_counties").animate({left: '-500px'}); }); });

/*british isles drop down menu---*/ $(document).ready(function{ $("#british_isles_label").click(function{ $("#british_isles_menu").toggle("slow"); }); }); /*-ireland counties-*/ $(document).ready(function{ $("#IRE_list").click(function{ $("#IRE_counties").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#IRE_counties").animate({left: '-500px'}); }); }); /*-wales counties-*/ $(document).ready(function{ $("#wales_list").click(function{ $("#wales_counties").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#wales_counties").animate({left: '-500px'}); }); }); /*-scotland counties-*/ $(document).ready(function{ $("#scotland_list").click(function{ $("#scotland_counties").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#scotland_counties").animate({left: '-500px'}); }); }); /*-northern ireland counties-*/ $(document).ready(function{ $("#northern_ireland_list").click(function{ $("#northern_ireland_counties").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#northern_ireland_counties").animate({left: '-500px'}); }); }); /*-england counties-*/ $(document).ready(function{ $("#ENG_list").click(function{ $("#ENG_counties").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#ENG_counties").animate({left: '-500px'}); }); }); /*-middle east countries--*/ $(document).ready(function{ $("#middle_east_list").click(function{ $("#middle_east_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#middle_east_countries").animate({left: '-500px'}); }); });

/*-pacific countries--*/ $(document).ready(function{ $("#pacific_list").click(function{ $("#pacific_countries").animate({left: '2px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#pacific_countries").animate({left: '-500px'}); }); }); /*-asia countries--*/ $(document).ready(function{ $("#asia_list").click(function{ $("#asia_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#asia_countries").animate({left: '-500px'}); }); }); /*-europe countries--*/ $(document).ready(function{ $("#europe_list").click(function{ $("#europe_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#europe_countries").animate({left: '-500px'}); }); }); /*-south america countries--*/ $(document).ready(function{ $("#south_america_list").click(function{ $("#south_america_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#south_america_countries").animate({left: '-500px'}); }); }); /*-africa countries--*/ $(document).ready(function{ $("#africa_list").click(function{ $("#africa_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#africa_countries").animate({left: '-500px'}); }); }); /*-central america & caribbean countries--*/ $(document).ready(function{ $("#central_america_list").click(function{ $("#central_america_caribbean_countries").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); $("#canada_provinces").animate({left: '-500px'}); }); }); $(document).ready(function{ $(".exit_menu").click(function{ $("#central_america_caribbean_countries").animate({left: '-500px'}); }); }); /*north america drop down menu---*/ $(document).ready(function{ $("#north_america_label").click(function{ $("#north_america_menu").toggle("slow"); }); });

/*--canada side menu---*/ $(document).ready(function{ $("#canada_list").click(function{ $("#canada_provinces").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'}); }); }); $(document).ready(function{ $("#canada_list2").click(function{ $("#canada_provinces").animate({left: '2px'}); $("#pacific_countries").animate({left: '-500px'}); $("#asia_countries").animate({left: '-500px'}); $("#europe_countries").animate({left: '-500px'}); $("#south_america_countries").animate({left: '-500px'}); $("#africa_countries").animate({left: '-500px'}); $("#central_america_caribbean_countries").animate({left: '-500px'}); $("#middle_east_countries").animate({left: '-500px'}); $("#IRE_counties").animate({left: '-500px'}); $("#wales_counties").animate({left: '-500px'}); $("#scotland_counties").animate({left: '-500px'}); $("#northern_ireland_counties").animate({left: '-500px'}); $("#ENG_counties").animate({left: '-500px'}); $("#usa_states").animate({left: '-500px'});

}); });

/*-exit dropdowns---*/ $(document).ready(function{ $(".exit_menu").click(function{ $("#canada_provinces").animate({left: '-500px'}); }); });