function MM_findObj(name) { var i,obj=document[name]; if (!obj && document.all) obj=document.all[name]; if (!obj && document.getElementById) obj = document.getElementById(name); if (!obj && document.layers) obj=document.layers[name]; if (!obj && document.forms) for (i=0;!obj&&i
"+rgMen[i].lbl+"
\n"); } function writeSM(i,x){ return("
"+rgMen[i].sub[x].lbl+"
\n"); } function writeMenu(idMen){ lmen = rgMen.length; sz = "\n"; for(i=0;i<=idMen;i++) sz = sz+writeMM(i); lsub = rgMen[idMen].sub.length; for(x=0;x\n" if ((obj=MM_findObj("Menu"))!=null){ obj.innerHTML = unescape(sz); } idSelMen = "M"+idMen; } function mover(arg) { obj = MM_findObj(arg); obj.className='mg'; obj = MM_findObj(idSelMen); obj.className='ma'; } function mout(arg) { obj = MM_findObj(arg); obj.className='mn'; obj = MM_findObj(idSelMen); obj.className='ma'; } function mclick(i) { writeMenu(i); idSelMen = "M"+i; obj = MM_findObj(idSelMen); obj.className='ma'; if(rgMen[i].tgt==0) top.location=rgMen[i].ref; else parent.frames[rgMen[i].tgt].location=rgMen[i].ref; } function sclick(i,x) { obj = MM_findObj(idSelMen); obj.className='mn'; idSelMen = "S"+x; obj = MM_findObj(idSelMen); obj.className='ma'; if(rgMen[i].sub[x].tgt==0) top.location=rgMen[i].sub[x].ref; else if (rgMen[i].sub[x].tgt=="blank") window.open(rgMen[i].sub[x].ref); else parent.frames[rgMen[i].sub[x].tgt].location=rgMen[i].sub[x].ref; } // set s to -1 for main menu function externalLink(m,s){ mclick(m); if(s>=0) sclick(m,s); }