
          NS4 = (document.layers);
          IE4 = (document.all);
         ver4 = (NS4 || IE4);   
        isMac = (navigator.appVersion.indexOf("Mac") != -1);
       isMenu = (NS4 || (IE4 && !isMac));

       function popUp(){return};
       function popDown(){return};

       if (!ver4) event = null;


       if (isMenu) {
           menuVersion = 3;
           
           menuWidth = 150;
           childOverlap = 0;
           childOffset = 0;
           perCentOver = null;
           secondsVisible = .5;
           
           fntCol = "#000000";
           fntSiz = "10";
           fntBold = true;
           fntItal = false;
           fntFam = "sans-serif";

           
           backCol = "#F2FBFE";
		   backCol2 = "#ff0000";
           overCol = "#000088";
		   overCol2 = "#ff0000";
           overFnt = "#ffffff";
           
           borWid = 2;
           borCol = "#FF0000";
           borSty = "solid";
           itemPad = 3;
           
           imgSrc = "rightarrow.gif";
           imgSiz = 10;
           
           separator = 1;
           separatorCol = "#660099";
           
           isFrames = false;      // <-- IMPORTANT for full window
           navFrLoc = "left";     // <-- display. see below
           
           keepHilite = true; 
           NSfontOver = true;
           clickStart = false;
           clickKill = false;
       }

if (isMenu) {
	document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierMenus.js'></SCRIPT>");
}



browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))
// preload universal images
if (browser) {

	denr_off = new Image;
	denr_off.src = "images/tree_top2.gif";
	denr_roll = new Image;
	denr_roll.src = "images/tree_top2.gif";
	denr_on = new Image;
	denr_on.src = "images/tree_top2.gif";

	crmp_off = new Image;
	crmp_off.src = "images/tree_bottom1.gif";
	crmp_roll = new Image;
	crmp_roll.src = "images/tree_bottom1.gif";
	crmp_on = new Image;
	crmp_on.src = "images/tree_bottom1.gif";

	smiczmp_off = new Image;
	smiczmp_off.src = "images/tree_bottom2.gif";
	smiczmp_roll = new Image;
	smiczmp_roll.src = "images/tree_bottom2.gif";
	smiczmp_on = new Image;
	smiczmp_on.src = "images/tree_bottom2.gif";

	sulu_off = new Image;
	sulu_off.src = "images/tree_bottom3.gif";
	sulu_roll = new Image;
	sulu_roll.src = "images/tree_bottom3.gif";
	sulu_on = new Image;
	sulu_on.src = "images/tree_bottom3.gif";

}

currentAd = 1;
graphicSpeed = 7000;


function putImage(imgDocID,imgObjName) {

// 	 manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in
if (browser) {
        document.images[imgDocID].src = eval(imgObjName + ".src")
	}
}

function CSURLPopupShow(formName, popupName, target) {
        var popup = document[formName].elements[popupName];
        window.open(popup.options[popup.selectedIndex].value, target);
        popup.selectedIndex = 0;
}


arMenu1 = new Array(
		450,
		170,58,
		"","",
		"","",
		"","",
		"1. Resource Assessment and Socio-economic Profiling","",0,"2. Community Organizing","",0,"3. Identification and Development of Alternative Livelihood Projects","",0,"4. Information, Education and Communication Campaign","",0,"5.	Establishment of Protected Seascapes","",0,"6. Coastal Pollution Assessment and Monitoring","",0,"7. Management of Endangered Marine Fauna","",0,"8. Environmental Research and Special Projects","",0,"Click here for more info...","cep-brief.html",0);

arMenu2 = new Array(
		300,
		80,193,
		"","",
		"","",
		"","",
		"1. LGU Capability Building","",0,"2. Mangrove Management","",0,"3. Alternative Enterprise Development","",0,"4. Constituency Building and Empowerment","",0,"5. Researches on and Development of Community-based CRM Approaches","",0,"6. Policy Analysis and Formulation","",0,"Click here for more info...","../about_crmp/index.html",0);

arMenu3 = new Array(
		300,
		230,233,
		"","",
		"","",
		"","",
		"1. Infrastructure Development","",0,"2. Sewage Treatment","",0,"3. Reforestation","",0,"4. Mangrove Rehabilitation and Management","",0,"5. Livelihood Support","",0,"Click here for more info...","smiczmp.html",0);

arMenu4 = new Array(
		300,
		400,236,
		"","",
		"","",
		"","",
		"1. Technical Capability Building","",0,"2. Resource Rehabilitation","",0,"3.	Land Use Planning","",0,"4. Water Quality Management","",0,"5. Fisheries Management","",0,"6. Tourism and Recreation Management","",0);


