// (c) Ger Versluis 2000-2004 version 7.00, July 17, 2004
//  You may use this script on non commercial sites
//  www.burmees.nl/menu/


	// Globals effecting all menus
	var PopNoOffMenus=1;	// number of seperate menus
	var BaseHref="";		// Root of the site
	var PopRClick=0;		// Defines which menu reacts on right click. 0=none

	var PopMenuSlide="";
	var PopMenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	var PopMenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

	var PopMenuShadow="10";
	var PopMenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#183A84, offX=2, offY=2, positive=1)";
	var PopMenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#183A84, direction=135, strength=4)";

	var PopMenuOpacity="";
	var PopMenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=88)";

	function P_BeforeStart(){return}
	function P_AfterBuild(){return}
	function P_BeforeFirstOpen(){return}
	function P_AfterCloseAll(){return}

	// Globals effecting one menu
	// Notation of PopMenu1 is different from PopMenu2. The result is the same. PopMenu1 is more understandable. PopMenu2 loads faster.

PopMenu1=new Array(		// global variables for PopMenu1
	9,			// number of main items
	0,			// Left position
	0,			// Top position
	"black",		// Normal font color
	"white",		// Normal back color
	"red",			// High font color
	"white",		// High back color
	"blue",			// Border color
	"tahoma,arial,comic sans ms,technical",	// Fontfamily
	1,			// Bold
	0,			// Italic
	11,			// Font size in pixel
	1,			// First line horizontal
	1,			// First line permanent visible
	0,			// Border width
	"left",			// Text align "left", "center" or "right"
	.07,			// Horizontal overlap
	.75,			// Vertical overlap
	1000,			// Delay
	0,			// Right to left unfold
	"MenuPos",		// Target div
	0,			// Border between elements
	"left",		// Menu horizontal centered "left", "center" or "right"
	"top",			// Menu vertical centered "top", "center" or "bottom"
	"/images/triright.gif",	// Arrow right
	5,			// Arrow Width
	10,			// Arrow Height
	"/images/tridown.gif",	// Arrow down
	12,			// Arrow Width
	5,			// Arrow Height
	"/images/trileft.gif",	// Arrow left
	5,			// Arrow Width
	10,			// Arrow Height
	2,			// Top padding
	10,			// Left padding
	0);			// Unfold On Click

//	Menu Items:
//	MenuX=new Array(ItemText, Link, background image, number of sub elements, height, width,bgcolor,bghighcolor,
//	fontcolor,fonthighcolor,bordercolor,fontfamily,fontsize,fontbold,fontitalic,textalign,statustext);
// 	Fontsize, fontbold and fontitalic are ignored when set to -1.
//	For rollover images ItemText format is:  "rollover?Image1.jpg?Image2.jpg"

