questo e il div
<div id="Layer2" style=" position:absolute;top:50%;left:50%;width:550px;hei ght:400px;margin-left:-275px;margin-top: -200px;background-color:#FFFF99; z-index:3; visibility: hidden">
<table width="100%" height="100%" border="1" bordercolor="#00FF00" align="center"><tr><td align="center" valign="middle">
<center><h1>errore</h1>
</center></td></tr></table>
</div>
questa e la funzione
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible'v='hide')?'hidden':v; }
obj.visibility=v; }
}
questo e IF
Response.Write("<Script Language='JavaScript'>")
Response.Write("MM_showHideLayers('Layer2','','sho w');")
Response.Write("</Script/>")
Response.Flush()