

/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=6;			// Number of first level items
	var LowBgColor='#6699CC';			// Background color when mouse is not over
	var LowSubBgColor='#5B83AA';			// Background color when mouse is not over on subs
	var HighBgColor='black';			// Background color when mouse is over
	var HighSubBgColor='black';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='black';			// Font color subs when mouse is not over
	var FontHighColor='white';			// Font color when mouse is over
	var FontSubHighColor='white';			// Font color subs when mouse is over
	var BorderColor='6699CC';			// Border color
	var BorderSubColor='black';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial, verdana"	// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=17;				// Menu offset x coordinate
	var StartLeft=15;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=1;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("rollover:/graphics/healthnav.gif:/graphics/healthnav2.gif", "http://ucatlas.ucsc.edu/health.php", "", 6, 20, 56);

  Menu1_1=new Array("Intercountry Inequality", "http://ucatlas.ucsc.edu/life.php", "", 3, 20, 150);

    Menu1_1_1=new Array("Infant Mortality", "javascript:window.open('http://ucatlas.ucsc.edu/life/infant.html','InfantMortality', 'width=800,height=600')", "", 0, 20, 150);
    Menu1_1_2=new Array("Under 5 Mortality", "javascript:window.open('http://ucatlas.ucsc.edu/health/under_5/under_5.html','Under5Mortality', 'width=800,height=600')", "", 0, 20, 150);
    Menu1_1_3=new Array("Life Expectancy", "javascript:window.open('http://ucatlas.ucsc.edu/life/life_index.php','LifeExpectancy', 'width=800,height=600')", "", 0, 20, 150);

  Menu1_2=new Array("Cause of Death", "http://ucatlas.ucsc.edu/cause.php", "", 0);

  Menu1_3=new Array("Disease & Immunization", "http://ucatlas.ucsc.edu/disease.php", "", 5, 20, 150);
    Menu1_3_1=new Array("Diphtheria", "javascript:window.open('http://ucatlas.ucsc.edu/health/diphtheria/diphtheria.html','Diptheria', 'width=800,height=600')", "", 0, 20, 150);
    Menu1_3_2=new Array("Measles", "javascript:window.open('http://ucatlas.ucsc.edu/health/measles/measles.html','Measles', 'width=800,height=600')", "", 0, 20, 150);
    Menu1_3_3=new Array("Polio", "javascript:window.open('http://ucatlas.ucsc.edu/health/polio/polio.html','Polio', 'width=800,height=600')", "", 0, 20, 150);
	Menu1_3_4=new Array("Malaria", "http://ucatlas.ucsc.edu/health/malaria/malaria.html", "", 0);
	Menu1_3_5=new Array("Tuberculosis", "javascript:window.open('http://ucatlas.ucsc.edu/health/tb/tb.html','Tuberculosis', 'width=800,height=600')", "", 0, 20, 150);
	
  Menu1_4=new Array("Access to Health Care", "http://ucatlas.ucsc.edu/access.php", "", 2);
    Menu1_4_1=new Array("Health Care Spending", "http://ucatlas.ucsc.edu/spend.php", "", 0, 20, 150);
    Menu1_4_2=new Array("Health Professionals", "http://ucatlas.ucsc.edu/professional.php", "", 0);

  Menu1_5=new Array("Inequality in Countries", "http://ucatlas.ucsc.edu/intracountry.php", "",0, 20, 150);
  
  Menu1_6=new Array("HIV and AIDS", "http://ucatlas.ucsc.edu/health/aids/aids.php", "", 4);
    Menu1_6_1=new Array("AIDS and Children", "http://ucatlas.ucsc.edu/health/aids/aids_kids.php", "", 0, 20, 150);
    Menu1_6_2=new Array("Aids and Gender", "http://ucatlas.ucsc.edu/health/aids/aids_gender.php", "", 0);
    Menu1_6_3=new Array("Economic Impact of Aids", "http://ucatlas.ucsc.edu/health/aids/econ_imp.php", "", 0);
    Menu1_6_4=new Array("Uganda and AIDS", "http://ucatlas.ucsc.edu/health/aids/uganda_hiv.php", "", 0);
	
Menu2=new Array("rollover:/graphics/incomenav.gif:/graphics/incomenav2.gif", "http://ucatlas.ucsc.edu/income.php", "", 3, 20, 129);
  Menu2_1=new Array("Income Ratio PPP", "javascript:window.open('http://ucatlas.ucsc.edu/income/rtioppp.html','IncomeRatio', 'width=800,height=')", "", 0, 20, 150);
  Menu2_2=new Array("Gross Domestic Product", "javascript:window.open('http://ucatlas.ucsc.edu/gdp/gdp.html','GDP', 'width=800,height=600')", "", 0, 20, 150);
  Menu2_3=new Array("Gross National Product", "javascript:window.open('http://ucatlas.ucsc.edu/gnp/gnp.html','GNP', 'width=800,height=600')", "", 0, 20, 150);

Menu3=new Array("rollover:/graphics/econnav.gif:/graphics/econnav2.gif", "http://ucatlas.ucsc.edu/economic.php", "", 3, 20, 157);
  Menu3_1=new Array("Foreign Investment", "javascript:window.open('http://ucatlas.ucsc.edu/fdi/fdi.html','FDI', 'width=800,height=600')", "", 0, 20, 150);
  Menu3_2=new Array("Trade Theme", "http://ucatlas.ucsc.edu/trade/trade_theme.php", "", 3, 20, 150);
    Menu3_2_1=new Array("Trade", "javascript:window.open('http://ucatlas.ucsc.edu/trade/trade.html','Trade', 'width=800,height=600')", "", 0, 20, 150);
    Menu3_2_2=new Array("Trade Flows", "javascript:window.open('http://ucatlas.ucsc.edu/trade/tradeflows.htm','TradeFlows', 'width=800,height=600')", "", 0, 20, 150);
    Menu3_2_3=new Array("Regional Trade Blocs", "http://ucatlas.ucsc.edu/trade/subtheme_trade_blocs.php", "", 0, 20, 150);
  Menu3_3=new Array("Economic Crises & IMF", "http://ucatlas.ucsc.edu/sap.php", "", 0, 20, 150);

Menu4=new Array("rollover:/graphics/gendernav.gif:/graphics/gendernav2.gif", "http://ucatlas.ucsc.edu/gender/gender_mortality.php", "", 2, 40);
  Menu4_1=new Array("India", "http://ucatlas.ucsc.edu/gender/gender_india.php", "", 0, 20, 150)
  Menu4_2=new Array("Sex Ratio", "javascript:window.open('http://ucatlas.ucsc.edu/gender/gratio.html','GDP', 'width=800,height=600')", "", 0, 20, 150);


Menu5=new Array("rollover:/graphics/inequalnav.gif:/graphics/inequalnav2.gif", "http://ucatlas.ucsc.edu/sen.php", "", 0, 20, 143);

Menu6=new Array("rollover:/graphics/connectnav.gif:/graphics/connectnav2.gif", "http://ucatlas.ucsc.edu/connect.php", "", 1, 20, 110);
  Menu6_1=new Array("Telephone Mainlines", "javascript:window.open('http://ucatlas.ucsc.edu/communication/telephone.html','Telephones', 'width=800,height=600')", "", 0, 20, 150);

