/*JavaScript Starts Here*/

	var NoOffFirstLineMenus=8;			// Number of first level items
	var LowBgColor='white';			// Background color when mouse is not over
	var LowSubBgColor='white';			// 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='black';			// 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='black';			// 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,comic sans ms,technical"	// 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=240;				// Menu offset x coordinate
	var StartLeft=1;				// 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=2;				// Top padding
	var FirstLineHorizontal=0;			// 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=1;				// 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("EECS@WSU","http://www.eecs.wsu.edu","",0,25,170);

Menu2=new Array("Syllabus","./Syllabus_08.pdf","",0);

Menu3=new Array("Tutorials","","",5);
	Menu3_1=new Array("Virtuoso Schematic & Simulation","./tutorial/CadTutorials.pdf","",0,20,200);	
	Menu3_2=new Array("Layout Tutorial","./tutorial/Layout_Tutorial.pdf","",0,20,150);
	Menu3_3=new Array("Power Calculation","./tutorial/power.pdf","",0,20,150);
	Menu3_4=new Array("Text Stimulus Examples","./tutorial/inputs.example.txt","",0,20,150);
        Menu3_5=new Array("Presentation","./tutorial/Nyathi_09.ppt","",0,20,150);
	Menu3_6=new Array("Running Cadence on Linux","./tutorial/RAccess.pdf","",0,20,150);
	Menu3_6=new Array("Text Stimulus Examples","./tutorial/inputs.example.txt","",0,20,150);
	Menu3_7=new Array("Download Tutorials","dnload.html","",0,20,150);
		
Menu4=new Array("Lab Assignments","","",5);
	Menu4_1=new Array("Lab Report Expectations","./Lab_expectations.txt","",0,20,120);
	Menu4_2=new Array("Lab Assignment 1","./fall05/Lab/Lab1_F08.pdf","",0,20,120);
	Menu4_3=new Array("Lab Assignment 2","./fall05/Lab/Lab2_F08.pdf","",0,20,100);
	Menu4_4=new Array("Lab Assignment 3","./fall05/Lab/Lab3_EE466_F08.pdf","",0,20,100);
	Menu4_5=new Array("Project","","",5);
	Menu4_5_1=new Array("Project","./fall05/Lab/EE466_Project.doc","",0,20,150);
	Menu4_5_2=new Array("Deliverables","./fall05/Lab/Deliverables.doc","",0,20,150);
	Menu4_5_3=new Array("Option 2","./fall05/Lab/Option2.pdf","",0,20,150);
        Menu4_5_4=new Array("Option 3a","./fall05/Lab/Option3a.pdf","",0,20,100);
        Menu4_5_5=new Array("Option 3b","./fall05/Lab/Option3b.pdf","",0,20,100);

Menu5=new Array("Homework","","",6);
	Menu5_1=new Array("Homework 1","./fall05/HW/HW1_F08.pdf","",0,20,100);
	Menu5_2=new Array("Homework 2","./fall05/HW/HW2_F08.pdf","",0,20,100);
	Menu5_3=new Array("Homework 3","./fall05/HW/HW3_F08.pdf","",0,20,100);
	Menu5_4=new Array("Homework 4","./fall05/HW/EE466HW4F08.doc","",0,20,100);
	Menu5_5=new Array("Homework 5","./fall05/HW/HW5_EE466_F08.doc","",0,20,100);
	Menu5_6=new Array("Homework 6","./fall05/HW/EE466_Homework6_F08.doc","",0,20,100);

Menu6=new Array("Homework Solutions","","",6);
	Menu6_1=new Array("Solution 1","./fall05/HW/HW1_F08_Sol.pdf","",0,20,70);
	Menu6_2=new Array("Solution 2","./fall05/HW/HW2_F08_Sol.pdf","",0,20,70);
	Menu6_3=new Array("Solution 3","./fall05/HW/HW3Sol.pdf","",0,20,70);
	Menu6_4=new Array("Solution 4","./fall05/HW/HW4Sol.pdf","",0,20,70);
	Menu6_5=new Array("Solution 5","./fall05/HW/HW5_EE466_F08_Answer.doc","",0,20,70);
	Menu6_6=new Array("Solution 6","./fall05/HW/EE466_Homework6_F08_Answer.doc","",0,20,70);

