/***********************************************************************************
*	(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=9;			// Number of first level items
	var LowBgColor='#C0C0C0';			// Background color when mouse is not over
	var LowSubBgColor='#C0C0C0';			// Background color when mouse is not over on subs
	var HighBgColor='#003366';			// Background color when mouse is over
	var HighSubBgColor='#003366';			// Background color when mouse is over on subs
	var FontLowColor='#003366';			// Font color when mouse is not over
	var FontSubLowColor='#003366';			// 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='white';			// Border color
	var BorderSubColor='white';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Verdana,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='static';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=110;				// Menu offset x coordinate
	var StartLeft=10;				// 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=500;				// 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=['http://siwilo.com/hapcan/menu/tri.gif',5,10,'http://siwilo.com/hapcan/menu/tridown.gif',10,5,'http://siwilo.com/hapcan/menu/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("","","",0,25,160);

Menu2=new Array("Home","http://siwilo.com/hapcan/","",0);
	
Menu3=new Array("About Project","","",9);
	Menu3_1=new Array("Basis","http://siwilo.com/hapcan/project/basis.htm","",0,20,180);
	Menu3_2=new Array("Project range","http://siwilo.com/hapcan/project/index.htm","",0);	
    Menu3_3=new Array("Bus","http://siwilo.com/hapcan/project/bus/index.htm","",0);	
    Menu3_4=new Array("Hardware","http://siwilo.com/hapcan/project/hardware/index.htm","",0);		
	Menu3_5=new Array("Firmware","http://siwilo.com/hapcan/project/firmware/index.htm","",0);
	Menu3_6=new Array("Communication","http://siwilo.com/hapcan/project/communication/index.htm","",0);
    Menu3_7=new Array("Installing devices","http://siwilo.com/hapcan/project/install/index.htm","",0);
	Menu3_8=new Array("System Programming","http://siwilo.com/hapcan/project/programming/index.htm","",0);	    
	Menu3_9=new Array("Demo system","http://siwilo.com/hapcan/project/demo/index.htm","",0);		
			
Menu4=new Array("Hardware","","",11);
	Menu4_1=new Array("Universal modules","http://siwilo.com/hapcan/devices/universal/index.htm","",0,20,180);
	Menu4_2=new Array("Button","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-1-0/index.htm","",0);	
	Menu4_3=new Array("Relay","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-2-0/index.htm","",0);		
	Menu4_4=new Array("Infrared Receiver","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-3-0/index.htm","",0);	
	Menu4_5=new Array("Temperature Sensor","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-4-0/index.htm","",0);
    Menu4_6=new Array("Infrared Transmitter","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-5-0/index.htm","",0);				
	Menu4_7=new Array("Dimmer","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-6-0/index.htm","",0);
	Menu4_8=new Array("Blind Controller","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-7-1/index.htm","",0);	
	Menu4_9=new Array("LED Controller","http://siwilo.com/hapcan/devices/universal/univ_v1-0/univ_v1-0-8-1/index.htm","",0);	
	Menu4_10=new Array("RS232C Interface","http://siwilo.com/hapcan/devices/universal/univ_v2-0/univ_v2-0-1-0/index.htm","",0,20,150);
	Menu4_11=new Array("Ethernet Interface","http://siwilo.com/hapcan/devices/universal/univ_v2-0/univ_v2-0-2-0/index.htm","",0,20,150);
//	Menu4_12=new Array("Power adapter","http://siwilo.com/hapcan/devices/button","",0,20,150);

Menu5=new Array("Software","","",3);
	Menu5_1=new Array("HAPCAN Programmer","http://siwilo.com/hapcan/software/","",0,20,180);
	Menu5_2=new Array("HAPCAN Visualizer","http://siwilo.com/hapcan/software/hav/","",0);
	Menu5_3=new Array("Your Application","http://siwilo.com/hapcan/software/diy/","",0);	

Menu6=new Array("Shop","http://shop.siwilo.com/index.php?language=en","",0);

Menu7=new Array("Contact","http://siwilo.com/hapcan/contact/","",0);

Menu8=new Array("Forum","http://forum.siwilo.com","",0);

Menu9=new Array("","","",0);
