﻿/**
 * Custom Menu Functions
 */
function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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];}
}
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 mmLoadMenus() {
   if (window.mm_menu_index0) return;
   window.mm_menu_index0 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#FFCC66","#FFE4AC","left","middle",3,0,200,-5,7,true,true,true,8,true,false);
   mm_menu_index0.hideOnMouseOut=true;
   mm_menu_index0.menuBorder=1;
   mm_menu_index0.menuLiteBgColor='#CCCCCC';
   mm_menu_index0.menuBorderBgColor='#666666';
   mm_menu_index0.bgColor='#CCCCCC';

   window.mm_menu_index1 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#FFCC66","#FFE4AC","left","middle",3,0,200,-5,7,true,true,true,8,true,false);
   mm_menu_index1.addMenuItem("Overview&nbsp;","window.open('companyOverview.html', '_self');");
   mm_menu_index1.addMenuItem("Management","window.open('companyManagement.html', '_self');");
   mm_menu_index1.addMenuItem("Clients","window.open('companyClients.html', '_self');");
    mm_menu_index1.addMenuItem("Affiliations","window.open('companyAffiliations.html', '_self');");
   mm_menu_index1.hideOnMouseOut=true;
   mm_menu_index1.menuBorder=1;
   mm_menu_index1.menuLiteBgColor='#FFCC66';
   mm_menu_index1.menuBorderBgColor='#FF9900';
   mm_menu_index1.bgColor='#FF9900';  
   
   window.mm_menu_index2 = new Menu("root",190,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#FFCC66","#FFE4AC","left","middle",3,0,200,-5,7,true,true,true,10,true,true);
   mm_menu_index2.addMenuItem("Translations&nbsp;","window.open('services.html#patentRetrieval', '_self');");
   
   mm_menu_index2.addMenuItem("Website&nbsp;Translation&nbsp;","window.open('services.html#webTranslation', '_self');");
   
mm_menu_index2.addMenuItem("Patent&nbsp;Retrieval&nbsp;","window.open('services.html#patentRetrieval', '_self');");
   mm_menu_index2.addMenuItem("Project&nbsp;Management&nbsp;","window.open('services.html#projectManagement', '_self');");
   mm_menu_index2.addMenuItem("Legal&nbsp;Certifications&nbsp;","window.open('services.html#legalCertifications', '_self');");
   mm_menu_index2.addMenuItem("LQA&nbsp;","window.open('services.html#lqa', '_self');");
   mm_menu_index2.addMenuItem("VQA&nbsp;","window.open('services.html#vqa', '_self');");
   
   
   mm_menu_index2.hideOnMouseOut=true;
   mm_menu_index2.menuBorder=1;
   mm_menu_index2.menuLiteBgColor='#FFCC66';
   mm_menu_index2.menuBorderBgColor='#FF9900';
   mm_menu_index2.bgColor='#FF9900';
   
   window.mm_menu_index3 = new Menu("root",150,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#FFCC66","#FFE4AC","left","middle",3,0,200,-5,7,true,true,true,10,true,false);
   mm_menu_index3.addMenuItem("Pharmaceutical&nbsp;","window.open('industries.html#pharmaceuticals', '_self');");
   mm_menu_index3.addMenuItem("Medical","window.open('industries.html#medical', '_self');");
   mm_menu_index3.addMenuItem("IP/Litigation","window.open('industries.html#ipLitigation', '_self');");
   mm_menu_index3.addMenuItem("Chemical","window.open('industries.html#chemical', '_self');");
   mm_menu_index3.addMenuItem("Chemical&nbsp;Engineering","window.open('industries.html#chemicalEngineering', '_self');");
   mm_menu_index3.addMenuItem("Electrical&nbsp;Engineering","window.open('industries.html#electricalEngineering', '_self');");
   mm_menu_index3.addMenuItem("Mechanical&nbsp;Engineering","window.open('industries.html#mechanicalEngineering', '_self');");
   mm_menu_index3.addMenuItem("Telecommunications","window.open('industries.html#telecommunications', '_self');");
   mm_menu_index3.hideOnMouseOut=true;
   mm_menu_index3.menuBorder=1;
   mm_menu_index3.menuLiteBgColor='#FFCC66';
   mm_menu_index3.menuBorderBgColor='#FF9900';
   mm_menu_index3.bgColor='#FF9900';   
   
   window.mm_menu_index4 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#CCCCCC","#999999","left","middle",3,0,200,-5,7,true,true,true,11,true,true);
   mm_menu_index4.addMenuItem("Overview&nbsp;","window.open('new_overview.htm', '_self');");
   mm_menu_index4.hideOnMouseOut=true;
   mm_menu_index4.menuBorder=1;
   mm_menu_index4.menuLiteBgColor='#FFCC66';
   mm_menu_index4.menuBorderBgColor='#FF9900';
   mm_menu_index4.bgColor='#FF9900';

   window.mm_menu_index5 = new Menu("root",110,16,"Verdana, Arial, Helvetica, sans-serif",10,"#000000","#000000","#CCCCCC","#999999","left","middle",3,0,200,-5,7,true,true,true,10,true,true);
   mm_menu_index5.addMenuItem("Overview&nbsp;","window.open('con_overview.htm', '_self');");
   mm_menu_index5.menuBorder=1;
   mm_menu_index5.menuLiteBgColor='#FFCC66';
   mm_menu_index5.menuBorderBgColor='#FF9900';
   mm_menu_index5.bgColor='#FF9900'; 
   mm_menu_index5.writeMenus();
   
} // mmLoadMenus()
