function senzaFoto() {var n="0%0%0%0%0%0%0%0%0%2";document.getElementById('passa4').name="menuRic";document.getElementById('passa4').value=1;statnaz(n);}
function statnaz(n) {n=n+"%";document.getElementById('passa3').name="tipoRic";document.getElementById('passa3').value=7;chiamata('ricerca',n);}
function vaiAlKod() {
  var s=document.getElementById('sglvai').value;
  var c=document.getElementById('cdvai').value;
  if(c.length>0) {
    aa=/^([0-9]+$)/
    if(!aa.test(c)) {alert(document.getElementById('alert27').value);document.getElementById('cdvai').focus();return;}
  } else {alert(document.getElementById('alert6').value);document.getElementById('cdvai').focus();return;}
  if(c==0) {alert(document.getElementById('alert33').value);document.getElementById('cdvai').focus();return;}
  c=s+c;
  chiamata('vaiAlCod',c);
}
function apriChiudiOrol(c) {
  if(document.getElementById(c).style.display=='none') {document.images['fr'+c].src='graphic/c-5p.png';} else {document.images['fr'+c].src='graphic/c-4p.png';}
  apriChiudi(c);
}
function lampo() {
  if(document.getElementById('superman')) {
    if(document.getElementById('superman').value==1) {document.images['frsupVs'].src='graphic/c-4pl.gif';}
  }
}
//function news() {//pubblicità
//  var x=0,y=0,obj;
//  obj=document.getElementById('datario');
//  while(obj) {x+=obj.offsetLeft;y+=obj.offsetTop;obj=obj.offsetParent;}
//  x=x-170;y=y+121;
//  promptbox=document.createElement('div');promptbox.setAttribute('id','prompt');
//  document.getElementsByTagName('body')[0].appendChild(promptbox);
//  promptbox=eval("document.getElementById('prompt').style");promptbox.position='absolute';
//  promptbox.top=y+"px";promptbox.left=x+"px";promptbox.width=120+"px";
//  document.getElementById('prompt').innerHTML="<table cellspacing='0' cellpadding='0' border='0'><tr><td background='graphic/newgnomolab2.gif' align='right'><img src='graphic/cancellino.png' onMouseOver='style.cursor=\"pointer\"' onclick='document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></td></tr><tr><td height='76' width='120'><img src='graphic/newgnomolab.gif' onMouseOver='style.cursor=\"pointer\"' onclick='javascript:chiamataSA(\"lab\",-8); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></td></tr></table>";
//}
