































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































// JavaScript Document

// READ THIS WHOLE PAGE !!! 

// 1. --------------- menu defenitions set by the menu constructor ------------------------

// var my_NTZmenu = new NTZmenu(
	//Item_Width,     // the width of all menu items, its best to use the width of the item images 
	//Item_Height,    // the height of all menu items, its best to use the height of the item images 
	//Sub_Menu_Width, // the width of all sub-menus,  
	//Menu_Out_Delay, // delay between mouseout of a menu and clearing the submenu, optional parameter. default is 100 msec
	//Sub_Menu_Out_Delay //  delay between mouseout of a submenu and clearing the submenu, optional parameter. default is 500 msec
	//);
var my_NTZmenu = new NTZmenu(160,
							 26,
							 160);
					
// a test: more than one istance of NTZmenu is not allowed
//var my_NTZmenu2 = new NTZmenu(110,20,140);
			

// 2. ---------------- adding menu items and sub-menu items			

//my_NTZmenu.AddMenuItem(
						 //'images/menu_index.gif',    // the up image   (onMouseOut) 
						 //'images/menu_index_o.gif',  // the down image (onMouseOver)
						 //'index.htm',                // the link. It can be '' and then the link will be the same page
						 //'עמוד הבית');               // the alt text for the images 

//my_NTZmenu.AddSubMenuItem(
							//'מידע כללי',             // the text to show in this sub-menu item
							//'about_info.htm');	   // the link

// a test: adding a sub menu before any menu item is not allowed
//my_NTZmenu.AddSubMenuItem('Sub Menu 00','sub_menu_link00.htm');
										
my_NTZmenu.AddMenuItem('images/menu_index.gif','images/menu_index_o.gif','ntz_odot.asp','עמוד הבית');
my_NTZmenu.AddSubMenuItem('סקירה כללית','ntz_about_info.asp');					
my_NTZmenu.AddSubMenuItem('נתונים על התלונות','ntz_about_handeling.asp');
my_NTZmenu.AddSubMenuItem('חוקים','ntz_laws.asp');
my_NTZmenu.AddSubMenuItem('מבקר המדינה ונציב תלונות הציבור','ntz_comptroller.asp');
my_NTZmenu.AddSubMenuItem('לקרב רחוקים','docs/Bringing_People_Closer-hebrew.pdf' );

my_NTZmenu.AddMenuItem('images/menu_guide.gif','images/menu_guide_o.gif','ntz_guide_index.asp','מדריך למתלונן');
my_NTZmenu.AddSubMenuItem('על מי ועל מה אפשר להתלונן','ntz_guide.asp');					
my_NTZmenu.AddSubMenuItem('"טיפים" למתלונן','ntz_tips.asp');
my_NTZmenu.AddSubMenuItem('דפי מידע בשפות שונות','ntz_alonim.asp');
my_NTZmenu.AddSubMenuItem('כתובות וטלפונים','ntz_contact.asp');
					
				
my_NTZmenu.AddMenuItem('images/menu_handeling.gif','images/menu_handeling_o.gif','ntz_handeling.asp','אופן הטיפול בתלונות');					

	
my_NTZmenu.AddMenuItem('images/menu_defense.gif','images/menu_defense_o.gif','ntz_defense.asp','הגנה על חושפי שחיתויות');

my_NTZmenu.AddMenuItem('images/menu_example.gif','images/menu_example_o.gif','ntz_example.asp','תלונות לדוגמה');

my_NTZmenu.AddMenuItem('images/menu_faq.gif','images/menu_faq_o.gif','ntz_faq_gufim_nilonim.asp','שאלות ותשובות');

my_NTZmenu.AddMenuItem('images/menu_reports.gif','images/menu_reports_o.gif','http://www.mevaker.gov.il/serve/folderAdmin.asp?id=74&opentree=,11,2,','דוחות הנציבות');

my_NTZmenu.AddMenuItem('images/menu_form.gif','images/menu_form_o.gif','http://www.mevaker.gov.il/serve/site/ntz_ombuds_complaint.asp','טופס הגשת תלונה');

my_NTZmenu.AddMenuItem('images/menu_english.gif','images/menu_english_o.gif','http://www.mevaker.gov.il/serve/site/english/eombudsman_frame.asp','מידע באנגלית');

my_NTZmenu.AddMenuItem('images/menu_arabic.gif','images/menu_arabic_o.gif','http://www.mevaker.gov.il/serve/site/docs/ntz_arabic_2011.pdf','מידע בערבית');

my_NTZmenu.AddMenuItem('images/menu_ethiopian.gif','images/menu_ethiopian_o.gif','http://www.mevaker.gov.il/serve/site/docs/ntz_amharic_2011.pdf','דף מידע באמהרית');

				
my_NTZmenu.AddMenuItem('images/menu_russian.gif','images/menu_russian_o.gif','http://www.mevaker.gov.il/serve/site/docs/ntz_russian_2011.pdf','דף מידע ברוסית');



/*	3. ---------------- WHAT TO WRITE IN THE HTML PAGE ------------------------

A. in the HEAD section of the HTML page add these 2 lines:

<script language="javascript" src="NTZmenu.js" type="text/javascript"></script>
<script language="javascript" src="NTZmenuDEF.js" type="text/javascript"></script>

B. in the HEAD section of the HTML page remove the line with the include of "TheMenu.js", e.g.

<script language="JavaScript1.2" src="TheMenu.js"></script>

   since it is incorporated into "NTZmenu.js".

C. You have to call the NTZmenu_position function in the onload of the BODY HTML tag. 
   Add it after any other function that is already there, e.g:

   .... onload="position();inittree();NTZmenu_position();"


D.  To show the menu, put these lines in the HTML page in the correct place to call the menu:

<!-- The menu is here -->
				<script language="javascript">
						// my_NTZmenu.DumpMenu(); dumps the menu data as text on the HTML page, use for debugging
						my_NTZmenu.ShowMenu(2); // call with the number of the menu item that stays marked to indicate
						//                         it is selected. It will not change its image when the mouse is over it.  			
				</script>
*/				

// -------------- End Of File ----------------------------------------------------
