
function OpenNWin(url)  {

  var height = 620                       //Set height
  var width = 650                        //Set width
  var name = "winnew"             		//Set window name
  var top = 10                            //Set distance from top
  var left = 50                            //Set distance from bottom
  winInfo=window.open(url, name, "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);

 winInfo.focus();

}

function OpenNWin1(url)  {

  var height = 620                       //Set height
  var width = 650                        //Set width
  var name = "winnew"             		//Set window name
  var top = 10                            //Set distance from top
  var left = 50                            //Set distance from bottom
  winInfo=window.open(url, name, "fullscreen=no,toolbar=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,directories=yes,location=yes,width=" + width + ",height=" + height + ",left=" + left + ",top=" + top);

 winInfo.focus();

}

	var NoOffFirstLineMenus=7;			// Number of first level items
	var LowBgColor='#0070DF';			// Background color when mouse is not over
	var LowSubBgColor='#007900';		// Background color when mouse is not over on subs
//	var LowSubBgColor='#026AAB';		// Background color when mouse is not over on subs
	var HighBgColor='white';			// Background color when mouse is over
	var HighSubBgColor='white';			// Background color when mouse is over on subs
	var FontLowColor='white';			// Font color when mouse is not over
	var FontSubLowColor='white';		// Font color subs when mouse is not over
	var FontHighColor='black';			// Font color when mouse is over(black)
	var FontSubHighColor='black';		// Font color subs when mouse is over
	var BorderColor='#FABD05';			// Border color (black)
	var BorderSubColor='#FABD05';		// Border color for subs(black)
	var BorderWidth=2;					// Border width
	var BorderBtwnElmnts=1;				// Border between elements 1 or 0
	var FontFamily="arial,comic sans ms,technical"	// Font family menu items
	var FontSize=8;						// 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=.01;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;		// vertical overlap child/ parent
	var StartTop=199;					// Menu offset x coordinate (Y)
	var StartLeft=15;					// Menu offset y coordinate (X)
	var VerCorrect=0;					// Multiple frames y correction
	var HorCorrect=0;					// Multiple frames x correction
	var LeftPaddng=3;					// Left padding(18)
	var TopPaddng=2;					// 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=500;				// delay before menu folds in (1000)
	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=1;					// Uses arrow gifs when 1
	var KeepHilite=1;					// Keep selected path highligthed
	var Arrws=['images/tri-rtsm.gif',15,10,'images/tridown.gif',10,5,'images/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("My Home","http://lamar.colostate.edu/~jhliu/","",2,20,80);
	Menu1_1=new Array("About Me","aboutme.shtml","",0,20,150);
	Menu1_2=new Array("Contact","contact.shtml","",0);

Menu2=new Array("Teaching","teaching.shtml","",1,20,80);
	Menu2_1=new Array("Teach Courses","teaching.shtml","",0,20,150);
	//Menu2_1=new Array("ME440/CE473/CB466)- Design of Off-Highway Vehicles)","ce437.asp","",0,20,150);
	//Menu2_2=new Array("CB542- GPS and GIS application in Engineering ","cb542.asp","",0);
	//Menu2_3=new Array("CB204- Agricultural and Environmental Measurements","cb204.asp","",0);
	//Menu2_4=new Array("Theory of Automobile and Tractor","auto_tractor_theory.asp","",0);
	//Menu2_5=new Array("Design of Automobile and Tractor ","auto_tractor_design.asp","",0);
	//Menu2_6=new Array("Vehicle Dynamics","Vehicle_Dynamics.asp","",0);


Menu3=new Array("Research","","",7,20,80); 
	Menu3_1=new Array("Tractor Safety Initiative","tsi.shtml","",0,20,151);
	Menu3_2=new Array("Interactive CD","javascript:OpenNWin1('http://www.hicahs.colostate.edu/interactive_CD.asp')","",0);
	Menu3_3=new Array("ROPS for High Spped Tractor","javascript:OpenNWin1('http://www.hicahs.colostate.edu/Feasibility_projects.asp')","",0);
	Menu3_4=new Array("Agr Curriculum online","javascript:OpenNWin1('http://www.hicahs.colostate.edu/Agricultural_Curriculum.asp')","",0);
	Menu3_5=new Array("VMS in Engineering","vms_engineering.shtml","",0);
	Menu3_6=new Array("Tractor Stability","tractor_stability.shtml","",0);
	Menu3_7=new Array("Computer Info","computer_application.shtml","",0);


Menu4=new Array("Publication","publications.shtml","",0,20,80);
	//Menu4_1=new Array("Injury Information","Injury_Information.asp","",0,20,160);
	//Menu4_2=new Array("Endotoxin & Genetics","Endotoxin_Genetics.asp","",0);
	//Menu4_3=new Array("Novel Biomarkers","Novel_Biomarkers.asp","",0);
	//Menu4_4=new Array("Feasibility Projects","Feasibility_projects.asp","",0);

Menu5=new Array("Professional","professional.shtml","",1,20,80);
	Menu5_1=new Array("Professional","professional.shtml","",0,20,120);
	//Menu5_1=new Array("Off Highway VEhicle","offhighway_vehicle.asp","",0,20,120);
	//Menu5_2=new Array("Health and Safety","HS_information.asp","",0);
	//Menu5_3=new Array("GPS and GIS","gps_gis.asp","",0);
	//Menu5_4=new Array("Engine and Energy Technology","engine_energy.asp","",0);
	//Menu5_5=new Array("Information technology","IT.asp","",0);
	//Menu5_6=new Array("Professional Societies","ProfessionalSocieties.asp","",0);

Menu6=new Array("Favorite","favorite.shtml","",0,20,80);
	//Menu6_1=new Array("Sport","staff_login.asp","",0,20,160);
	//Menu6_2=new Array("HICAHS Publication","listpapers.asp","",0);
	//Menu6_2=new Array("Technology & Knowledges","","",4,20,160);	 
	//	Menu6_2_1=new Array("Trimble","javascript:OpenNWin1('http://www.trimble.com/')","",0,20,200);	 
	//	Menu6_2_2=new Array("Garmin GPS","javascript:OpenNWin1('http://www.garmin.com/')","",0,20,200);	  	
	//	Menu6_2_3=new Array("Magellan GPS","javascript:OpenNWin1('http://www.magellangps.com/en/')","",0,20, 200);	  
	//	Menu6_2_4=new Array("GPS World","javascript:OpenNWin1('http://www.gpsworld.com')","",0);

Menu7=new Array("What Here!","","",3,20,80);
	Menu7_1=new Array("Culture and Diversity","culture.shtml","",0,20,160);
	Menu7_2=new Array("Jamie's Photos","javascript:OpenNWin1('Jamiealbum/jamie.html')","",0);
	Menu7_3=new Array("family Album","http://www.engr.colostate.edu/~jliu/2005familyphotos.html","",0);
