/******(c) Ger Versluis 2000 version simple 4 April 2002******/
var NoOffFirstLineMenus=8;		
var LowBgColor="#77cccc";
var HighBgColor="#0000AA";
var FontLowColor="black";
var FontHighColor="white";
var BorderColor="#77cccc";
var BorderWidth=1;
var BorderBtwnElmnts=1;
var FontFamily="comic sans ms,technical,arial"
var FontSize=9;
var FontBold=0;
var FontItalic=0;
var MenuTextCentered="left";
var MenuCentered="left";
var MenuVerticalCentered="top";
var ChildOverlap=0;
var ChildVerticalOverlap=0;
var StartTop=120;
var StartLeft=0;
var VerCorrect=-60;
var HorCorrect=0;
var LeftPaddng=3;
var TopPaddng=2;
var FirstLineHorizontal=0;
var MenuFramesVertical=1;
var DissapearDelay=500;
var TakeOverBgColor=1;
var MenuUsesFrames=1;
var FirstLineFrame="contents";
var SecLineFrame="main";
var DocTargetFrame="main";
var TargetLoc="";
var UnfoldsOnClick=0;
var BaseHref="";
var Arrws=['../../../js_menu/tri.gif',5,10,'../../../js_menu/tridown.gif',10,5,'../../../js_menu/trileft.gif',5,10];
var PartOfWindow=.8;							
var MenuSlide="";
var MenuShadow="";
var MenuOpacity="";
	
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){ 
   if(ScLoc.HideArray){ 
      var H_A,H_Al,H_El,i; 
      H_A=ScLoc.HideArray; 
      H_Al=H_A.length; 
      for (i=0;i<H_Al;i++){ 
      H_El=Nav4?ScLoc.document.layers[H_A[i]]:DomYes?ScLoc.document.getElementById(H_A[i]).style:ScLoc.document.all[H_A[i]].style; 
      H_El.visibility=M_Hide}}} 

function AfterCloseAll(){ 
   if(ScLoc.HideArray){ 
      var H_A,H_Al,H_El,i; 
      H_A=ScLoc.HideArray; 
      H_Al=H_A.length; 
      for (i=0;i<H_Al;i++){ 
      H_El=Nav4?ScLoc.document.layers[H_A[i]]:DomYes?ScLoc.document.getElementById(H_A[i]).style:ScLoc.document.all[H_A[i]].style; 
      H_El.visibility=M_Show}}}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);

Menu1=new Array("Chapter 1","","",7,20,90);
	Menu1_1=new Array("Introduction","chapter1/introduction.html","",0,22,170);
	Menu1_2=new Array("Initial circuit description","chapter1/initial_cct_desc.html","",0);
	Menu1_3=new Array("Charge","chapter1/charge.html","",0);
	Menu1_4=new Array("Current","chapter1/current.html","",0);
        Menu1_5=new Array("Voltage and resistance","chapter1/voltage_resistance.html","",0);
	Menu1_6=new Array("Ohm's law","chapter1/ohms_law.html","",0);
        Menu1_7=new Array("Summary","chapter1/summary1.html","",0);
	
Menu2=new Array("Chapter 2","","",6,20,90);
	Menu2_1=new Array("Conventional current flow","chapter2/electron_flow.html","",0,22,170);
	Menu2_2=new Array("Potential energy","chapter2/potential_energy.html","",0);
	Menu2_3=new Array("GPE","chapter2/gpe.html","",0);
	Menu2_4=new Array("Voltage","chapter2/voltage.html","",0);
        Menu2_5=new Array("e.m.f. and voltage drop","chapter2/emf.html","",0);
	Menu2_6=new Array("Summary","chapter2/summary2.html",0);

Menu3=new Array("Chapter 3","","",6,20,90);
	Menu3_1=new Array("Resistance","chapter3/resistance.html","",0,22,170);
	Menu3_2=new Array("Resistivity","chapter3/resistivity.html","",0);
	Menu3_3=new Array("Number density","chapter3/number_density.html","",0);
	Menu3_4=new Array("Drift velocity","chapter3/drift_velocity.html","",0);
	Menu3_5=new Array("Current","chapter3/current2.html","",0);
	Menu3_6=new Array("Summary","chapter3/summary3.html","",0);

