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];}
}
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 fwLoadMenus() {
  if (window.fw_menu_0) return;

  window.fw_menu_0_0 = new Menu("USA Service Contract",180,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_0_0.addMenuItem("Evergreen Line","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/msq1/jsp/MSQ1_SC.jsp?carrier=V'");
  fw_menu_0_0.addMenuItem("Evergreen Marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/msq1/jsp/MSQ1_SC.jsp?carrier=E'");
  fw_menu_0_0.addMenuItem("Hastu Marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/msq1/jsp/MSQ1_SC.jsp?carrier=H'");
  fw_menu_0_0.addMenuItem("Italia Marittima","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/msq1/jsp/MSQ1_SC.jsp?carrier=I'");
  fw_menu_0_0.hideOnMouseOut=true;
  
  window.fw_menu_0_1 = new Menu("USA Tariff",180,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_0_1.addMenuItem("Evergreen Line","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/msq1/jsp/MSQ1_Index.jsp'");
  fw_menu_0_1.addMenuItem("Evergreen Marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.rateexplorer.com/rqevergreen.html'");
  fw_menu_0_1.addMenuItem("Hastu Marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.rateexplorer.com/rqhatsu.html'");
  fw_menu_0_1.addMenuItem("Italia Marittima","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.rateexplorer.com/italia.html'");
  fw_menu_0_1.hideOnMouseOut=true;

  window.fw_menu_0_2 = new Menu("Booking",120,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_0_2.addMenuItem("E-mail Booking","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/bookingrequest.html'");
  fw_menu_0_2.addMenuItem("Web Booking","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tam1/jsp/TAM1_Login.jsp?lang=en'");
  //fw_menu_0_2.addMenuItem("Web Booking","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tdb4/jsp/TDB4_Index.jsp'");
  fw_menu_0_2.hideOnMouseOut=true;
  
  window.fw_menu_0_3 = new Menu("Routing Network",200,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_0_3.addMenuItem("Global Routing Network","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tvs2/jsp/TVS2_LongTermMenu.jsp?type=S'");
  fw_menu_0_3.addMenuItem("Export Routing Guide (Pdf)","location='servlet/infoc?jspname=Counterp&JobIndex=/egsweb/Export_Routing_Guide.pdf'");
  fw_menu_0_3.addMenuItem("Import Routing Guide (Pdf)","location='servlet/infoc?jspname=Counterp&JobIndex=/egsweb/Import_Routing_Guide.pdf'");
  //fw_menu_0_3.addMenuItem("Export Routing Guide (Pdf)","location='/egsweb/Export_Routing_Guide.pdf'");
  //fw_menu_0_3.addMenuItem("Import Routing Guide (Pdf)","location='/egsweb/Import_Routing_Guide.pdf'");
  fw_menu_0_3.hideOnMouseOut=true;

  window.fw_menu_0 = new Menu("root",250,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_0.addMenuItem("Sailing Schedule","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tvs2/jsp/TVS2_LongTermMenu.jsp?type=L'");
  //fw_menu_0.addMenuItem("Routing Network","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tvs2/jsp/TVS2_LongTermMenu.jsp?type=S'");
  fw_menu_0.addMenuItem(fw_menu_0_3);
  fw_menu_0.addMenuItem("Cargo Tracking","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/servlet/TDB1_CargoTracking.do'");
  fw_menu_0.addMenuItem(fw_menu_0_0);
  fw_menu_0.addMenuItem(fw_menu_0_1);
  fw_menu_0.hideOnMouseOut=true;
  fw_menu_0.childMenuIcon="/egsweb/images/arrowhead.jpg";
  fw_menu_0.addMenuItem("USA Surcharge Table","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/surcharge.jsp'");
  fw_menu_0.addMenuItem(fw_menu_0_2);
  fw_menu_0.addMenuItem("Import Door Delivery Information","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/mdb1/jsp/MDB1_NewOrder.jsp'");
  fw_menu_0.hideOnMouseOut=true;
  fw_menu_0.childMenuIcon="/egsweb/images/arrowhead.jpg";

  

//  window.fw_menu_1_1 = new Menu("Bill of Lading",120,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
//  fw_menu_1_1.addMenuItem("Evergreen","location='http://www.shipmentlink.com/tdb2/jsp/TDB2_InternetBL.jsp'");
//  fw_menu_1_1.addMenuItem("Evergreen Line","location='http://www.shipmentlink.com/tdb2/jsp/TDB2_InternetBL.jsp'");
//  fw_menu_1_1.addMenuItem("Hatsu Marine","location='http://www.shipmentlink.com/tdb2/jsp/TDB2_InternetBL.jsp'");
//  fw_menu_1_1.addMenuItem("Italia Marittima","location='http://www.shipmentlink.com/tdb2/jsp/TDB2_InternetBL.jsp'");
//  fw_menu_1_1.hideOnMouseOut=true;

//  window.fw_menu_1_2 = new Menu("B/L Clause",120,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
//  fw_menu_1_2.addMenuItem("Evergreen","location='http://www.shipmentlink.com/tdb2/jsp/TDB2_Blclause.jsp'");
//  fw_menu_1_2.addMenuItem("Hatsu Marine","location='http://www.hatsu-marine.com/tdi1/jsp/TDI1_Blclause.jsp'");
//  fw_menu_1_2.addMenuItem("Italia Marittima","location='http://www.italiamarittima.com/blclauses/blclauses.asp'");
//  fw_menu_1_2.hideOnMouseOut=true;

//  window.fw_menu_1_3_1 = new Menu("Animation",200,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
//  fw_menu_1_3_1.addMenuItem("0. UserGuide Introduction","window.open('/egsweb/files/0_UserGuide_Introduction.swf','Zero','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("1. Registration & Logon","window.open('/egsweb/files/1_Registration&Logon.swf','One','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("2. Create Message","window.open('/egsweb/files/2_Create_Message.swf','Two','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("3. Folder Navigation","window.open('/egsweb/files/3_Folder_Navigation.swf','Three','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("4. Folder Management","window.open('/egsweb/files/4_Folder_Management.swf','Four','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("5. Alternate Users","window.open('/egsweb/files/5_Alternate_Users.swf','Five','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("6. Modify Registration","window.open('/egsweb/files/6_Modify_Registration.swf','Six','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.addMenuItem("7. Troubleshooting","window.open('/egsweb/files/7_Troubleshooting.swf','Seven','toolbar=no,menubar=no,location=no,directories=0,status=0,scrollbar=0, width=600,height=450');");
//  fw_menu_1_3_1.hideOnMouseOut=true;

// window.fw_menu_1_3 = new Menu("User Guide",120,20,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
//  fw_menu_1_3.addMenuItem(fw_menu_1_3_1);
//  fw_menu_1_3.addMenuItem("PDF Document","location='/egsweb/EGUserGuide.pdf'");
//  fw_menu_1_3.hideOnMouseOut=true;
//  fw_menu_1_3.childMenuIcon="/egsweb/images/arrowhead.jpg";   

  window.fw_menu_1 = new Menu("root",180,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
//  fw_menu_1.addMenuItem(fw_menu_1_3);
//  fw_menu_1.addMenuItem(fw_menu_1_1);
//  fw_menu_1.addMenuItem(fw_menu_1_2);	
  fw_menu_1.addMenuItem("Bill of Lading","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tdb2/jsp/TDB2_InternetBL.jsp'");
  fw_menu_1.addMenuItem("B/L Clause","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tdb2/jsp/TDB2_Blclause.jsp'");
  fw_menu_1.hideOnMouseOut=true;
  fw_menu_1.childMenuIcon="/egsweb/images/arrowhead.jpg";   

  window.fw_menu_2 = new Menu("root",300,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_2.addMenuItem("Depot Web (container movement status)","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentchain.com'");
  fw_menu_2.addMenuItem("Online Billing","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/vendor.jsp'");
  fw_menu_2.addMenuItem("Insurance/Interchange Agreement","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/TIA.html'");
  fw_menu_2.addMenuItem("Equipment Return Location","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/Return Location.pdf'");
  fw_menu_2.addMenuItem("Driver Vehicle Examination Reports (DVER)","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/DVER INSTRUCTION.pdf'");
  fw_menu_2.hideOnMouseOut=true;
  fw_menu_2.childMenuIcon="/egsweb/images/arrowhead.jpg";
  fw_menu_2.hideOnMouseOut=true;
  
   
  window.fw_menu_3 = new Menu("root",180,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_3.addMenuItem("E-Bulletin","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/news.jsp'");
  fw_menu_3.addMenuItem("Rule &amp; Regulation","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/shippingRR.html'");
  fw_menu_3.addMenuItem("Other Websites","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/Links.jsp'");
  fw_menu_3.hideOnMouseOut=true;  


  window.fw_menu_4_1_1 = new Menu("Vessel<br>Particular",140,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_4_1_1.addMenuItem("Evergreen marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tvi1/jsp/TVI1_VesselParticulars.jsp?carrier=E'");
  fw_menu_4_1_1.addMenuItem("Hatsu marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.shipmentlink.com/tvi1/jsp/TVI1_VesselParticulars.jsp?carrier=H'");
  fw_menu_4_1_1.addMenuItem("Italia Marittima","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.italiamarittima.com/tdlg_vslpart.asp'");
  fw_menu_4_1_1.hideOnMouseOut=true;
  
  window.fw_menu_4_1_2 = new Menu("Container<br>Specification",140,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_4_1_2.addMenuItem("Evergreen marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.evergreen-marine.com/tei1/jsp/TEI1_Containers.jsp'");
  fw_menu_4_1_2.addMenuItem("Hatsu marine","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.hatsu-marine.com/tei1/jsp/TEI1_Containers.jsp'");
  fw_menu_4_1_2.addMenuItem("Italia Marittima","location='servlet/infoc?jspname=Counterm&JobIndex=http://www.italiamarittima.com/TDLG_container.asp'");
  fw_menu_4_1_2.hideOnMouseOut=true;
   
  window.fw_menu_4_1 = new Menu("Equipment",110,40,"Arial, Times New Roman, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_4_1.addMenuItem(fw_menu_4_1_1);
  fw_menu_4_1.addMenuItem(fw_menu_4_1_2);
  fw_menu_4_1.hideOnMouseOut=true;
  fw_menu_4_1.childMenuIcon="/egsweb/images/arrowhead.jpg";
  
  window.fw_menu_4 = new Menu("root",155,20,"Arial, Times, serif",14,"#ffffff","#ffffff","#009999","#006699");
  fw_menu_4.addMenuItem("Company Profile","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/company.html'");
  fw_menu_4.addMenuItem("Offices/Agents","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/officelist.jsp'");
  fw_menu_4.addMenuItem(fw_menu_4_1);
  fw_menu_4.addMenuItem("Contact Us","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/jsp/info.jsp'");
  fw_menu_4.addMenuItem("Career Opportunities","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/Career.htm'");
  fw_menu_4.addMenuItem("FAQs","location='servlet/infoc?jspname=Counterm&JobIndex=/egsweb/servlets/FAQlist.jsp'");
  fw_menu_4.hideOnMouseOut=true;
  fw_menu_4.childMenuIcon="/egsweb/images/arrowhead.jpg";
  fw_menu_4.writeMenus();
} // fwLoadMenus()

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;
}

