
 
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = ((document.getElementById)&&(!ie4))? true:false

function show(id) {
        if (ns4) {
          document.layers[id].visibility = "show"
          document.layers[id].onmouseout = function() {hide(id)}
        }
        else if (ie4) {
          document.all[id].style.visibility = "visible"
          document.all[id].onmouseover = function() {show(id)}
          document.all[id].onmouseout = function() {hide(id)}
        }
        else if (ns6) {
          document.getElementById(id).style.visibility = "visible"
          document.getElementById(id).onmouseover = function() {show(id)}
          document.getElementById(id).onmouseout = function() {hide(id)}
        }
}

function hide(id) {
        if (ns4) document.layers[id].visibility = "hide"
        else if (ie4) document.all[id].style.visibility = "hidden"
        else if (ns6) document.getElementById(id).style.visibility = "hidden"        
}



function wrLayer(){	
	var strBot = '';
	
	
strBot += '<div id="linkarea">';
strBot += '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td align="center">';
strBot += '<table width="703" border="0" cellspacing="0" cellpadding="0"><tr><td align="right"><img src="../img/layer.gif" width="142" height="96" alt="" border="0" STYLE="filter: alpha(opacity=80)" usemap="#layer"></td></tr></table>';
strBot += '</td></tr></table>';
strBot += '</div>';

strBot += '<map name="layer">';
strBot += '<area alt="" coords="22,25,82,42" href="../istituz/missione.htm">';
strBot += '<area alt="" coords="22,46,82,62" href="../dimeglio/insegna.htm">';
strBot += '<area alt="" coords="23,68,120,84" href="../market/market.htm">';
strBot += '</map>';



	document.write(strBot);
 }
 
 

 

