
        //###############
        // these are cleaner js functions slowly being integrated
        function rollIn(imgName, imgObjName) {
            if (document.images) {
                document[imgName].src = eval(imgObjName + "on.src");
            }
        }
        
        function rollOut(imgName, imgObjName) {  // the normal onMouseOut function
            if (document.images){
                document[imgName].src = eval(imgObjName + "off.src");
            }
        }
           
        destination1on = new Image(); destination1on.src = "http://www.ciaobambino.com/images/nv_destinations_on.gif";
        destination1off = new Image(); destination1off.src = "http://www.ciaobambino.com/images/nv_destinations_off.gif";
        
        tipson = new Image(); tipson.src = "http://www.ciaobambino.com/images/nv_traveltips_on.gif";
        tipsoff = new Image(); tipsoff.src = "http://www.ciaobambino.com/images/nv_traveltips_off.gif";
        
        // NEW NAV 
        accomreviewon = new Image(); accomreviewon.src = "http://www.ciaobambino.com/images/nv_reviews_on.gif";
        accomreviewoff = new Image(); accomreviewoff.src = "http://www.ciaobambino.com/images/nv_reviews_off.gif";
        
        aboutuson = new Image(); aboutuson.src = "http://www.ciaobambino.com/images/nv_aboutus_on.gif";
        aboutusoff = new Image(); aboutusoff.src = "http://www.ciaobambino.com/images/nv_aboutus_off.gif";
        
        cbblogon = new Image(); cbblogon.src = "http://www.ciaobambino.com/images/nv_blog_on.gif";
        cbblogoff = new Image(); cbblogoff.src = "http://www.ciaobambino.com/images/nv_blog_off.gif";
        
        // END NEW NAV
        
        kidguideon = new Image(); kidguideon.src = "http://www.ciaobambino.com/images/sub_nav_guides_on.gif";
        kidguideoff = new Image(); kidguideoff.src = "http://www.ciaobambino.com/images/sub_nav_guides_off.gif";
		
		bookson = new Image(); bookson.src = "http://www.ciaobambino.com/images/sub_nav_booklist_on.gif";
        booksoff = new Image(); booksoff.src = "http://www.ciaobambino.com/images/sub_nav_booklist_off.gif";
		villason = new Image(); villason.src = "http://www.ciaobambino.com/images/sub_nav_villaagencies_on.gif";
        villasoff = new Image(); villasoff.src = "http://www.ciaobambino.com/images/sub_nav_villaagencies_off.gif";
        
        
        serviceon = new Image(); serviceon.src = "http://www.ciaobambino.com/images/nav_travelservice1_on.gif";
        serviceoff = new Image(); serviceoff.src = "http://www.ciaobambino.com/images/nav_travelservice_off.gif";
        
        reviewon = new Image(); reviewon.src = "http://www.ciaobambino.com/images/nav_cbreview_on.gif";
        reviewoff = new Image(); reviewoff.src = "http://www.ciaobambino.com/images/nav_cbreview_off.gif";
        
        comreviewon = new Image(); comreviewon.src = "http://www.ciaobambino.com/images/nav_communityreview_on.gif";
        comreviewoff = new Image(); comreviewoff.src = "http://www.ciaobambino.com/images/nav_communityreview_off.gif";
        
        
        searchon = new Image(); searchon.src = "http://www.ciaobambino.com/images/nav_search_on.gif";
        searchoff = new Image(); searchoff.src = "http://www.ciaobambino.com/images/nav_search_off.gif";
        
        searchprofon = new Image(); searchprofon.src = "http://www.ciaobambino.com/images/nav_searchprofile_on.gif";
        searchprofoff = new Image(); searchprofoff.src = "http://www.ciaobambino.com/images/nav_searchprofile_off.gif";
        
        storyon = new Image(); storyon.src = "http://www.ciaobambino.com/images/sub_nav_ourstory_on.gif";
        storyoff = new Image(); storyoff.src = "http://www.ciaobambino.com/images/sub_nav_ourstory_off.gif";
        
        
        cbteamon = new Image(); cbteamon.src = "http://www.ciaobambino.com/images/sub_nav_cbteam_on.gif";
        cbteamoff = new Image(); cbteamoff.src = "http://www.ciaobambino.com/images/sub_nav_cbteam_off.gif";
        
        
        centralAmericaon = new Image(); centralAmericaon.src = "http://www.ciaobambino.com/images/sub_nav_centralamerica_on.gif";
        centralAmericaoff = new Image(); centralAmericaoff.src = "http://www.ciaobambino.com/images/sub_nav_centralamerica_off.gif";
        northAmericaon = new Image(); northAmericaon.src = "http://www.ciaobambino.com/images/sub_nav_northamerica_on.gif";
        northAmericaoff = new Image(); northAmericaoff.src = "http://www.ciaobambino.com/images/sub_nav_northamerica_off.gif";
        europeon = new Image(); europeon.src = "http://www.ciaobambino.com/images/sub_nav_europe_on.gif";
        europeoff = new Image(); europeoff.src = "http://www.ciaobambino.com/images/sub_nav_europe_off.gif";
        southpacificon = new Image(); southpacificon.src = "http://www.ciaobambino.com/images/sub_nav_southpacific_on.gif";
        southpacificoff = new Image(); southpacificoff.src = "http://www.ciaobambino.com/images/sub_nav_southpacific_off.gif";
        
        irelandon = new Image(); irelandon.src = "http://www.ciaobambino.com/images/sub_nav_ireland_on.gif";
        irelandoff = new Image(); irelandoff.src = "http://www.ciaobambino.com/images/sub_nav_ireland_off.gif";
        
        
        filler1on = new Image(); filler1on.src = "http://www.ciaobambino.com/images/nav_spacer_brown_on.gif";
        filler1off = new Image(); filler1off.src = "http://www.ciaobambino.com/images/nav_spacer_brown_off.gif";
        filler2on = new Image(); filler2on.src = "http://www.ciaobambino.com/images/nav_spacer_brown_on.gif";
        filler2off = new Image(); filler2off.src = "http://www.ciaobambino.com/images/nav_spacer_brown_off.gif";
        filler3on = new Image(); filler3on.src = "http://www.ciaobambino.com/images/nav_spacer_brown_on.gif";
        filler3off = new Image(); filler3off.src = "http://www.ciaobambino.com/images/nav_spacer_brown_off.gif";
        
        
        evaluationon = new Image(); evaluationon.src = "http://www.ciaobambino.com/images/sub_nav_prop_evaluation_on.gif";
        evaluationoff = new Image(); evaluationoff.src = "http://www.ciaobambino.com/images/sub_nav_prop_evaluation_off.gif";
        partneron = new Image(); partneron.src = "http://www.ciaobambino.com/images/sub_nav_proppartners_on.gif";
        partneroff = new Image(); partneroff.src = "http://www.ciaobambino.com/images/sub_nav_proppartners_off.gif";
        newson = new Image(); newson.src = "http://www.ciaobambino.com/images/sub_nav_news_on.gif";
        newsoff = new Image(); newsoff.src = "http://www.ciaobambino.com/images/sub_nav_news_off.gif";
        contacton = new Image(); contacton.src = "http://www.ciaobambino.com/images/sub_nav_contact_on.gif";
        contactoff = new Image(); contactoff.src = "http://www.ciaobambino.com/images/sub_nav_contact_off.gif";
		
        cbagerateon = new Image(); cbagerateon.src = "http://www.ciaobambino.com/images/sub_nav_cbagerating_on.gif";
        cbagerateoff = new Image(); cbagerateoff.src = "http://www.ciaobambino.com/images/sub_nav_cbagerating_off.gif";
        
		italon = new Image(); italon.src = "http://www.ciaobambino.com/images/sub_nav_italy_on.gif";
        italoff = new Image(); italoff.src = "http://www.ciaobambino.com/images/sub_nav_italy_off.gif";
		subfranceon = new Image(); subfranceon.src = "http://www.ciaobambino.com/images/sub_nav_france_on.gif";
        subfranceoff = new Image(); subfranceoff.src = "http://www.ciaobambino.com/images/sub_nav_france_off.gif";
		subengon = new Image(); subengon.src = "http://www.ciaobambino.com/images/sub_nav_england_on.gif";
        subengoff = new Image(); subengoff.src = "http://www.ciaobambino.com/images/sub_nav_england_off.gif";
		subspainon = new Image(); subspainon.src = "http://www.ciaobambino.com/images/sub_nav_spain_on.gif";
        subspainoff = new Image(); subspainoff.src = "http://www.ciaobambino.com/images/sub_nav_spain_off.gif";
		subcanadaon = new Image(); subcanadaon.src = "http://www.ciaobambino.com/images/sub_nav_canada_on.gif";
        subcanadaoff = new Image(); subcanadaoff.src = "http://www.ciaobambino.com/images/sub_nav_canada_off.gif";
        submexicoon = new Image(); submexicoon.src = "http://www.ciaobambino.com/images/sub_nav_mexico_on.gif";
        submexicooff = new Image(); submexicooff.src = "http://www.ciaobambino.com/images/sub_nav_mexico_off.gif";
        
        subdenmarkon = new Image(); subdenmarkon.src = "http://www.ciaobambino.com/images/sub_nav_denmark_on.gif";
        subdenmarkoff = new Image(); subdenmarkoff.src = "http://www.ciaobambino.com/images/sub_nav_denmark_off.gif";

        subcypruson = new Image(); subcypruson.src = "http://www.ciaobambino.com/images/sub_nav_cyprus_on.gif";
        subcyprusoff = new Image(); subcyprusoff.src = "http://www.ciaobambino.com/images/sub_nav_cyprus_off.gif";

        subnetherlandson = new Image(); subnetherlandson.src = "http://www.ciaobambino.com/images/sub_nav_netherlands_on.gif";
        subnetherlandsoff = new Image(); subnetherlandsoff.src = "http://www.ciaobambino.com/images/sub_nav_netherlands_off.gif";
        
        subusaon = new Image(); subusaon.src = "http://www.ciaobambino.com/images/sub_nav_us_on.gif";
        subusaoff = new Image(); subusaoff.src = "http://www.ciaobambino.com/images/sub_nav_us_off.gif";
        subhawaiion = new Image(); subhawaiion.src = "http://www.ciaobambino.com/images/sub_nav_hawaii_on.gif";
        subhawaiioff = new Image(); subhawaiioff.src = "http://www.ciaobambino.com/images/sub_nav_hawaii_off.gif";
        subcaribbeanon = new Image(); subcaribbeanon.src = "http://www.ciaobambino.com/images/sub_nav_caribbean_on.gif";
        subcaribbeanoff = new Image(); subcaribbeanoff.src = "http://www.ciaobambino.com/images/sub_nav_caribbean_off.gif";
        
        subcostaricaon = new Image(); subcostaricaon.src = "http://www.ciaobambino.com/images/sub_nav_costarica_on.gif";
        subcostaricaoff = new Image(); subcostaricaoff.src = "http://www.ciaobambino.com/images/sub_nav_costarica_off.gif";
        
        subpanamaon = new Image(); subpanamaon.src = "http://www.ciaobambino.com/images/sub_nav_panama_on.gif";
        subpanamaoff = new Image(); subpanamaoff.src = "http://www.ciaobambino.com/images/sub_nav_panama_off.gif";
        subbelizeon = new Image(); subbelizeon.src = "http://www.ciaobambino.com/images/sub_nav_belize_on.gif";
        subbelizeoff = new Image(); subbelizeoff.src = "http://www.ciaobambino.com/images/sub_nav_belize_off.gif";
        subswitzon = new Image(); subswitzon.src = "http://www.ciaobambino.com/images/sub_nav_switzerland_on.gif";
        subswitzoff = new Image(); subswitzoff.src = "http://www.ciaobambino.com/images/sub_nav_switzerland_off.gif";
        
        subnewzelandon = new Image(); subnewzelandon.src = "http://www.ciaobambino.com/images/sub_nav_newzealand_on.gif";
        subnewzelandoff = new Image(); subnewzelandoff.src = "http://www.ciaobambino.com/images/sub_nav_newzealand_off.gif";
        
        subgermanyon = new Image(); subgermanyon.src = "http://www.ciaobambino.com/images/sub_nav_germany_on.gif";
        subgermanyoff = new Image(); subgermanyoff.src = "http://www.ciaobambino.com/images/sub_nav_germany_off.gif";
        
        subgreeceon = new Image(); subgreeceon.src = "http://www.ciaobambino.com/images/sub_nav_greece_on.gif";
        subgreeceoff = new Image(); subgreeceoff.src = "http://www.ciaobambino.com/images/sub_nav_greece_off.gif";
        subfijion = new Image(); subfijion.src = "http://www.ciaobambino.com/images/sub_nav_fiji_on.gif";
        subfijioff = new Image(); subfijioff.src = "http://www.ciaobambino.com/images/sub_nav_fiji_off.gif";
        
        
        
		subplanningon = new Image(); subplanningon.src = "http://www.ciaobambino.com/images/sub_nav_planning_on.gif";
        subplanningoff = new Image(); subplanningoff.src = "http://www.ciaobambino.com/images/sub_nav_planning_off.gif";
		subflightson = new Image(); subflightson.src = "http://www.ciaobambino.com/images/sub_nav_flights_on.gif";
        subflightsoff = new Image(); subflightsoff.src = "http://www.ciaobambino.com/images/sub_nav_flights_off.gif";
		subhelpfulon = new Image(); subhelpfulon.src = "http://www.ciaobambino.com/images/sub_nav_helpfullinks_on.gif";
        subhelpfuloff = new Image(); subhelpfuloff.src = "http://www.ciaobambino.com/images/sub_nav_helpfullinks_off.gif";
        
        subblogon = new Image(); subblogon.src = "http://www.ciaobambino.com/images/sub_nav_blog_on.gif";
        subblogoff = new Image(); subblogoff.src = "http://www.ciaobambino.com/images/sub_nav_blog_off.gif";

        kidguideon = new Image(); kidguideon.src = "http://www.ciaobambino.com/images/sub_nav_guides_on.gif";
        kidguideoff = new Image(); kidguideoff.src = "http://www.ciaobambino.com/images/sub_nav_guides_off.gif";
        
        
		
		subplantripon = new Image(); subplantripon.src = "http://www.ciaobambino.com/images/sub_nav_plantrip_on.gif";
        subplantripoff = new Image(); subplantripoff.src = "http://www.ciaobambino.com/images/sub_nav_plantrip_off.gif";
		subessentialon = new Image(); subessentialon.src = "http://www.ciaobambino.com/images/sub_nav_essential_on.gif";
        subessentialoff = new Image(); subessentialoff.src = "http://www.ciaobambino.com/images/sub_nav_essential_off.gif";
		subtestimonialon = new Image(); subtestimonialon.src = "http://www.ciaobambino.com/images/sub_nav_testimonial_on.gif";
        subtestimonialoff = new Image(); subtestimonialoff.src = "http://www.ciaobambino.com/images/sub_nav_tesimonial_off.gif";
        
        subbabyon = new Image(); subbabyon.src = "http://www.ciaobambino.com/images/sub_nav_babyready_on.gif";
        subbabyoff = new Image(); subbabyoff.src = "http://www.ciaobambino.com/images/sub_nav_babyready_off.gif";
        subtoddleron = new Image(); subtoddleron.src = "http://www.ciaobambino.com/images/sub_nav_toddler_on.gif";
        subtoddleroff = new Image(); subtoddleroff.src = "http://www.ciaobambino.com/images/sub_nav_toddler_off.gif";
        subschoolon = new Image(); subschoolon.src = "http://www.ciaobambino.com/images/sub_nav_schoolage_on.gif";
        subschooloff = new Image(); subschooloff.src = "http://www.ciaobambino.com/images/sub_nav_schoolage_off.gif";
        subteenson = new Image(); subteenson.src = "http://www.ciaobambino.com/images/sub_nav_teens_on.gif";
        subteensoff = new Image(); subteensoff.src = "http://www.ciaobambino.com/images/sub_nav_teens_off.gif";
		
        subreviewpropon = new Image(); subreviewpropon.src = "http://www.ciaobambino.com/images/sub_nav_reviewprop_on.gif";
        subreviewpropoff = new Image(); subreviewpropoff.src = "http://www.ciaobambino.com/images/sub_nav_reviewprop_off.gif";
        
        subcomrecon = new Image(); subcomrecon.src = "http://www.ciaobambino.com/images/sub_nav_communityrec_on.gif";
        subcomrecoff = new Image(); subcomrecoff.src = "http://www.ciaobambino.com/images/sub_nav_communityrec_off.gif";
        
        /* TAB NAVIGAION */
        cbapproveon = new Image(); cbapproveon.src = "http://www.ciaobambino.com/images/tab_cbApproved_on.gif";
        cbapproveoff = new Image(); cbapproveoff.src = "http://www.ciaobambino.com/images/tab_cbapporved_off.gif";
        
        commRecon = new Image(); commRecon.src = "http://www.ciaobambino.com/images/tab_cb_recommended_on.gif";
        commRecoff = new Image(); commRecoff.src = "http://www.ciaobambino.com/images/tab_communityRecom_off.gif";
        
        specialofferon = new Image(); specialofferon.src = "http://www.ciaobambino.com/images/tab_special_offers_on.gif";
        specialofferoff = new Image(); specialofferoff.src = "http://www.ciaobambino.com/images/tab_home_specialoffers_off.gif";
        
        destinationson = new Image(); destinationson.src = "http://www.ciaobambino.com/images/tab_destinations_on.gif";
        destinationsoff = new Image(); destinationsoff.src = "http://www.ciaobambino.com/images/tab_destinations_off.gif";
        
        articleon = new Image(); articleon.src = "http://www.ciaobambino.com/images/tab_cb_articles_on.gif";
        articleoff = new Image(); articleoff.src = "http://www.ciaobambino.com/images/tab_cb_articles_off.gif";
        
        
        // NEW DROPDOWN NAV
        newourstoryon = new Image(); newourstoryon.src = "http://www.ciaobambino.com/images/sub_nav_1_ourstory_on.gif";
        newourstoryoff = new Image(); newourstoryoff.src = "http://www.ciaobambino.com/images/sub_nav_1_ourstory_off.gif";
        
        newteamon = new Image(); newteamon.src = "http://www.ciaobambino.com/images/sub_nav_2_team_on.gif";
        newteamoff = new Image(); newteamoff.src = "http://www.ciaobambino.com/images/sub_nav_2_team_off.gif";
        
        newpropevalon = new Image(); newpropevalon.src = "http://www.ciaobambino.com/images/sub_nav_3_propevaluation_on.gif";
        newpropevaloff = new Image(); newpropevaloff.src = "http://www.ciaobambino.com/images/sub_nav_3_propevaluation_off.gif";
        
        newagerateon = new Image(); newagerateon.src = "http://www.ciaobambino.com/images/sub_nav_4_agerating_on.gif";
        newagerateoff = new Image(); newagerateoff.src = "http://www.ciaobambino.com/images/sub_nav_4_agerating_off.gif";
        
        newnewson = new Image(); newnewson.src = "http://www.ciaobambino.com/images/sub_nav_5_news_on.gif";
        newnewsoff = new Image(); newnewsoff.src = "http://www.ciaobambino.com/images/sub_nav_5_news_off.gif";
        
        newcontacton = new Image(); newcontacton.src = "http://www.ciaobambino.com/images/sub_nav_6_contact_on.gif";
        newcontactoff = new Image(); newcontactoff.src = "http://www.ciaobambino.com/images/sub_nav_6_contact_off.gif";
        
        //
        newcbreviewon = new Image(); newcbreviewon.src = "http://www.ciaobambino.com/images/sub_nav_accreviews_1_cbreviews_on.gif";
        newcbreviewoff = new Image(); newcbreviewoff.src = "http://www.ciaobambino.com/images/sub_nav_accreviews_1_cbreviews_off.gif";
        
        newcomreviewon = new Image(); newcomreviewon.src = "http://www.ciaobambino.com/images/sub_nav_accreviews_2_communityreviews_on.gif";
        newcomreviewoff = new Image(); newcomreviewoff.src = "http://www.ciaobambino.com/images/sub_nav_accreviews_2_communityreviews_off.gif";
        
        newpropreviewon = new Image(); newpropreviewon.src = "http://www.ciaobambino.com/images/sub_nav_reviewaproperty_on.gif";
        newpropreviewoff = new Image(); newpropreviewoff.src = "http://www.ciaobambino.com/images/sub_nav_reviewaproperty_off.gif";
        
        
