/******(c) Ger Versluis 2000 version simple 4 April 2002******/
var NoOffFirstLineMenus=3;		
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","","",9,20,90);
	Menu1_1=new Array("Introduction","semiconductor_1.html","",0,22,200);
	Menu1_2=new Array("Element groups","semiconductor_2.html","",0);
	Menu1_3=new Array("Intrinsic semiconductor","semiconductor_3.html","",0);
        Menu1_4=new Array("Energy Bands","semiconductor_4.html","",0);
	Menu1_5=new Array("Electron-hole pairs","semiconductor_5.html","",0);
        Menu1_6=new Array("Virtual particles","semiconductor_6.html","",0);
	Menu1_7=new Array("Semiconductor breakdown","semiconductor_7.html","",0);
	Menu1_8=new Array("N type semiconductor","semiconductor_9.html","",0);
	Menu1_9=new Array("P type semiconductor","semiconductor_10.html","",0);		

Menu2=new Array("Chapter 2","","",4);
	Menu2_1=new Array("PN Junction Diode","diode_1.html","",0,22,200);
	Menu2_2=new Array("Reverse Bias","diode_2.html","",0);
	Menu2_3=new Array("Forward Bias","diode_3.html","",0);
        Menu2_4=new Array("Diode Characteristic","diode_4.html","",0);

Menu3=new Array("Back to:","","",3);
	Menu3_1=new Array("Science Campus","javascript:top.document.location.href='../../../index.html'","",0,22,200);
	Menu3_2=new Array("Physics Dept","javascript:top.document.location.href='../../../physics/physics_dept.html'","",0);
	Menu3_3=new Array("Engineering Dept","javascript:top.document.location.href='../../../engineering/engineering_dept.html'","",0);