Menu4=new Array("Chapter 4","","",8,20,90);
	Menu4_1=new Array("Introduction","chapter4/introduction.html","",0,22,180);
	Menu4_2=new Array("Ohm's Law","chapter4/ohms_law.html","",0);
	Menu4_3=new Array("Kirchoff's current law","chapter4/kirchoff_current.html","",0);
	Menu4_4=new Array("Kirchoff's voltage law","chapter4/kirchoff_voltage.html","",0);
        Menu4_5=new Array("Circuit Diagrams","chapter4/circuit_diagrams.html","",0);
	Menu4_6=new Array("Resistors in Series","chapter4/series_resistors.html","",0);
        Menu4_7=new Array("Resistors in Parallel","chapter4/parallel_resistors.html","",0);
	Menu4_8=new Array("Defining voltage","chapter4/voltage.html","",0);

Menu5=new Array("Chapter 5","","",7,20,90);
	Menu5_1=new Array("Basic d.c. cct problems","chapter5/dc_cct_problems.html","",0,22,180);
	Menu5_2=new Array("Circuit 1","chapter5/dc_cct_problem1.html","",0);
	Menu5_3=new Array("Circuit 2","chapter5/dc_cct_problem2.html","",0);
	Menu5_4=new Array("Circuit 3","chapter5/dc_cct_problem3.html","",0);
        Menu5_5=new Array("Circuit 4","chapter5/dc_cct_problem4.html","",0);
	Menu5_6=new Array("Circuit 5","chapter5/dc_cct_problem5.html","",0);
        Menu5_7=new Array("Circuit 6","chapter5/dc_cct_problem6.html","",0);

Menu6=new Array("Chapter 6","","",9,20,90);
	Menu6_1=new Array("Adding resistors","chapter6/res_comb.html","",0,22,180);
	Menu6_2=new Array("Potential divider","chapter6/pot_div.html","",0,22,180);
	Menu6_3=new Array("Current divider","chapter6/cur_div.html","",0,22,180);
	Menu6_4=new Array("Energy in d.c. circuits","chapter6/energy.html","",0,22,180);
	Menu6_5=new Array("Power in d.c. circuits","chapter6/power.html","",0);
	Menu6_6=new Array("Examples","chapter6/pow_ex.html","",0);
	Menu6_7=new Array("Internal resistance","chapter6/internal_resistance.html","",0);
	Menu6_8=new Array("Examples","chapter6/int_r_ex.html","",0);
	Menu6_9=new Array("Temperature effects","chapter6/res_temp.html","",0);

Menu7=new Array("Chapter 7","","",10,20,90);
	Menu7_1=new Array("Introduction","chapter7/introduction.html","",0,22,180);
	Menu7_2=new Array("Equivalent circuits","chapter7/equiv_ccts.html","",0,22,180);
	Menu7_3=new Array("Thevenin's theorem","chapter7/thevenins_theorem.html","",0);
	Menu7_4=new Array("Thevenin example","chapter7/thevenin_example.html","",0);
	Menu7_5=new Array("Nortons theorem","chapter7/nortons_theorem.html","",0);
	Menu7_6=new Array("Norton example","chapter7/norton_example.html","",0);
	Menu7_7=new Array("Using the equivalent circuits","chapter7/load.html","",0);
	Menu7_8=new Array("The superposition theorem","chapter7/superposition_theorem.html","",0);
	Menu7_9=new Array("Superposition example","chapter7/superposition_example.html","",0);
	Menu7_10=new Array("Simultaneous equations","chapter7/sim_eq.html","",0);

Menu8=new Array("Back to:","","",3);
	Menu8_1=new Array("Science Campus","javascript:top.document.location.href='../../../index.html'","",0,22,170);
	Menu8_2=new Array("Physics Dept","javascript:top.document.location.href='../../../physics/physics_dept.html'","",0);
	Menu8_3=new Array("Engineering Dept","javascript:top.document.location.href='../../../engineering/engineering_dept.html'","",0);


