sto programmino genera due js il primo e questo(che dovrebbe riferirsi al menu):
if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){ var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("provauno.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first< last)loc=document.body.innerHTML.substr(first+1,la st-first-1);}}}

var bd=0
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".provauno_menu {border-color:black;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#56543c;position:absolute;left:0px;top:0px;v isibility:hidden;}");
document.write("a.provauno_plain:link, a.provauno_plain:visited{text-align:left;background-color:#56543c;color:#ffffff;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Arial, Helvetica, sans-serif;}");
document.write("a.provauno_plain:hover, a.provauno_plain:active{background-color:#bcb891;color:#000000;text-decoration:none;border-color:black;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:8pt;font-family:Arial, Helvetica, sans-serif;}");
document.write("\n-->\n");
document.write("</style>");

var fc=0x000000;
var bc=0xbcb891;
if(typeof(frames)=="undefined"){var frames=0;}

startMainMenu("",0,0,1,0,0)
mainMenuItem("provauno_b1",".gif",20,129,"javascri pt:;","","Organi di Governo",1,2,"provauno_plain");
mainMenuItem("provauno_b2",".gif",20,129,"javascri pt:;","","Struttura Organizzativa",2,2,"provauno_plain");
mainMenuItem("provauno_b3",".gif",20,129,"javascri pt:;","","Statuto e regolamenti",1,2,"provauno_plain");
mainMenuItem("provauno_b4",".gif",20,129,"javascri pt:;","","Albo",1,2,"provauno_plain");
mainMenuItem("provauno_b5",".gif",20,129,"javascri pt:;","","Bandi Gara",2,2,"provauno_plain");
mainMenuItem("provauno_b6",".gif",20,129,"javascri pt:;","","Bandi di concorso",2,2,"provauno_plain");
mainMenuItem("provauno_b7",".gif",20,129,"javascri pt:;","","URP",2,2,"provauno_plain");
endMainMenu("",0,0);

startSubmenu("provauno_b4","provauno_menu",60);
submenuItem("delibere","javascript:;","","provauno _plain");
submenuItem("determine","javascript:;","","provaun o_plain");
submenuItem("ordinanze","javascript:;","","provaun o_plain");
submenuItem("decreti","javascript:;","","provauno_ plain");
endSubmenu("provauno_b4");

startSubmenu("provauno_b3","provauno_menu",67);
submenuItem("statuto","javascript:;","","provauno_ plain");
submenuItem("regolamenti","javascript:;","","prova uno_plain");
endSubmenu("provauno_b3");

startSubmenu("provauno_b1","provauno_menu",117);
submenuItem("Sindaco e giunta","javascript:;","","provauno_plain");
submenuItem("Consiglio Comunale","javascript:;","","provauno_plain");
submenuItem("Commissioni Consiliari","javascript:;","","provauno_plain");
endSubmenu("provauno_b1");

loc="";

il secondo e questo invece (che e richiamato dal primo almeno credo)uguale a tutti i menu'

// ©Xara Ltd 2002
var ma=new Array();var mx=new Array();var my=new Array();var mc=new Array();var mal=0;var main=0;var menuw=200;var psrc=0;var pname="";var al="";var NS6=(!document.all&&document.getElementById);var NS4=(!document.getElementById);var IE5=(!NS4&&!NS6&&navigator.userAgent.indexOf('MSIE 5.0')!=-1);if(navigator.userAgent.indexOf('Opera')!=-1)NS4=1;function startMainMenu(file,h,w,dir,space,align){if(w>0)men uw=w;main=dir;if(main==1||main==2)document.write(" <table border=\"0\" cellspacing=\""+space+"\" cellpadding=\"0\">");if(file!=""){al="";if(align== 1)al=" align=\"right\"";if(align==2)al=" align=\"center\"";if(main==1||main==2)document.wri te("<tr><td"+al+">");document.write("<img src=\""+loc+file+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");document.write(" />");if(main==1||main==2)document.write("</td>");if(main==1)document.write("</tr>");if(main==3)document.write("
</br>");}}function endMainMenu(file,h,w){if(file!=""){if(main==1)docu ment.write("<tr>");if(main==1||main==200)document. write("<td"+al+">");document.write("<img src=\""+loc+file+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");document.write(" />");if(main==1||main==2)document.write("</td></tr>");}if(main==1||main==2)document.write("</table>");main=0;}function mainMenuItem(name,ext,h,w,url,tar,alt,dir,state,s) {if(NS4&&main==0)return;var isgraphic=ext.charAt(0)==".";if(main==1)document.w rite("<tr>");if(main==1||main==2)document.write("< td"+al+">");document.write("<a ");if(url!=""||!isgraphic)document.write("href=\"" +url+"\" ");if(tar!="")document.write("target=\""+tar+" \" ");document.write("onmouseout=\"");if(dir>0)docume nt.write("tidyMenu(event);");document.write("\" onmouseover=\"");if(dir>0)document.write("openMenu (event, '"+name+"',"+dir+","+bc+","+fc+");");if(state>1&&i sgraphic){document[name+"_over"]=new Image();document[name+"_over"].src=loc+name+"_over"+ext;document.write("setGraph ic(event, '"+loc+name+"_over"+ext+"');");}document.write("re turn false;\"");if(!isgraphic)document.write(" class=\""+s+"\" style=\"width:"+(w>0?w:menuw)+"px\"");document.wri te(">");if(isgraphic){document.write("<img src=\""+loc+name+ext+"\" border=\"0\"");if(h>0)document.write(" height=\""+h+"\"");if(w>0)document.write(" width=\""+w+"\"");if(alt!="")document.write(" alt=\""+alt+"\"");document.write(" />");}else{document.write(""+ext+"");}document.writ e("</a>");if(main==1||main==2)document.write("</td>");if(main==1)document.write("</tr>");if(main==3)document.write("
</br>");}function startSubmenu(name,style,sw){if(NS4)return;if(sw>0) menuw=sw;document.write("<div id=\""+name+"\" class=\""+style+"\" style=\"width:"+(menuw+(NS6?bd*2:0))+"px\">");}fun ction endSubmenu(name){if(NS4)return;document.write("</div>");if(!NS6)document.getElementById(name).onmou seout=tidyMenu;}function submenuItem(text,url,tar,s){if(NS4)return;if(text. charAt(0)=='<')document.write(text);else{document. write("<a ");if(url!="")document.write("href=\""+url+"\" ");if(tar!="")document.write("target=\""+tar+" \" ");document.write("class=\""+s+"\" style=\"width:"+menuw+"px\">"+text+"</a>");}}function setGraphic(event,name){if(NS4)return;psrc=(NS6)?ev ent.target:event.srcElement;pname=psrc.src;if(NS6) event.target.src=name;else event.srcElement.src=name;}function openMenu(event,id,pos,bc,fc){if(NS4)return;var el,x,y;if(mal>0){el=document.getElementById(ma[mal-1]);if(mx[mal-1]!=el.offsetLeft||my[mal-1]!=el.offsetTop){el.style.left=mx[mal-1];el.style.top=my[mal-1];}tidyMenu(event);}if(NS6){if(mal==0){x=event.targ et.x-bd;y=event.target.y;dx=event.target.offsetWidth;dy =event.target.offsetHeight;if(typeof(event.target. x)=="undefined"){x=event.target.offsetLeft;y=event .target.offsetTop;}}else{var p=event.target;if(p.nodeName!="A"&&p.parentNode.no deName=="A")p=p.parentNode;dx=p.offsetWidth;dy=p.o ffsetHeight;el=document.getElementById(ma[mal-1]);x=el.offsetLeft-bd;y=el.offsetTop+p.offsetTop;}}else{x=event.clien tX-event.offsetX+document.body.scrollLeft-document.body.clientLeft;y=event.clientY-event.offsetY+document.body.scrollTop-document.body.clientTop-bd;dx=event.srcElement.offsetWidth;dy=event.srcEle ment.offsetHeight;if(mal>0)x-=2*bd;}el=document.getElementById(id);if(el&&el.st yle.visibility!="visible"){if(pos==1){x+=dx;el.sty le.left=x-el.offsetWidth;el.style.top=y;nspeed=el.offsetWidt h/frames;}else if(pos==2){y+=dy;el.style.left=x;el.style.top=y-el.offsetHeight;nspeed=el.offsetHeight/frames;}else if(pos==3){x-=el.offsetWidth;el.style.left=x+el.offsetWidth;el. style.top=y;nspeed=el.offsetWidth/frames;}mx[mal]=x;my[mal]=y;if(NS6||IE5||frames==0){el.style.left=x;el.styl e.top=y;}if(!IE5)clipMenu(mal,el);el.style.visibil ity="visible";ma[mal]=id;if(NS6){var p=event.target;if(p.nodeName!="A"&&p.parentNode.no deName=="A")p=p.parentNode;mc[mal]=p.style;el.onmouseout=tidyMenu;}else{mc[mal]=event.srcElement.style;if(mal>0){mc[mal].backgroundColor=bc;mc[mal].color=fc;}}mal++;}}function overMenu(x,y){for(i=0;i<mal;i++){var el=document.getElementById(ma[i]);if(el.offsetLeft+el.offsetWidth>x&&el.offsetLeft <=x&&el.offsetTop+el.offsetHeight>y&&el.offsetTop< =y){return ma[i];}}return "";}function tidyMenu(e){if(NS4)return;if(NS6){t=overMenu(e.pag eX,e.pageY);if(t!=""&&(e.target.firstChild==e.rela tedTarget||e.target==e.relatedTarget.firstChild))r eturn;}else t=overMenu(event.clientX+document.body.scrollLeft-document.body.clientLeft,event.clientY+document.bo dy.scrollTop-document.body.clientTop);om=0;for(i=0;i<mal;i++){v ar mail=ma[i].length;if(mail>t.length||t.substring(0,mail)!=ma[i]){var el=document.getElementById(ma[i]);el.style.visibility="hidden";mc[i].backgroundColor="";mc[i].color="";}else{ma[om]=ma[i];mx[om]=mx[i];my[om]=my[i];om++;}}mal=om;if(mal==0&&psrc)psrc.src=pname;}fun ction animate(){for(i=0;i<mal;i++){var el=document.getElementById(ma[i]);if(el.style.visibility=="visible"){if(el.offsetL eft<mx[i])el.style.left=Math.min(el.offsetLeft+nspeed,mx[i])+"px";if(el.offsetLeft>mx[i])el.style.left=Math.max(el.offsetLeft-nspeed,mx[i])+"px";if(el.offsetTop<my[i])el.style.top=Math.min(el.offsetTop+nspeed,my[i])+"px";clipMenu(i,el);}}if(mal!=0||frames!=0)setTi meout("animate()",50);}function clipMenu(i,el){if(el.offsetLeft>mx[i])el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+(el.offsetWidth+(mx[i]-el.offsetLeft))+"px "+el.offsetHeight+"px "+0+"px)";else el.style.clip="rect("+(my[i]-el.offsetTop)+"px "+el.offsetWidth+"px "+el.offsetHeight+"px "+(mx[i]-el.offsetLeft)+"px)";}





grazie mille