<!-- Beginning of JavaScript -

// CREDITS:
// new hierarchical menu Version 1.1 by Urs Dudli and Peter Gehrig 
// Copyright (c) 1999 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.ch.
// info@24fun.ch
// 1/18/2000

//  **********************************************************************************

// INSTRUCTIONS: 
// Configure the menu and font parameters for each menublock below.
// each menublock[x] contains all necessary informations to build one menu-item with 
// as many sublinks as you like. You can add as many menublocks as you need.
//
// ATTENTION: When you configure the menublocks take care that you
// set the ";" and the "+" as seen below.

//  **********************************************************************************



var menublock=new Array() // no need to change this
var plus_i=0 // no need to change this

/*
menublock[0]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+	 	// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Project Information|#|;"+ 				        // text|URL|target of mainlink
			 "Welcome|pcairport_pages/welcome.htm|main;"+						// text|URL|target of first sublink
			 "The Past|pcairport_pages/past.htm|main;"+						// text|URL|target of first sublink
			 "The Present|pcairport_pages/present.htm|main;"+ 				// text|URL|target of second sublink	 
			 "Completed Relocation Efforts|pcairport_pages/relocation.htm|main;" +		// text|URL|target of third sublink	 
			 "Project Schedule|pcairport_pages/overall_schedule.htm|main;" +	                     // text and URL of mainlink
 			 "Financial Information|pcairport_pages/financial.htm|main;"   // text and URL of mainlink
*/

menublock[0]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+	 	// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Home|http://pcairport.pbsjis.com/pcairport_pages/welcome.htm|main;" // text|URL|target of mainlink
			 
menublock[1]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+	 	// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Bid/Contractor Info|http://pcairport.pbsjis.com/BidContractorInformation.htm|main;" // text|URL|target of mainlink
			 
menublock[2]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+	 	// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Project Schedule|http://pcairport.pbsjis.com/pcairport_pages/overall_schedule.htm|main;" // text|URL|target of mainlink
			 
menublock[3]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+	 	// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "News Releases|http://pcairport.pbsjis.com/pcairport_pages/NewDevelopments.htm|main;" // text|URL|target of mainlink

menublock[4]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+			// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+ 		// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+			// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Archives|#|;"+
			 "History of the Airport Relocation Project|http://pcairport.pbsjis.com/pcairport_pages/HistoryofAirportRelocationProject.htm|main;"+
			 "Sector Plan|http://pcairport.pbsjis.com/pcairport_pages/sector_plan.htm|main;"+	// text and URL of second sublink
 			 //"Ecosystem Team Permitting|pcairport_pages/ecosystem_permits.htm|main;"+	// text and URL of second sublink
 			 "Environmental Impact Statement (EIS)|http://pcairport.pbsjis.com/pcairport_pages/envir_assessment.htm|main;"+	                 // text and URL of first mainlink
			 "Sale of Existing Airport|pcairport_pages/sale_of_airport.htm|main;" +	// text and URL of second sublink
			 "Presentations & Documents|http://pcairport.pbsjis.com/pcairport_pages/docspage.htm|main;" +	// text|URL|target of thirth sublink 
			 "Site Development, Paving and Lighting Bid Information|http://pcairport.pbsjis.com/pcairport_pages/PFNBidScenarios.htm|main;"	// text|URL|target of thirth sublink 

/*
menublock[2]="'Arial Narrow';"+ 			// font mainlink
			 "2;"+				// fontsize mainlink
			 "FFFFFF;"+		// fontcolor mainlink
			 "1;"+				// fontweight mainlink, 1 means bold, 0 means normal
			 "'Arial Narrow';"+ 		// font sublinks
			 "2;"+				// fontsize sublinks
			 "FFFFFF;"+		// fontcolor sublinks
			 "0;"+				// fontweight sublinks, 1 means bold, 0 means normal
			 "Public Involvement|#|;"+	                 // text and URL of first mainlink
			 "Presentations & Documents|pcairport_pages/docspage.htm|main;" +	// text|URL|target of thirth sublink 
			 "Meetings Calendar|MeetingsCalendar.aspx|main;"	// text|URL|target of second sublink 
*/         
// The following block is different. It contains a mainlink without submenus.
// Take care to set the ";;;;" exactly as seen below.
//menublock[2]="'Arial Narrow';"+ 			// font mainlink
//			 "2;"+					// fontsize mainlink
//			 "FFFFFF;"+			// fontcolor mainlink
//          		 "1;"+					// fontweight mainlink, 1 means bold, 0 means normal
//     		 	 ";;;;"+ 		       // leave it empty
//			 "Maps & Pictures|welcome.htm|main;"   // text and URL of mainlink
			 
             		 
// No need to change anything below	 
//  **********************************************************************************
	 
