// MENU CONTROLSvar menu_off_delay = 100; // LENGTH IN MILLISECONDS BEFORE MENU SHUTS OFFvar divflag=0;var DHTML_capable = (document.layers || document.all || document.getElementById) ? true : false;// TOP LEVEL IMAGE PRELOADif(DHTML_capable){      var IMG_PATH = imagepath + "nav/" // PATH TO IMAGES        letter_on = new Image(); letter_on.src = IMG_PATH + "letter-1_119x26.gif";      letter_off = new Image(); letter_off.src = IMG_PATH + "letter-0_119x26.gif";      interests_on = new Image(); interests_on.src = IMG_PATH + "shareholder-1_119x26.gif";      interests_off = new Image(); interests_off.src = IMG_PATH + "shareholder-0_119x26.gif";      client_on = new Image(); client_on.src = IMG_PATH + "client-1_77x26.gif";      client_off = new Image(); client_off.src = IMG_PATH + "client-0_77x26.gif";      teamwork_on = new Image(); teamwork_on.src = IMG_PATH + "teamwork-1_63x26.gif";      teamwork_off = new Image(); teamwork_off.src = IMG_PATH + "teamwork-0_63x26.gif";      dedication_on = new Image(); dedication_on.src = IMG_PATH + "determination-1_83x26.gif";      dedication_off = new Image(); dedication_off.src = IMG_PATH + "determination-0_83x26.gif";      core_on = new Image(); core_on.src = IMG_PATH + "core-1_68x26.gif";      core_off = new Image(); core_off.src = IMG_PATH + "core-0_68x26.gif";      financials_on = new Image(); financials_on.src = IMG_PATH + "financials-1_60x26.gif";      financials_off = new Image(); financials_off.src = IMG_PATH + "financials-0_60x26.gif";      gscom_on = new Image(); gscom_on.src = IMG_PATH + "corporate-1_60x26.gif";      gscom_off = new Image(); gscom_off.src = IMG_PATH + "corporate-0_60x26.gif";            /* letter subnav */      highlights_on = new Image(); highlights_on.src = IMG_PATH + "letter/highlights-1_144x19.gif";      highlights_off = new Image(); highlights_off.src = IMG_PATH + "letter/highlights-0_144x19.gif";      snletter_on = new Image(); snletter_on.src = IMG_PATH + "letter/letter-1_152x19.gif";      snletter_off = new Image(); snletter_off.src = IMG_PATH + "letter/letter-0_152x19.gif";            /* shareholder interests subnav */      promoting_on = new Image(); promoting_on.src = IMG_PATH + "interests/promoting-1_307x19.gif";      promoting_off = new Image(); promoting_off.src = IMG_PATH + "interests/promoting-0_307x19.gif";            /* client subnav */      e_on_on = new Image(); e_on_on.src = IMG_PATH + "client/e_on-1_51x19.gif";      e_on_off = new Image(); e_on_off.src = IMG_PATH + "client/e_on-0_51x19.gif";      bank_of_china_on = new Image(); bank_of_china_on.src = IMG_PATH + "client/bank_of_china-1_103x19.gif";      bank_of_china_off = new Image(); bank_of_china_off.src = IMG_PATH + "client/bank_of_china-0_103x19.gif";      putnam_on = new Image(); putnam_on.src = IMG_PATH + "client/putnam-1_66x19.gif";      putnam_off = new Image(); putnam_off.src = IMG_PATH + "client/putnam-0_66x19.gif";      grm_on = new Image(); grm_on.src = IMG_PATH + "client/grm-1_224x19.gif";      grm_off = new Image(); grm_off.src = IMG_PATH + "client/grm-0_224x19.gif";      pwm_on = new Image(); pwm_on.src = IMG_PATH + "client/pwm-1_189x19.gif";      pwm_off = new Image(); pwm_off.src = IMG_PATH + "client/pwm-0_189x19.gif";            /* teamwork sub nav */      providian_on = new Image(); providian_on.src = IMG_PATH + "teamwork/providian-1_137x19.gif";      providian_off = new Image(); providian_off.src = IMG_PATH + "teamwork/providian-0_137x19.gif";      grt_on = new Image(); grt_on.src = IMG_PATH + "teamwork/grt-1_162x19.gif";      grt_off = new Image(); grt_off.src = IMG_PATH + "teamwork/grt-0_162x19.gif";      vgz_on = new Image(); vgz_on.src = IMG_PATH + "teamwork/vgz-1_183x19.gif";      vgz_off = new Image(); vgz_off.src = IMG_PATH + "teamwork/vgz-0_183x19.gif";      /* dedication sub nav */      leadership_on = new Image(); leadership_on.src = IMG_PATH + "dedication/leadership-1_116x19.gif";      leadership_off = new Image(); leadership_off.src = IMG_PATH + "dedication/leadership-0_116x19.gif";      equities_on = new Image(); equities_on.src = IMG_PATH + "dedication/equities-1_184x19.gif";      equities_off = new Image(); equities_off.src = IMG_PATH + "dedication/equities-0_184x19.gif";      ficc_on = new Image(); ficc_on.src = IMG_PATH + "dedication/ficc-1_176x19.gif";      ficc_off = new Image(); ficc_off.src = IMG_PATH + "dedication/ficc-0_176x19.gif";      assetmgmt_on = new Image(); assetmgmt_on.src = IMG_PATH + "dedication/assetmgmt-1_162x19.gif";      assetmgmt_off = new Image(); assetmgmt_off.src = IMG_PATH + "dedication/assetmgmt-0_162x19.gif";            /* core businesses subnav */      investment_on = new Image(); investment_on.src = IMG_PATH + "core/investment-1_144x19.gif";      investment_off = new Image(); investment_off.src = IMG_PATH + "core/investment-0_144x19.gif";      trading_on = new Image(); trading_on.src = IMG_PATH + "core/trading-1_232x19.gif";      trading_off = new Image(); trading_off.src = IMG_PATH + "core/trading-0_232x19.gif";      asset_on = new Image(); asset_on.src = IMG_PATH + "core/asset-1_282x19.gif";      asset_off = new Image(); asset_off.src = IMG_PATH + "core/asset-0_282x19.gif";            /* financials subnav */      fhighlights_on = new Image(); fhighlights_on.src = IMG_PATH + "letter/highlights-1_144x19.gif";      fhighlights_off = new Image(); fhighlights_off.src = IMG_PATH + "letter/highlights-0_144x19.gif";      download_on = new Image(); download_on.src = IMG_PATH + "financials/download-1_150x19.gif";      download_off = new Image(); download_off.src = IMG_PATH + "financials/download-0_150x19.gif";      /* gs.com sub nav */      corp_info_on = new Image(); corp_info_on.src = IMG_PATH + "gscom/corp_info-1_644x19.gif";      corp_info_off = new Image(); corp_info_off.src = IMG_PATH + "gscom/corp_info-0_644x19.gif";      /* non-nav images */      pullClose = new Image(); pullClose.src = imagepath + "common/pull-close-sm_18x69.gif";      pullLeft = new Image(); pullLeft.src = imagepath + "common/pull-left-sm_18x69.gif";            loaded = 1;}// DHTML FUNCTIONSfunction getObj(obj){  if(document.layers) return document.layers[obj];  else if(document.all) return document.all[obj].style;  else return document.getElementById(obj).style;}function getImage(obj){  if(document.layers) return document.layers["topnav"].document.images[obj];  else return document.images[obj];}function show(what){getObj(what).visibility = "visible";}function hide(what){getObj(what).visibility = "hidden";}function roll_on(img){if(!document.images){return;}getImage(img).src = eval(img + "_on.src");}function roll_off(img){if(!document.images){return;}getImage(img).src = eval(img + "_off.src");}var last_menu = false;var menu_is_on = false;function menu_on(menu){  if(!DHTML_capable) return false;  if(last_menu && last_menu != menu){    hide_menu(true);  }   menu_is_on = true;  show_menu(menu);}function menu_off(){   if(!DHTML_capable) return false;  if (!divflag) menu_is_on = false;  //menu_is_on = false;  setTimeout('hide_menu()',menu_off_delay);}function menu_off_tc(){   if(!DHTML_capable) return false;  menu_is_on = false;  setTimeout('hide_menu()',0);  //alert('tc_mouseout');}function show_menu(menu){  if (!divflag && last_menu && last_menu != menu) { hide("s" + last_menu); if (last_menu != default_subnav) roll_off(last_menu); }  last_menu = menu;  if (default_subnav) hide("s" + default_subnav); /* set default_subnav in orginating page */  show("s" + menu);  //show("top_tc");  //show("bot_tc");  roll_on(menu);}function hide_menu(reload){  if(menu_is_on == true) return;  hide("s" + last_menu);  if(!reload && default_subnav)  show("s" + default_subnav);  //hide("top_tc");  //hide("bot_tc");  if (last_menu != default_subnav) roll_off(last_menu);  menu_is_on = false;}/* subnav rollover functions */function smsover (pname,name) {  if (loaded == 1) {    if (document.layers) target = document.layers["s" + pname].document.layers[0].document.images[name];     else target = document.images[name];     target.src = eval (name + "_on.src");  }    }function smsout (pname, name) {  if (loaded == 1) {    if (document.layers) target = document.layers["s" + pname].document.layers[0].document.images[name];     else target = document.images[name];     target.src = eval (name + "_off.src");  }}function showPic(pic) {  document.images["pic"].src = eval("pic" + pic + ".src");}