Menu7=new Array("Notes","","",19);
        Menu7_1=new Array("Lecture 1","./fall05/Notes/Lecture1.ppt","",0,20,100);
	Menu7_2=new Array("Lecture 2&3","./fall05/Notes/Lecture2&3.ppt","",0,20,100);
	Menu7_3=new Array("Lecture 4","./fall05/Notes/Lecture4.ppt","",0,20,100);
	Menu7_4=new Array("Lecture 5","./fall05/Notes/Lecture5.ppt","",0,20,100);
	Menu7_5=new Array("Threshold Voltage","./fall05/Notes/ThresholdVol.ppt","",0,20,100);
	Menu7_6=new Array("MOS_Chr","./fall05/Notes/ee466_MOSCV.ppt","",0,20,100);
	Menu7_7=new Array("Channel_L","./fall05/Notes/ch_modulation.ppt","",0,20,100);
	Menu7_8=new Array("Inv_Characteristics","./fall05/Notes/Inv_trans_ch.ppt","",0,20,100);
	Menu7_9=new Array("Supplemental Notes","./fall05/Notes/Vthinv.pdf","",0,20,100);	
	Menu7_10=new Array("Noise Margis","./fall05/Notes/MOS_Inverter.ppt","",0,20,100);
	Menu7_11=new Array("Defining Terms","./fall05/Notes/defining_terms.ppt","",0,20,100);
	Menu7_12=new Array("Logical Effort","./fall06/Logical_Effort.ppt","",0,20,100);
	Menu7_13=new Array("Performance","./fall05/Notes/Power_Energy_Delay.ppt","",0,20,100);
	Menu7_14=new Array("Wires","./fall06/interconnects.ppt","",0,20,100);
	Menu7_15=new Array("Elmore Delay","./fall05/Notes/EE466_TheWire_F05.ppt","",0,20,100);			
	Menu7_16=new Array("Latch-UP","./fall05/Notes/Latch-Up.ppt","",0,20,100);
	Menu7_17=new Array("Chapter4 Review","./fall05/Notes/A_Look_at_Chapter4.ppt","",0,20,100);
	Menu7_18=new Array("Logic Families","./fall06/Logic_Families.ppt","",0,20,100);
	Menu7_19=new Array("MORE NOTES","","",7);
	Menu7_19_1=new Array("Sequential Circuits","./fall06/sequentialcircuits.ppt","",0,20,100);
	Menu7_19_2=new Array("Data Path Circuits","./fall06/DataPath.ppt","",0,20,100);
	Menu7_19_3=new Array("Adders","./fall05/Notes/adders.ppt","",0,20,100);
	Menu7_19_4=new Array("Memories","./fall05/Notes/mem_cores.ppt","",0,20,100);
	Menu7_19_5=new Array("System Design","./fall05/Notes/router.ppt","",0,20,100);
	Menu7_19_6=new Array("Timing","./fall05/Notes/timing.ppt","",0,20,100);
	Menu7_19_7=new Array("Testing","./fall06/lect_testing.ppt","",0,20,100);

Menu8=new Array("Useful Links","","",6);
	Menu8_1=new Array("Cadence","http://www.cadence.com","",0,20,130);
	Menu8_2=new Array("Magic","http://research.compaq.com/wrl/projects/magic/","",0,20,130);
	Menu8_3=new Array("MOSIS Design Rules","http://www.mosis.org/Technical/Layermaps/lm-scmos_scn4m.html","",0,20,130);
	Menu8_4=new Array("Fall07Exam1","./fall06/fall07exam1.pdf","",0,20,130);
	Menu8_5=new Array("Fall07Exam2","./fall05/HW/EE_466_F07_Exam2.doc","",0,20,130);
	Menu8_6=new Array("Exam2 Study Guide","./fall05/HW/Exam2Topics","",0,20,130);
	Menu8_7=new Array("First Exam Topics","./fall05/HW/EE466_studyguide.pdf","",0,20,130);
	Menu8_8=new Array("2007 Final Exam Topics","./fall05/HW/FinalExamTopics.pdf","",0,20,130);
	Menu8_9=new Array("Practice FinalExam","./fall06/HW/SampleFinal06.pdf","",0,20,130);
	Menu8_10=new Array("Deng's Dissertation","./fall06/Deng_Thesis.pdf","",0,20,130);