var menusplit
var urlsplit
var font_weight_main
var font_weight_sub
var font_weight_sub

var minusimg=new Image()
minusimg.src="images/minus131.gif"

var plusimg=new Image()
plusimg.src="images/plus131.gif"
			 
var showsubmenus=new Array()
for (i=0;i<=menublock.length-1;i++) {
	showsubmenus[i]=-1
}

var plusminusimg=new Array()
for (i=0;i<=menublock.length-1;i++) {
	plusminusimg[i]=plusimg.src
}

function openandclose(visi) {
	showsubmenus[visi]=(-1)*showsubmenus[visi]
    var menucontent=""
    if (showsubmenus[visi]==1) {plusminusimg[visi]=minusimg.src}
    if (showsubmenus[visi]==-1) {plusminusimg[visi]=plusimg.src}
    menucontent+="<table border=0>"
	for (i=0;i<=menublock.length-1;i++) {
		menusplit=menublock[i].split(";")
		urlsplit=menusplit[8].split("|")
		if (menusplit[3]==1) {font_weight_main="<b>"}
		if (menusplit[3]==0) {font_weight_main=""}
		if (menusplit[7]==1) {font_weight_sub="<b>"}
		if (menusplit[7]==0) {font_weight_sub=""} 
		menucontent+="<tr><td>"

        
       if (menusplit[9].length==0) {
            menucontent+="</td>"
            menucontent+="<td>"
            menucontent+=font_weight_main
            menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
            menucontent+="<font face="+menusplit[0]+" color="+menusplit[2]+" size="+menusplit[1]+">"
            menucontent+=urlsplit[0]
            menucontent+="</font></a></td></tr>"
            plus_i++ 
        }
        
        if (menusplit[9].length!=0) {
            var thismainmenu=i+plus_i
            menucontent+="<a href='javascript:openandclose("+i+")'>"
            menucontent+="<img src='"+plusminusimg[i]+"' border=0></a></td>"
            menucontent+="<td>"
            menucontent+=font_weight_main
            menucontent+="<a href='javascript:openandclose("+i+")'>"
            menucontent+="<font face="+menusplit[0]+" color="+menusplit[2]+" size="+menusplit[1]+">"
            menucontent+=urlsplit[0]
            menucontent+="</font></a></td></tr>"
   
		    if (showsubmenus[i]==1) {
			    for (ii=9;ii<=menusplit.length-1;ii++) {
				    urlsplit=menusplit[ii].split("|")
                    menucontent+="<tr><td></td><td>"
    			    menucontent+=font_weight_sub
                    menucontent+="<a href="+urlsplit[1]+" target="+urlsplit[2]+">"
                    menucontent+="<font face="+menusplit[4]+" color="+menusplit[6]+" size="+menusplit[5]+">"
                    menucontent+=urlsplit[0]
                    menucontent+="</font></a></td></tr>"
			    }
		    }
        }    
	}
    menucontent+="</table><br>"
    menucontent+="<table cellpadding='0' cellspacing='0' width='115' align='center'>"
    menucontent+="<tr><td align='center' background='images/button.gif' height=27> <font color='#FFFFFF' face='Arial Narrow' size='2'> <a target='main' href='mailto:pcairport@pcairport.pbsjis.com'> <b>Email Us</b> </a></font></td></tr>"
    menucontent+="<tr><td><img border='0' src='images/spacer.gif' height='5'></td></tr>"
    //menucontent+="<tr><td align='center' background='images/button.gif' height=27> <font color='#FFFFFF' face='Arial Narrow' size='2'> <a target='main' href='SubscriberPage.aspx'> <b>Subscribe</b></a></font></td></tr>"
    //menucontent+="<tr><td><img border='0' src='images/spacer.gif' height='5'></td></tr>"
    menucontent+="<tr><td align='center' background='images/button.gif' height=27> <font color='#FFFFFF' face='Arial Narrow' size='2'> <a href='http://www.pcairport.com/' target='_blank'> <b>Airport Home</b></a></font></td></tr>"
    menucontent+="<tr><td><img border='0' src='images/spacer.gif' height='5'></td></tr>"
    //menucontent+="<tr><td align='center'><font color='#FFFFFF' face='Arial Narrow' size='2'><br>This site is built for <a href='http://www.microsoft.com/ie' target='_blank'>Microsoft Internet Explorer 4.0</a> and up.</font></td></tr>"	
    menucontent+="</table>"	

	//if (document.all) 
	//{
		menu.innerHTML=menucontent
	//}
	//if (document.layers) {
	//	document.menu.document.write(menucontent)
	//	document.menu.document.close()
	//}
}


// - End of JavaScript - -->