function show(object,val) { 
  document.getElementById(object).style.visibility = val; 
}

function popWin( url, name, width, height, scroller ) {
	var outStr = 'height=' + height + ',width=' + width;
	if (scroller != 'true') {
	outStr = outStr + ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no';
	}
	else {
	outStr = outStr + ',menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no';
	}
	msgWindow=window.open(url, name, outStr);
}

//Css per explorer o per netscape? 
if(document.layers){ //per Netscape 4
document.write('<link rel="stylesheet" href="./stili/style-ns.css" type="text/css" />');
}
else if(document.all){ // per Internet Explorer
document.write('<link rel="stylesheet" href="./stili/style-ie.css" type="text/css" />');
}
else if(document.getElementById){ // per Netscape 6
document.write('<link rel="stylesheet" href="./stili/style-ns.css" type="text/css" />');
}

function hov(loc,cls){// cambio classe per rollover bottoni form
   if(loc.className)
      loc.className=cls;}