var BaseLink;
BaseLink = ""

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.ciaobambino.com/Europe-destinations/Belize-family-travel.asp" onMouseOver="rollIn(\'subbelize\', \'subbelize\');" onMouseOut="rollOut(\'subbelize\', \'subbelize\');"><img src="http://www.ciaobambino.com/images/sub_nav_belize_off.gif" id="subbelize" name="subbelize" width="150" height="29" alt="" border="0"></a>'
menu1[1]='<a href="http://www.ciaobambino.com/Europe-destinations/Canada-family-travel.asp" onMouseOver="rollIn(\'subcanada\', \'subcanada\');" onMouseOut="rollOut(\'subcanada\', \'subcanada\');"><img src="http://www.ciaobambino.com/images/sub_nav_canada_off.gif" id="subcanada" name="subcanada" width="150" height="29" alt="" border="0"></a>'
menu1[2]='<a href="http://www.ciaobambino.com/Europe-destinations/Caribbean-family-travel.asp" onMouseOver="rollIn(\'subcaribbean\', \'subcaribbean\');" onMouseOut="rollOut(\'subcaribbean\', \'subcaribbean\');"><img src="http://www.ciaobambino.com/images/sub_nav_caribbean_off.gif" id="subcaribbean" name="subcaribbean" width="150" height="29" alt="" border="0"></a>'
menu1[3]='<a href="http://www.ciaobambino.com/Europe-destinations/CostaRica-family-travel.asp" onMouseOver="rollIn(\'subcostarica\', \'subcostarica\');" onMouseOut="rollOut(\'subcostarica\', \'subcostarica\');"><img src="http://www.ciaobambino.com/images/sub_nav_costarica_off.gif" id="subcostarica" name="subcostarica" width="150" height="29" alt="" border="0"></a>'
menu1[4]='<a href="http://www.ciaobambino.com/Europe-destinations/Cyprus-family-travel.asp" onMouseOver="rollIn(\'subcyprus\', \'subcyprus\');" onMouseOut="rollOut(\'subcyprus\', \'subcyprus\');"><img src="http://www.ciaobambino.com/images/sub_nav_cyprus_off.gif" width="150" height="29" name="subcyprus" id="subcyprus" alt="" border="0"></a>'
menu1[5]='<a href="http://www.ciaobambino.com/Europe-destinations/England-family-travel.asp" onMouseOver="rollIn(\'subeng\', \'subeng\');" onMouseOut="rollOut(\'subeng\', \'subeng\');"><img src="http://www.ciaobambino.com/images/sub_nav_england_off.gif" width="150" height="29" name="subeng" id="subeng" alt="" border="0"></a>'
menu1[6]='<a href="http://www.ciaobambino.com/destinations/Fiji-family-travel.asp" onMouseOver="rollIn(\'subfiji\', \'subfiji\');" onMouseOut="rollOut(\'subfiji\', \'subfiji\');"><img src="http://www.ciaobambino.com/images/sub_nav_fiji_off.gif" id="subfiji" name="subfiji" width="150" height="29" alt="" border="0"></a>'

menu1[7]='<a href="http://www.ciaobambino.com/Europe-destinations/France-family-travel.asp" onMouseOver="rollIn(\'subfrance\', \'subfrance\');" onMouseOut="rollOut(\'subfrance\', \'subfrance\');"><img src="http://www.ciaobambino.com/images/sub_nav_france_off.gif" id="subfrance" name="subfrance" width="150" height="29" alt="" border="0"></a>'
menu1[8]='<a href="http://www.ciaobambino.com/destinations/Greece-family-travel.asp" onMouseOver="rollIn(\'subgreece\', \'subgreece\');" onMouseOut="rollOut(\'subgreece\', \'subgreece\');"><img src="http://www.ciaobambino.com/images/sub_nav_greece_off.gif" id="subgreece" name="subgreece" width="150" height="29" alt="" border="0"></a>'
menu1[9]='<a href="http://www.ciaobambino.com/Europe-destinations/Hawaii-family-travel.asp" onMouseOver="rollIn(\'subhawaii\', \'subhawaii\');" onMouseOut="rollOut(\'subhawaii\', \'subhawaii\');"><img src="http://www.ciaobambino.com/images/sub_nav_hawaii_off.gif" id="subhawaii" name="subhawaii" width="150" height="29" alt="" border="0"></a>'
menu1[10]='<a href="http://www.ciaobambino.com/Europe-destinations/Italy-family-travel.asp" onMouseOver="rollIn(\'ital\', \'ital\');" onMouseOut="rollOut(\'ital\', \'ital\');"><img src="http://www.ciaobambino.com/images/sub_nav_italy_off.gif" id="ital" name="ital" width="150" height="29" alt="" border="0"></a>'
menu1[11]='<a href="http://www.ciaobambino.com/Europe-destinations/Mexico-family-travel.asp" onMouseOver="rollIn(\'submexico\', \'submexico\');" onMouseOut="rollOut(\'submexico\', \'submexico\');"><img src="http://www.ciaobambino.com/images/sub_nav_mexico_off.gif" id="submexico" name="submexico" width="150" height="29" alt="" border="0"></a>'
menu1[12]='<a href="http://www.ciaobambino.com/Europe-destinations/Netherlands-family-travel.asp" onMouseOver="rollIn(\'subnetherlands\', \'subnetherlands\');" onMouseOut="rollOut(\'subnetherlands\', \'subnetherlands\');"><img src="http://www.ciaobambino.com/images/sub_nav_netherlands_off.gif" id="subnetherlands" name="subnetherlands" width="150" height="29" alt="" border="0"></a>'
menu1[13]='<a href="http://www.ciaobambino.com/Europe-destinations/NewZeland-family-travel.asp" onMouseOver="rollIn(\'subnewzeland\', \'subnewzeland\');" onMouseOut="rollOut(\'subnewzeland\', \'subnewzeland\');"><img src="http://www.ciaobambino.com/images/sub_nav_newzealand_off.gif" id="subnewzeland" name="subnewzeland" width="150" height="29" alt="" border="0"></a>'
menu1[14]='<a href="http://www.ciaobambino.com/Europe-destinations/Panama-family-travel.asp" onMouseOver="rollIn(\'subpanama\', \'subpanama\');" onMouseOut="rollOut(\'subpanama\', \'subpanama\');"><img src="http://www.ciaobambino.com/images/sub_nav_panama_off.gif" id="subpanama" name="subpanama" width="150" height="29" alt="" border="0"></a>'
menu1[15]='<a href="http://www.ciaobambino.com/Europe-destinations/Spain-family-travel.asp" onMouseOver="rollIn(\'subspain\', \'subspain\');" onMouseOut="rollOut(\'subspain\', \'subspain\');"><img src="http://www.ciaobambino.com/images/sub_nav_spain_off.gif" id="subspain" name="subspain" width="150" height="29" alt="" border="0"></a>'
menu1[16]='<a href="http://www.ciaobambino.com/Europe-destinations/Switzerland-family-travel.asp" onMouseOver="rollIn(\'subswitz\', \'subswitz\');" onMouseOut="rollOut(\'subswitz\', \'subswitz\');"><img src="http://www.ciaobambino.com/images/sub_nav_switzerland_off.gif" id="subswitz" name="subswitz" width="150" height="29" alt="" border="0"></a>'
menu1[17]='<a href="http://www.ciaobambino.com/Europe-destinations/United-States-family-travel.asp" onMouseOver="rollIn(\'subusa\', \'subusa\');" onMouseOut="rollOut(\'subusa\', \'subusa\');"><img src="http://www.ciaobambino.com/images/sub_nav_us_off.gif" id="subusa" name="subusa" width="150" height="29" alt="" border="0"></a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://www.ciaobambino.com/ciaobambinoblog/index.php" onMouseOver="rollIn(\'subblog\', \'subblog\');" onMouseOut="rollOut(\'subblog\', \'subblog\');"><img src="http://www.ciaobambino.com/images/sub_nav_blog_off.gif" width="136" name="subblog" id="subblog" height="26" alt="" border="0"></a>'
menu2[1]='<a href="http://www.ciaobambino.com/planning.asp" onMouseOver="rollIn(\'subplanning\', \'subplanning\');" onMouseOut="rollOut(\'subplanning\', \'subplanning\');"><img src="http://www.ciaobambino.com/images/sub_nav_planning_off.gif" id="subplanning" name="subplanning" width="136" height="26" alt="" border="0"></a>'
menu2[2]='<a href="http://www.ciaobambino.com/kid-friendly-guides.asp" onMouseOver="rollIn(\'kidguide\', \'kidguide\');" onMouseOut="rollOut(\'kidguide\', \'kidguide\');"><img src="http://www.ciaobambino.com/images/sub_nav_guides_off.gif" width="136" id="kidguide" name="kidguide" height="26" alt="" border="0"></a>'
menu2[3]='<a href="http://www.ciaobambino.com/family-friendly-villas.asp" onMouseOver="rollIn(\'villas\', \'villas\');" onMouseOut="rollOut(\'villas\', \'villas\');"><img src="http://www.ciaobambino.com/images/sub_nav_villaagencies_off.gif" width="136" id="villas" name="villas" height="26" alt="" border="0"></a>'
menu2[4]='<a href="http://www.ciaobambino.com/flights.asp" onMouseOver="rollIn(\'subflights\', \'subflights\');" onMouseOut="rollOut(\'subflights\', \'subflights\');"><img src="http://www.ciaobambino.com/images/sub_nav_flights_off.gif" width="136" id="subflights" name="subflights" height="26" alt="" border="0"></a>'
menu2[5]='<a href="http://www.ciaobambino.com/kids-travel-books.asp" onMouseOver="rollIn(\'books\', \'books\');" onMouseOut="rollOut(\'books\', \'books\');"><img src="http://www.ciaobambino.com/images/sub_nav_booklist_off.gif" width="136" name="books" id="books" height="26" alt="" border="0"></a>'
menu2[6]='<a href="http://www.ciaobambino.com/valuablelinks.asp" onMouseOver="rollIn(\'subhelpful\', \'subhelpful\');" onMouseOut="rollOut(\'subhelpful\', \'subhelpful\');"><img src="http://www.ciaobambino.com/images/sub_nav_helpfullinks_off.gif" width="136" name="subhelpful" id="subhelpful" height="26" alt="" border="0"></a>'




var menu3=new Array()
menu3[0]='<a href="http://www.ciaobambino.com/Plan-Your-Family-Trip-to-Europe.asp" onMouseOver="rollIn(\'subplantrip\', \'subplantrip\');" onMouseOut="rollOut(\'subplantrip\', \'subplantrip\');"><img src="http://www.ciaobambino.com/images/sub_nav_plantrip_off.gif" id="subplantrip" name="subplantrip" width="184" height="28" alt="" border="0"></a>'
menu3[1]='<a href="http://www.ciaobambino.com/Meet-Family-Travel-to-Europe-Consultants.asp" onMouseOver="rollIn(\'subessential\', \'subessential\');" onMouseOut="rollOut(\'subessential\', \'subessential\');"><img src="http://www.ciaobambino.com/images/sub_nav_essential_off.gif" id="subessential" name="subessential" width="184" height="26" alt="" border="0"></a>'
menu3[2]='<a href="http://www.ciaobambino.com/Testimonials-Family-Travel-to-Italy-France.asp" onMouseOver="rollIn(\'subtestimonial\', \'subtestimonial\');" onMouseOut="rollOut(\'subtestimonial\', \'subtestimonial\');"><img src="http://www.ciaobambino.com/images/sub_nav_tesimonial_off.gif" id="subtestimonial" name="subtestimonial" width="184" height="27" alt="" border="0"></a>'


var menu4=new Array()
menu4[0]='<a href="http://www.ciaobambino.com/CommunityReview.aspx" onMouseOver="rollIn(\'subreviewprop\', \'subreviewprop\');" onMouseOut="rollOut(\'subreviewprop\', \'subreviewprop\');"><img src="http://www.ciaobambino.com/images/sub_nav_reviewprop_off.gif" name="subreviewprop" id="subreviewprop"  width="190" height="28" alt="" border="0"></a>'  

var menu5=new Array()
menu5[0]='<a href="http://www.ciaobambino.com/story.asp" onMouseOver="rollIn(\'newourstory\', \'newourstory\');" onMouseOut="rollOut(\'newourstory\', \'newourstory\');"><img src="http://www.ciaobambino.com/images/sub_nav_1_ourstory_off.gif" name="newourstory" id="newourstory"  width="116" height="26" alt="" border="0"></a>'  
//menu5[1]='<a href="http://www.ciaobambino.com/cbteam.asp" onMouseOver="rollIn(\'newteam\', \'newteam\');" onMouseOut="rollOut(\'newteam\', \'newteam\');"><img src="http://www.ciaobambino.com/images/sub_nav_2_team_off.gif" name="newteam" id="newteam"  width="150" height="28" alt="" border="0"></a>'  
menu5[1]='<a href="http://www.ciaobambino.com/evaluation.asp" onMouseOver="rollIn(\'newpropeval\', \'newpropeval\');" onMouseOut="rollOut(\'newpropeval\', \'newpropeval\');"><img src="http://www.ciaobambino.com/images/sub_nav_3_propevaluation_off.gif" name="newpropeval" id="newpropeval"  width="116" height="26" alt="" border="0"></a>'  
menu5[2]='<a href="http://www.ciaobambino.com/reviews.asp" onMouseOver="rollIn(\'newagerate\', \'newagerate\');" onMouseOut="rollOut(\'newagerate\', \'newagerate\');"><img src="http://www.ciaobambino.com/images/sub_nav_4_agerating_off.gif" name="newagerate" id="newagerate"  width="116" height="26" alt="" border="0"></a>'  
menu5[3]='<a href="http://www.ciaobambino.com/news.asp" onMouseOver="rollIn(\'newnews\', \'newnews\');" onMouseOut="rollOut(\'newnews\', \'newnews\');"><img src="http://www.ciaobambino.com/images/sub_nav_5_news_off.gif" name="newnews" id="newnews"  width="116" height="26" alt="" border="0"></a>'  
menu5[4]='<a href="http://www.ciaobambino.com/contact.asp" onMouseOver="rollIn(\'newcontact\', \'newcontact\');" onMouseOut="rollOut(\'newcontact\', \'newcontact\');"><img src="http://www.ciaobambino.com/images/sub_nav_6_contact_off.gif" name="newcontact" id="newcontact"  width="116" height="26" alt="" border="0"></a>'  


var menu6=new Array()
menu6[0]='<a href="http://www.ciaobambino.com/cbReview_results.asp" onMouseOver="rollIn(\'newcbreview\', \'newcbreview\');" onMouseOut="rollOut(\'newcbreview\', \'newcbreview\');"><img src="http://www.ciaobambino.com/images/sub_nav_accreviews_1_cbreviews_off.gif" name="newcbreview" id="newcbreview"  width="231" height="26" alt="" border="0"></a>'  
menu6[1]='<a href="http://www.ciaobambino.com/commReview_results.asp" onMouseOver="rollIn(\'newcomreview\', \'newcomreview\');" onMouseOut="rollOut(\'newcomreview\', \'newcomreview\');"><img src="http://www.ciaobambino.com/images/sub_nav_accreviews_2_communityreviews_off.gif" name="newcomreview" id="newcomreview"  width="231" height="26" alt="" border="0"></a>'  
menu6[2]='<a href="http://www.ciaobambino.com/CommunityReview.aspx" onMouseOver="rollIn(\'newpropreview\', \'newpropreview\');" onMouseOut="rollOut(\'newpropreview\', \'newpropreview\');"><img src="http://www.ciaobambino.com/images/sub_nav_reviewaproperty_off.gif" name="newpropreview" id="newpropreview"  width="231" height="26" alt="" border="0"></a>'  

     


//menu4[1]='<a href="http://www.ciaobambino.com/commReview_results.asp" onMouseOver="rollIn(\'subcomrec\', \'subcomrec\');" onMouseOut="rollOut(\'subcomrec\', \'subcomrec\');"><img src="http://www.ciaobambino.com/images/sub_nav_communityrec_off.gif" name="subcomrec" id="subcomrec" width="245" height="28" alt="" border="0"></a>'

// removed for new property review section nav
//menu4[0]='<a href="http://www.ciaobambino.com/cb_review.asp?rid=1" onMouseOver="rollIn(\'subbaby\', \'subbaby\');" onMouseOut="rollOut(\'subbaby\', \'subbaby\');"><img src="http://www.ciaobambino.com/images/sub_nav_babyready_off.gif" name="subbaby" id="subbaby" width="216" height="28" alt="" border="0"></a>'
//menu4[1]='<a href="http://www.ciaobambino.com/cb_review.asp?rid=2" onMouseOver="rollIn(\'subtoddler\', \'subtoddler\');" onMouseOut="rollOut(\'subtoddler\', \'subtoddler\');"><img src="http://www.ciaobambino.com/images/sub_nav_toddler_off.gif" name="subtoddler" id="subtoddler"  width="216" height="26" alt="" border="0"></a>'  
//menu4[2]='<a href="http://www.ciaobambino.com/cb_review.asp?rid=3" onMouseOver="rollIn(\'subschool\', \'subschool\');" onMouseOut="rollOut(\'subschool\', \'subschool\');"><img src="http://www.ciaobambino.com/images/sub_nav_schoolage_off.gif" name="subschool" id="subschool" width="216" height="28" alt="" border="0"></a>' 
//menu4[3]='<a href="http://www.ciaobambino.com/cb_review.asp?rid=4" onMouseOver="rollIn(\'subteens\', \'subteens\');" onMouseOut="rollOut(\'subteens\', \'subteens\');"><img src="http://www.ciaobambino.com/images/sub_nav_teens_off.gif"  name="subteens" id="subteens" width="216" height="25" alt="" border="0"></a>' 

//var menu5=new Array()
//menu5[0]='<a href="http://www.ciaobambino.com/Shows/ProgramPreview.aspx">Program Preview</a>'
//menu5[1]='<a href="http://www.ciaobambino.com/Shows/WebPages.aspx">Web Pages</a>'  
        

var menuwidth='0px' //default menu width
var menubgcolor=''  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu


function popWindowNonAdj(url, hsize, wsize, winname, tbar, sbar)
{
    var newWin;
    newWin = window.open(url,winname,"Toolbar=" + tbar + ",location=no,directories=no,status=no menubar=no scrollbars=" + sbar + ",resizable=no,width=" + wsize + ",height=" + hsize + "\"");
    newWin.focus();
}
function popWindowAdj(url, hsize, wsize, winname, tbar, sbar)
{
    var newWin;
    newWin = window.open(url,winname,"Toolbar=" + tbar + ",location=no,directories=no,status=no, menubar=no, scrollbars=1 ,resizable=yes,width=" + wsize + ",height=" + hsize + "\"");
    newWin.focus();
}

function slideShow(imgName, varTxt)
{
	//imgNum, 
    document.getElementById("mainslideimage").src = "http://www.ciaobambino.com/images/" + imgName;
    //alert("txt " + varTxt);
    document.getElementById("slidetext").innerHTML = varTxt;
}

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

// THE PANEL AND TAB SCRIPT
var currentsubPanel;
   function showsubPanel(panelNum) {
      //hide visible panel, show selected panel, 
      //set tab
      if (currentsubPanel != null) {
         hidesubPanel();
      }
    // alert(' pnl ' + panelNum);
      document.getElementById 
         ('panel'+ panelNum).style.display = 'block';
         currentsubPanel = panelNum;
        // setState(panelNum);
   }
   
   function hidesubPanel() {
      //hide visible panel, unhilite tab
      document.getElementById
        ('panel'+currentsubPanel).style.display='none';
      document.getElementById
        ('tab'+currentsubPanel).style.backgroundColor = 
        '#ffffff';
      document.getElementById
        ('tab'+currentsubPanel).style.color = '';
   }
   
   
   var currentPanel;
   
   function showPanel(panelNum) {
      //hide visible panel, show selected panel, 
      //set tab
      if (currentPanel != null) {
         hidePanel();
      }
    // alert(' pnl ' + panelNum);
      document.getElementById 
         ('panel'+ panelNum).style.display = 'block';
         currentPanel = panelNum;
        // setState(panelNum);
   }
   
   function hidePanel() {
      //hide visible panel, unhilite tab
      document.getElementById
        ('panel'+currentPanel).style.display='none';
      document.getElementById
        ('tab'+currentPanel).style.backgroundColor = 
        '#ffffff';
      document.getElementById
        ('tab'+currentPanel).style.color = '';
   }
   
   function setState(tabNum) {
      if (tabNum==currentPanel) {
         document.getElementById 
           ('tab'+tabNum).style.backgroundColor =  '';
         document.getElementById
           ('tab'+tabNum).style.color = '';
      }
      else {
         document.getElementById
           ('tab'+tabNum).style.backgroundColor = 
           '#ffffff';
         document.getElementById
           ('tab'+tabNum).style.color = '';
      }
   }
   
   function hover(tab) {
      tab.style.backgroundColor = '';
   }
   
   function tabOn(varSrc, varID)
    {
       // turn off tabs first
       tabOff();
   // alert("src " + varID);
         document.getElementById(varID).src = "http://www.ciaobambino.com/images/" + varSrc;
        
    }
    
    function subtabOn(varSrc, varID)
    {
       // turn off tabs first
       subtabOff();
   // alert("src " + varID);
         document.getElementById(varID).src = "http://www.ciaobambino.com/images/" + varSrc;
        
    }
    function subtabOff()
    {
        var tabs=new Array(2)
        tabs[0]="tabimg6"
        tabs[1]="tabimg7"
         var tabImgs=new Array(2)
        tabImgs[0]="http://www.ciaobambino.com/images/tab_booking_off.gif"
        tabImgs[1]="http://www.ciaobambino.com/images/tab_specialoffer_off.gif"
        for (var i=0; i<tabs.length; i++){
            document.getElementById(tabs[i]).src = tabImgs[i];
           // alert('hi ' + tabs[i] + ' src ' + tabImgs[i]);
        }
    }
    
    function tabOff()
    {
        var tabs=new Array(5)
        tabs[0]="tabimg1"
        tabs[1]="tabimg2"
        tabs[2]="tabimg3"
        tabs[3]="tabimg4"
        tabs[4]="tabimg5"
        tabs[5]="tabimg1"
         var tabImgs=new Array(5)
        tabImgs[0]="http://www.ciaobambino.com/images/tab_cb_favfeatures_off.gif"
        tabImgs[1]="http://www.ciaobambino.com/images/tab_cb_accomodation_off.gif"
        tabImgs[2]="http://www.ciaobambino.com/images/tab_cb_amenities_off.gif"
        tabImgs[3]="http://www.ciaobambino.com/images/tab_cb_thingstodo_off.gif"
        tabImgs[4]="http://www.ciaobambino.com/images/tab_cb_familiesknow_off.gif"
        tabImgs[5]="http://www.ciaobambino.com/images/tab_cb_favfeatures_off.gif"
        for (var i=0; i<tabs.length; i++){
            document.getElementById(tabs[i]).src = tabImgs[i];
           // alert('hi ' + tabs[i] + ' src ' + tabImgs[i]);
        }
    }