//	Notation of PopMenu1_1 is different from PopMenu1_1_1. The result is the same. PopMenu1_1 is more understandable. PopMenu1_1_1 loads faster.

	PopMenu1_1=new Array(
		"",		// ElementText
		"",		// ElementLink
		"/images/k_1.png",// ElementBgImage
		0,		// ElementNoOfSubElements
		39,		// ElementHeight
		130,	// ElementWidth
		"",		// ElementBgColor
		"",		// ElementBgHighColor
		"",		// ElementFontColor
		"",		// ElementFontHighColor
		"",		// ElementBorderColor
		"",		// ElementFontFamily
		-1,		// ElementFontSize in pixel
		-1,		// ElementBold
		-1,		// ElementItalic
		"",		// ElementTextAlign
		"");		// ElementStatusText


	PopMenu1_2=new Array("rollover?"+"/images/klawisze_en/k_2_black_a.png?"+"/images/klawisze_en/k_2_red_a.png","","",4,39,110,"","","","","","",-1,-1,-1,"","");
		PopMenu1_2_1=new Array("News","index_a.php","/images/m_110.png",0,19,110,"","","","","","",-1,-1,-1,"","");
		PopMenu1_2_2=new Array("General info","informacje_ogolne_a.php","/images/m_110.png",0,19,110,"","","","","","",-1,-1,-1,"","");
		PopMenu1_2_3=new Array("Management","dyrekcja_a.php","/images/m_110.png",0,19,110,"","","","","","",-1,-1,-1,"","");
		PopMenu1_2_4=new Array("Scientific Council","rada_a.php","/images/m_110.png",0,19,110,"","","","","","",-1,-1,-1,"","");

	PopMenu1_3=new Array("rollover?"+"/images/klawisze_en/k_3_black_a.png?"+"/images/klawisze_en/k_3_red_a.png","","",6,39,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_3_1=new Array("Departments","","/images/m_108.png",7,19,108,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_1=new Array("Fuel Cell","cop_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_2=new Array("High Voltage","ewn_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_3=new Array("Insulation in Poznań","http://www.ien.poznan.pl","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_4=new Array("Material Testing and Diagnostics","zbidm_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_5=new Array("Network Researches and Analyses","eba_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_6=new Array("Thermal Processes","/pl/zpc_a/index.htm","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_1_7=new Array("Transformers in Łód","javascript:NewWin=window.open('http://www.ienot.com.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,200,"","","","","","",-1,-1,-1,"","");
	
		PopMenu1_3_2=new Array("Sections","","/images/m_108.png",6,19,108,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_1=new Array("Boiler","pk_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_2=new Array("Computer Techniques","/pl/ptk/index.htm","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_3=new Array("Economic","pee_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_4=new Array("Environmental Impact and Overvoltage Protection","eos_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_5=new Array("Power Station Thermal Equipment Diagnostics","pduc_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_2_6=new Array("Technical Diagnostics and Modernization of Power Equipment","pdtimue_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");

		PopMenu1_3_3=new Array("Laboratories","","/images/m_108.png",6,19,108,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_1=new Array("Automation and Protection Laboratory","laiz_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_2=new Array("Electric Machines and Distribution Networks","lmeisr_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_3=new Array("Electric Power Engineering Automation","eae_a.php","/images/m_395.png",0,19,395,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_4=new Array("High-Current","lwp_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_5=new Array("Measuring Apparatus","lap_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_3_6=new Array("Switching Equipment","lur_a.php","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");

		PopMenu1_3_4=new Array("Groups","","/images/m_108.png",2,19,108,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_4_1=new Array("Certification","zdsc_a.php","/images/m_200.png",0,19,200,"","","","","","",-1,-1,-1,"","");
			PopMenu1_3_4_2=new Array("Regulation & Standardization","zpin_a.php","/images/m_200.png",0,19,200,"","","","","","",-1,-1,-1,"","");
			
		PopMenu1_3_5=new Array("Experts","eksperci_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");

		PopMenu1_3_6=new Array("Library","oint_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");

	PopMenu1_4=new Array("rollover?"+"/images/klawisze_en/k_4_black_a.png?"+"/images/klawisze_en/k_4_red_a.png","","",2,39,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_4_1=new Array("Possessed","certyfikaty_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_4_2=new Array("Issued","zdsc_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");

	PopMenu1_5=new Array("rollover?"+"/images/klawisze_en/k_5_black_a.png?"+"/images/klawisze_en/k_5_red_a.png","prace_a.php","",0,39,108,"","","","","","",-1,-1,-1,"","");

	PopMenu1_6=new Array("rollover?"+"/images/klawisze_en/k_6_black_a.png?"+"/images/klawisze_en/k_6_red_a.png","","",3,39,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_6_1=new Array("Tenders","przetargi_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_6_2=new Array("Conferences","konferencje_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_6_3=new Array("Careers","praca_a.php","/images/m_108.png",0,19,108,"","","","","","",-1,-1,-1,"","");

	PopMenu1_7=new Array("rollover?"+"/images/klawisze_en/k_7_black_a.png?"+"/images/klawisze_en/k_7_red_a.png","kontakt_a.php","",0,39,108,"","","","","","",-1,-1,-1,"","");

	PopMenu1_8=new Array("rollover?"+"/images/klawisze_en/k_8_black_a.png?"+"/images/klawisze_en/k_8_red_a.png","","",5,39,108,"","","","","","",-1,-1,-1,"","");
		PopMenu1_8_1=new Array("Ceramic Branch 'CEREL' in Boguchwała","javascript:NewWin=window.open('http://www.cerel.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
		PopMenu1_8_2=new Array("Gdańsk Branch in Gdańsk","javascript:NewWin=window.open('http://www.ien.gda.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
		PopMenu1_8_3=new Array("Heating Technology Branch 'ITC' in Łód","javascript:NewWin=window.open('http://www.itc.edu.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
		PopMenu1_8_4=new Array("Heating & Sanitary Technology Branch in Radom","javascript:NewWin=window.open('http://www.itgs.radom.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");
		PopMenu1_8_5=new Array("Prototype Production Branch in Białystok","javascript:NewWin=window.open('http://www.zdie.edo.pl','_blank');window[\"NewWin\"].focus()","/images/m_324.png",0,19,324,"","","","","","",-1,-1,-1,"","");

	PopMenu1_9=new Array("rollover?"+"/images/klawisze_en/k_9_black_a.png?"+"/images/klawisze_en/k_9_red_a.png","http://www.ien.com.pl/cgibin/search","",0,39,108,"","","","","","",-1,-1,-1,"","");


