<!-- 
function stampa_flash()
{
  document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"183\" height=\"167\" title=\"Mappa degli Italians nel mondo\">");
  document.write("<param name=\"movie\" value=\"http://www.italiansonline.net/gif/images/map.swf\"/>");
  document.write("<param name=\"quality\" value=\"high\"/>");
  document.write("<embed src=\"http://www.italiansonline.net/gif/images/map.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"183\" height=\"167\"></embed>");
  document.write("</object>");
}

function profilo(id)
{
  document.location = "http://www.italiansonline.net/profilo.php?id=" + id

  //pagina = "http://www.italiansonline.net/guardaprofilo.php?id=" + id + "&nick=" + nick
  //var finestra = window.open(pagina, "profilo", "scrollbars=yes,width=600,height=500,left=250,top=100");

  //if (finestra.opener == null)
  //  finestra.opener = finestra;
  //else
  //  finestra.focus();
}

function messaggio(objSelect)
{
  var objOpt = objSelect.options[objSelect.selectedIndex];
  //window.location.href="posta.php?rispondi=0," + objOpt.value;
  profilo(0, objOpt.value);
}

function chat()
{
  var width = 800;
  var height = 600;
  var y = (screen.height - height) / 2;
  var x = (screen.width - width) / 2;
  var url = "http://www.italiansonline.net/chat/flashchat.php";
  //var url = "http://www.italiansonline.net/die.php";
  var options = "width=" + width + ",height=" + height + ",top=" + y + ",left=" + x + ",resizable";
  window.open(url, "chat", options);
}

function MM_findObj(n, d)
{
  var p,i,x;
  if(!d)
    d=document;

  if ((p = n.indexOf("?")) > 0 && parent.frames.length)
  {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);
  }

  if (!(x=d[n])&&d.all)
    x=d.all[n];

  for (i=0; !x&&i<d.forms.length; i++)
    x=d.forms[i][n];

  for (i=0; !x&&d.layers && i < d.layers.length; i++)
    x = MM_findObj(n,d.layers[i].document);

  if (!x && d.getElementById)
    x = d.getElementById(n);

  return x;
}

function MM_showHideLayers()
{
  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)
    {
      if (args[i+2] == 'hidden')
      {
        v = 'hidden';
        d = 'none';
      }
      else
      {
        if (obj.style.visibility == 'hidden')
        {
          v = 'show';
          d = 'inline';
        }
        else
        {
          v = 'hidden';
          d = 'none';
        }
      }

      if (obj.style)
      {
        obj = obj.style;
        v = (v == 'show')?'visible':(v=='hide')?'hidden':v;
      }

      obj.visibility = v;
      obj.display = d;
    }
  }
}
-->
