function zoom_toponomastica(fn)
{ var w = 480
  var h = 256
  var aw = screen.width
  var ah = screen.height
  var sx = parseInt(w) + 12
  var sy = parseInt(h) + 38
  var x = (aw < sx)?0:(aw-sx)/2
  var y = (ah < sy)?0:(ah-sy)/2
  var dx = (aw < sx)?aw:sx
  var dy = (ah < sy)?ah:sy
  if ((zoom_win) && !zoom_win.closed)
  { zoom_win.close()
    zoom_win = null
  }
  zoom_win = window.open('index.php?section=toponomastica&toponomastica_id='+fn, '', 'toolbar=no, location=no, directories=no, menubar=no, scrollbars=yes, resizable=yes, status=no, width='+dx+', height='+dy+', innerWidth='+dx+', innerHeight='+dy+', top='+y+', left='+x)
  if (zoom_win)
  { zoom_win.moveTo(x, y)
    zoom_win.resizeTo(dx, dy)
//    zoom_win.document.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n")
//    zoom_win.document.write("\"http://www.w3.org/TR/html4/loose.dtd\">\n")
//    zoom_win.document.write("<html>\n")
//    zoom_win.document.write("<head>\n")
//    zoom_win.document.write("<title>Comune di Vezzano (TN) | Toponomastica</title>\n")
//    zoom_win.document.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n")

//    zoom_win.document.write("<link href='styles.css' rel='stylesheet' type='text/css'>\n")
//    zoom_win.document.write("</head>\n")
//    zoom_win.document.write("<body>\n")
//    zoom_win.document.write("<table cellspacing='0' cellpadding='0' width='100%'><tr><td width='100%' valign='middle' align='center'>")

    //zoom_win.document.write("<a href='javascript:window.close()'><img id='zoom_img' name='zoom_img' src='"+fn+"' width='"+w+"' height='"+h+"'></a>")
//    zoom_win.document.write(fn)
//    zoom_win.document.write("</td></tr></table></body>")
//    zoom_win.document.write("</html>")
  }
  return true
 }
