function fwLoadMenus() {
	var cell_color = "#9a0000";
	var cell_hover_color = "#ececec"; // or 316AC5
	var text_color = "#FFFFff";
	var text_hover_color = "#000000";
  if (window.fw_menu_0) return;
  
//		Посольство США в Україні
  window.fw_menu_0 = new Menu("root",380,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_0.addMenuItem("Посол","location='/amb_ukr.html'");
  fw_menu_0.addMenuItem("Дипмісія США в Україні","location='/mission_ukr.html'");
  fw_menu_0.addMenuItem("Основні контакти","location='/keycontacts_ukr.html'");
  fw_menu_0.addMenuItem("Регіональне відділення з питань викладання англійської мови","location='/relo_ukr.html'");
  fw_menu_0.addMenuItem("Режим роботи та адреса","location='/hours_ukr.html'");
  fw_menu_0.addMenuItem("Свята","location='/holidays_ukr.html'");
  fw_menu_0.addMenuItem("Вакансії","location='/jobs_ukr.html'");
  fw_menu_0.fontWeight="bold";
  fw_menu_0.hideOnMouseOut=true;
   
//		Консульські послуги
  window.fw_menu_1 = new Menu("root",220,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_1.addMenuItem("Послуги громадянам США","location='/amcit_eng.html'");
  fw_menu_1.addMenuItem("Всиновлення","location='/amcit_adoptions_eng.html'");
  fw_menu_1.addMenuItem("Візові послуги","location='/visa_ukr.html'");
    fw_menu_1.fontWeight="bold";
  fw_menu_1.hideOnMouseOut=true;
  
//		Інформаційні послуги  
  window.fw_menu_2 = new Menu("root",220,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_2.addMenuItem("Преса та інформація","location='/infocentral_ukr.html'");
  fw_menu_2.addMenuItem("Центр інформаційних ресурсів","location='/irc_ukr.html'");
  fw_menu_2.addMenuItem("Подкасти","location='/rss_podcast_ukr.html'");
  fw_menu_2.addMenuItem("Прес-релізи","location='/infocentral_ukr.html#releases'");
fw_menu_2.addMenuItem("Електронні журнали і публікації","location='/irc_ejournals_ukr.html'");
     fw_menu_2.fontWeight="bold";
   fw_menu_2.hideOnMouseOut=true;
   fw_menu_2.childMenuIcon="./images/arrows_white.gif";
   
//		Програми/гранти Посольства

  window.fw_menu_3 = new Menu("root",320,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
fw_menu_3.addMenuItem("Останні оголошення про гранти та програми обмінів","location='/grants_exchanges_ukr.html'");
  fw_menu_3.addMenuItem("Програми допомоги","location='/assistance_ukr.html'");
  fw_menu_3.addMenuItem("Навчання і стажування в США","location='/educult_ukr.html'");
  fw_menu_3.addMenuItem("Культурні програми","location='/educult_cultural_ukr.html'");
    fw_menu_3.addMenuItem("Фонд Послів США зі збереження пам'яток культури","location='/files/cult_preservation2009_ukr.html'");
	  fw_menu_3.addMenuItem("Грантові програми","location='/PAS_grants_ukr.html'");
	    fw_menu_3.addMenuItem("Фонд сприяння демократії","location='/assistance_democracygrants_ukr.html'");
		  fw_menu_3.addMenuItem("Фонд розвитку ЗМІ","location='/infocentral_mediafund_inf_ukr.html'");
		    fw_menu_3.addMenuItem("Інтернет для бібліотек (LEAP)","location='/irc_leap_ukr.html'");
			  fw_menu_3.addMenuItem("Вікно в Америку","location='/irc_window_ukr.html'");
			    fw_menu_3.addMenuItem("Педагогічні іновації","location='/assistance_innovations-grant_ukr.html'");
fw_menu_3.addMenuItem("Програма розширення доступу та навчань в інтернет","location='http://www.iatp.org.ua/'");
fw_menu_3.addMenuItem("Ресурси для розвитку ЗМІ","location='http://kiev.usembassy.gov/assistance_media_development_resources_ukr.html'");
				 fw_menu_3.fontWeight="bold";
   fw_menu_3.hideOnMouseOut=true;
 

//		Допомога
  window.fw_menu_4 = new Menu("root",220,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_4.addMenuItem("Зворотній зв'язок","location='/feedback_ukr.html'");
   fw_menu_4.addMenuItem("Навігація","location='/navtips_ukr.html'");
  fw_menu_4.addMenuItem("Контакти","location='mailto:kyivwebmaster@state.gov'");
     fw_menu_4.fontWeight="bold";
   fw_menu_4.hideOnMouseOut=true;
   fw_menu_4.childMenuIcon="./images/arrows_white.gif";
   
//		Pol
  window.fw_menu_5 = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_5.addMenuItem("Political Home","location='default.asp?content=pol/pol.htm'");
   fw_menu_5.fontWeight="bold";
   fw_menu_5.hideOnMouseOut=true;
   
//		RSO
  window.fw_menu_6 = new Menu("root",193,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_6.addMenuItem("Regional Security Office Home","location='default.asp?content=RSO/Index.html'");
 
  fw_menu_6.addMenuItem("Security Notices","location='default.asp?content=RSO/Sec_Notices/Sec_notices.html'");
   fw_menu_6.fontWeight="bold";
   fw_menu_6.hideOnMouseOut=true;
  
/* 	FMO
   window.fw_menu_7_1 = new Menu("FMO Forms",310,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
    fw_menu_7_1.addMenuItem("OF-189 Travel Reimbursement","location='./forms/Of0189.frl'");
    fw_menu_7_1.addMenuItem("OF-261 Travel Ad. App. Voucher & Account","location='./forms/Of0261.frl'");
    fw_menu_7_1.addMenuItem("SF-1190 Foreign Allowance Grant App. & Report","location='./forms/sf1190.frl'");
    fw_menu_7_1.addMenuItem("REP VOUCHERS","location='fmo/docs/REP VOUCHERS.xls'");
     fw_menu_7_1.fontWeight="bold";
     fw_menu_7_1.hideOnMouseOut=true;   
 */  
  window.fw_menu_7 = new Menu("root",163,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_7.addMenuItem("Budget and Fiscal Home","location='default.asp?content=fmo/fmo.htm'");
  fw_menu_7.addMenuItem("Foreign Per Diem Rate","location='http://aoprals.a.state.gov/Content/Per Diem/current pdrates.asp?menu_id=1.htm'");
  fw_menu_7.addMenuItem("FMO Documents","location='default.asp?content=fmo/documents.htm'");
   //fw_menu_7.addMenuItem(fw_menu_7_1);
   fw_menu_7.fontWeight="bold";
   fw_menu_7.hideOnMouseOut=true;
   fw_menu_7.childMenuIcon="./images/arrows_white.gif";

//		ECON
  window.fw_menu_8 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_8.addMenuItem("Economic Home","location='default.asp?content=econ/econ.htm'");
  fw_menu_8.addMenuItem("Section Portfolio","location='default.asp?content=econ/Economic Section Portfolios.htm'");
   fw_menu_8.fontWeight="bold";
   fw_menu_8.hideOnMouseOut=true;

//		CLO
  window.fw_menu_9 = new Menu("root",195,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_9.addMenuItem("Community Liaison Office Home","location='default.asp?content=clo/index.html'");  
    //fw_menu_9.addMenuItem("Kyiv Trident Newsletter","window.open('clo/Tridents/Sept22.pdf',null,'')");
    fw_menu_9.addMenuItem("Know Before You Go","window.open('clo/Kyiv KNOW BEFORE YOU GO -  August 2006.doc',null,'')");
	fw_menu_9.addMenuItem("Schools in Kiev","location='default.asp?content=clo/Schools.html'"); 
   fw_menu_9.fontWeight="bold";
   fw_menu_9.hideOnMouseOut=true;
  
//		HR
  window.fw_menu_10 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_10.addMenuItem("Human Resources Home","location='default.asp?content=hr/index.html'");
  fw_menu_10.addMenuItem("HR Services","location='default.asp?content=hr/hrserv.htm'");
  fw_menu_10.addMenuItem("LE Staff Handbook","location='default.asp?content=/HR/LEstaffhandbook.htm'");
  fw_menu_10.addMenuItem("Equal Employment Opportunity","location='default.asp?content=hr/EEO/index.html'");
  fw_menu_10.addMenuItem("HR Forms","location='default.asp?content=forms/HR/HRforms.htm'");  
  fw_menu_10.fontWeight="bold";
  fw_menu_10.hideOnMouseOut=true;
   
 //		MED
  window.fw_menu_11 = new Menu("root",175,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_11.addMenuItem("Medical Office Home","location='default.asp?content=med/index.html'");
  fw_menu_11.addMenuItem("Office of Medical Services","window.open('http://med.state.gov/',null,'')");
  fw_menu_11.addMenuItem("Health Information","location='default.asp?content=med/medinfo/HUinfo.htm'");  
   fw_menu_11.fontWeight="bold";
   fw_menu_11.hideOnMouseOut=true;

//		PD
  window.fw_menu_12 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_12.addMenuItem("Public Diplomacy Home","location='default.asp?content=pd/pd.htm'");
  fw_menu_12.addMenuItem("PD Services","location='default.asp?content=pd/pdserv.htm'");  
   fw_menu_12.fontWeight="bold";
   fw_menu_12.hideOnMouseOut=true;

//		MSG
  window.fw_menu_13 = new Menu("root",185,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_13.addMenuItem("Marine Security Guards Home","location='default.asp?content=MSG/msg.html'");
  fw_menu_13.addMenuItem("History of MSG","location='default.asp?content=MSG/history.htm'");
  fw_menu_13.addMenuItem("Mission of MSG","location='default.asp?content=MSG/Mission.htm'");  
   fw_menu_13.fontWeight="bold";
   fw_menu_13.hideOnMouseOut=true;

//		AEEA
  window.fw_menu_14 = new Menu("root",195,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_14.addMenuItem("American Embassy Association","location='default.asp?content=AEEA/index.html'");
   fw_menu_14.fontWeight="bold";
   fw_menu_14.hideOnMouseOut=true;
   
//		ISO9000
  window.fw_menu_15 = new Menu("root",195,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
 // fw_menu_15.addMenuItem("American Embassy Association","location='default.asp?content=ISO9000/index.html'");
   fw_menu_15.fontWeight="bold";
   fw_menu_15.hideOnMouseOut=true;

//		Heed help?
  // window.fw_menu_15 = new Menu("root",300,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  // fw_menu_15.addMenuItem("Computer/Telephone","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Move furniture","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Order expendable supplies","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Plumber/Electricity/Phone at your appartment","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Medical","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Procurement","location='Recruitment/telaviv.wmv.htm'");  
  //fw_menu_15.addMenuItem("Internet at home","location='Recruitment/telaviv.wmv.htm'");  
   //fw_menu_15.fontWeight="bold";
   //fw_menu_15.hideOnMouseOut=true;

   
//		Databases
  window.fw_menu_16 = new Menu("root",260,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_16.addMenuItem("Phone book","location='default.asp?content=pb/default.asp'");
  fw_menu_16.addMenuItem("Management Notices","location='default.asp?content= Mgmt_notices/mgmt_notices.html'");
  fw_menu_16.addMenuItem("Dipnotes","location='default.asp?content=dipnotes/default.asp'");
  fw_menu_16.addMenuItem("Visitors","location='default.asp?content=Visitors/Default.html'");  
  fw_menu_16.addMenuItem("WebPASS","window.open('http://10.168.34.6/webpass')");
  fw_menu_16.addMenuItem("WebPASS E-Services","window.open('http://10.168.34.6/webpass/eservices/default.asp')");
  fw_menu_16.addMenuItem("Procurement Planner","window.open('file:///S:/Procurement/ProPlanner2000.mdb.',null,'')");
  fw_menu_16.addMenuItem("Embassy Photo Gallery","window.open('http://kiev.state.gov/pg')");  
  fw_menu_16.addMenuItem("Newcomers database","location='default.asp?content=newcomers/default.asp'");
   fw_menu_16.fontWeight="bold";
   fw_menu_16.hideOnMouseOut=true;

//		Misc
  window.fw_menu_17 = new Menu("root",300,17,"Verdana, Arial, Helvetica, sans-serif",10,text_color,text_hover_color,cell_color,cell_hover_color);
  fw_menu_17.addMenuItem("misc 1","location='Recruitment/telaviv.wmv.htm'");  
  fw_menu_17.addMenuItem("misc 2","location='Recruitment/telaviv.wmv.htm'");  
   fw_menu_17.fontWeight="bold";
   fw_menu_17.hideOnMouseOut=true;

   fw_menu_17.writeMenus();	// !!!!!!!!! NE UDALYAT !!!!!!

} 
// fwLoadMenus()


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}