// code by Daniel Tiburcio 4/11/03
// moved to separate file by S. Knowles 4/17/03
// changed line 26 childMenuIcon to "../../arrows.gif" for /home/[[Number]] affiliate directory structure 4/17/03 by S.Knowles
// changed line 57, function MM_findObj "&&id.layers.length" to "&&i<d.layers.length" to match code in l3pr_mrcom.html
// added function MM_openBRWindow from l3mb_subscribe.html 4/19/03 S.Knowles; also removed extraneous "//-->" at that point
// added function MM_callJS from ac_Newsltr_signup.html 4/19/03 (SK)
// added Ad & Media Acumen Toolkit 11/19/03 (SK)
// added Tradeshow & Event Acumen Toolkit 5/27/04 (SK)

function mmLoadMenus() {
  if (window.mm_menu_0329222113_0) return;
    window.mm_menu_0329222113_0_1 = new Menu("Marketing communications",190,15,"Verdana, Arial, Helvetica, sans-serif",9,"#000000","#FFFFFF","#FFFFFF","#5F9A4D","left","middle",3,0,300,-30,7,true,true,true,1,true,true);
    mm_menu_0329222113_0_1.addMenuItem("MarCom Acumen Guidebook","window.open('../../l3pr_guidebook.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("MarCom project plans","window.open('../../l3pr_mrcom_plan.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("Marketing Budget Toolkit","window.open('../../l3pr_mrcom_budget.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("Executive interviews","window.open('../../l3pr_mrcom_intervws.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("PR Acumen Toolkit","window.open('../../l3pr_PRtoolkit.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("Ad & Media Acumen Toolkit","window.open('../../l3pr_ADtoolkit.html', '_parent');");
    mm_menu_0329222113_0_1.addMenuItem("Tradeshow & Event Acumen Toolkit","window.open('../../l3pr_TStoolkit.html', '_parent');");
     mm_menu_0329222113_0_1.hideOnMouseOut=true;
     mm_menu_0329222113_0_1.bgColor='#CCCCCC';
     mm_menu_0329222113_0_1.menuBorder=1;
     mm_menu_0329222113_0_1.menuLiteBgColor='#CCCCCC';
     mm_menu_0329222113_0_1.menuBorderBgColor='#CCCCCC';
  window.mm_menu_0329222113_0 = new Menu("root",183,15,"Verdana, Arial, Helvetica, sans-serif",9,"#000000","#FFFFFF","#FFFFFF","#5F9A4D","left","middle",3,0,300,-30,7,true,true,true,1,true,true);
  mm_menu_0329222113_0.addMenuItem(mm_menu_0329222113_0_1,"window.open('../../l3pr_mrcom.html', '_parent');");
  mm_menu_0329222113_0.addMenuItem("Product marketing","window.open('../../l3prod_productm.html', '_parent');");
  mm_menu_0329222113_0.addMenuItem("Branding","window.open('../../l3prod_brand.html', '_parent');");
  mm_menu_0329222113_0.addMenuItem("Lead generation","window.open('../../l3prod_leadg.html', '_parent');");
   mm_menu_0329222113_0.hideOnMouseOut=true;
   mm_menu_0329222113_0.childMenuIcon="../../arrows.gif";
   mm_menu_0329222113_0.bgColor='#CCCCCC';
   mm_menu_0329222113_0.menuBorder=1;
   mm_menu_0329222113_0.menuLiteBgColor='#CCCCCC';
   mm_menu_0329222113_0.menuBorderBgColor='#CCCCCC';

mm_menu_0329222113_0.writeMenus();
} // mmLoadMenus()
 
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

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.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_callJS(jsStr) { //v2.0
  return eval(jsStr)
}