defaultStatus="AIGG - Associazione Italiana Giornalisti Golfisti";
menu=new Array();
menu[0]=["chisiamo"];
menu[1]=["calendario"];
menu[2]=["classifiche"];
menu[3]=["cronache"];
menu[4]=["video"];
menu[5]=["convenzioni"];
menu[6]=["soci"];

// gestione multi-risoluzione
function Classifica(txt,arr)
{
        w=693*0.8+17; // barra scorrimento
	dimx=w; dimy=w*0.8;
	if (document.all) { var xMax = screen.width; var yMax = screen.height; }
	else if (document.layers) { var xMax = window.outerWidth; var yMax = window.outerHeight; }
	else { var xMax = dimx; var yMax = dimy; }
	var xOffset = (xMax / 2) - (dimx / 2);
	var yOffset = (yMax  / 2) - (dimy / 2);
	opzioni="toolbar=no,width="+dimx+",height="+dimy+",screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset
	fin=window.open("",0,opzioni);
	WC="fin.document.writeln("+String.fromCharCode(34);
	CW=String.fromCharCode(34)+")";
	eval(WC+"<html><title>AIGG - ASSOCIAZIONE ITALIANA GIORNALISTI GOLFISTI</title><link rel='stylesheet' type='text/css' href='../jss/aigg.css'><body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' scroll='yes'>"+CW);
	eval(WC+"<table cellpadding='0' cellspacing='0' border='0' height='100%' width='100%'><tr><td align='center'>"+titolo+CW);


	p="<p class='t"+Txt+"' style='margin-top:3px;margin-bottom:3px;margin-left:5px;margin-right:5px'>";
	// verifico che ci siano le testate
	eval(WC+"<table style='margin-top:0px;margin-bottom:0px;margin-left:17px;margin-right:0px' cellpadding='0' cellspacing='0' border='1' style='border-collapse:collapse' bordercolor='#495A64'>"+CW);
	eval(WC+"<tr><td colspan='4' align='center' bgcolor='E6E6CC'>"+p+"<font color='#B84126'><b>"+txt+"</b></font></td></tr>"+CW);
	ww=80;
	eval(WC+"<tr><td align='center' width='10%'>"+p+"<i>pos</i></td><td align='center' width='"+ww+"%'>"+p+"<i>giocatore</i></td>"+CW);
	eval(WC+"<td align='center' width='10%'>"+p+"<i>punti</i></td></tr>"+CW);
	for(i=0; i<arr.length; i++)
	{
		eval(WC+"<tr>"+CW);
		if(arr[i][0]) eval(WC+"<td align='center'>"+p+arr[i][0]+"</td>"+CW);
		eval(WC+"<td>"+p+arr[i][1]+"</td>"+CW);
		eval(WC+"<td align='center'>"+p+arr[i][2]+"</td></tr>"+CW);
	}
	eval(WC+"</table>&nbsp;<br>&nbsp;<br></td></tr></table></body></html>"+CW);
}

function Classifica2(txt,arr)
{
        w=693*0.8+17; // barra scorrimento
	dimx=w; dimy=w*0.8;
	if (document.all) { var xMax = screen.width; var yMax = screen.height; }
	else if (document.layers) { var xMax = window.outerWidth; var yMax = window.outerHeight; }
	else { var xMax = dimx; var yMax = dimy; }
	var xOffset = (xMax / 2) - (dimx / 2);
	var yOffset = (yMax  / 2) - (dimy / 2);
	opzioni="toolbar=no,width="+dimx+",height="+dimy+",screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset
	fin=window.open("",0,opzioni);
	WC="fin.document.writeln("+String.fromCharCode(34);
	CW=String.fromCharCode(34)+")";
	eval(WC+"<html><title>AIGG - ASSOCIAZIONE ITALIANA GIORNALISTI GOLFISTI</title><link rel='stylesheet' type='text/css' href='../jss/aigg.css'><body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' scroll='yes'>"+CW);
	eval(WC+"<table cellpadding='0' cellspacing='0' border='0' height='100%' width='100%'><tr><td align='center'>"+titolo+CW);


	p="<p class='t"+Txt+"' style='margin-top:3px;margin-bottom:3px;margin-left:5px;margin-right:5px'>";
	// verifico che ci siano le testate
	eval(WC+"<table style='margin-top:0px;margin-bottom:0px;margin-left:17px;margin-right:0px' cellpadding='0' cellspacing='0' border='1' style='border-collapse:collapse' bordercolor='#495A64'>"+CW);
	eval(WC+"<tr><td colspan='4' align='center' bgcolor='E6E6CC'>"+p+"<font color='#B84126'><b>"+txt+"</b></font></td></tr>"+CW);
	eval(WC+"<tr><td align='center' width='10%'>"+p+"<i>pos</i></td><td align='center' width='60%'>"+p+"<i>giocatore</i></td>"+CW);
	eval(WC+"<td align='center' width='30%'>"+p+"<i>colpi</i></td></tr>"+CW);
	for(i=0; i<arr.length; i++)
	{
		eval(WC+"<tr><td align='center'>"+p+arr[i][0]+"</td><td>"+p+arr[i][1]+"</td>"+CW);
		eval(WC+"<td align='center'>"+p+arr[i][2]+"</td></tr>"+CW);
	}
	eval(WC+"</table>&nbsp;<br>&nbsp;<br></td></tr></table></body></html>"+CW);
}

function Classifica3(txt,arr)
{
        w=693*0.8+17; // barra scorrimento
	dimx=w; dimy=w*0.8;
	if (document.all) { var xMax = screen.width; var yMax = screen.height; }
	else if (document.layers) { var xMax = window.outerWidth; var yMax = window.outerHeight; }
	else { var xMax = dimx; var yMax = dimy; }
	var xOffset = (xMax / 2) - (dimx / 2);
	var yOffset = (yMax  / 2) - (dimy / 2);
	opzioni="toolbar=no,width="+dimx+",height="+dimy+",screenX="+xOffset+",screenY="+yOffset+",top="+yOffset+",left="+xOffset
	fin=window.open("",0,opzioni);
	WC="fin.document.writeln("+String.fromCharCode(34);
	CW=String.fromCharCode(34)+")";
	eval(WC+"<html><title>AIGG - ASSOCIAZIONE ITALIANA GIORNALISTI GOLFISTI</title><link rel='stylesheet' type='text/css' href='../jss/aigg.css'><body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' scroll='yes'>"+CW);
	eval(WC+"<table cellpadding='0' cellspacing='0' border='0' height='100%' width='100%'><tr><td align='center'>"+titolo+CW);


	p="<p class='t"+Txt+"' style='margin-top:3px;margin-bottom:3px;margin-left:5px;margin-right:5px'>";
	// verifico che ci siano le testate
	eval(WC+"<table style='margin-top:0px;margin-bottom:0px;margin-left:17px;margin-right:0px' cellpadding='0' cellspacing='0' border='1' style='border-collapse:collapse' bordercolor='#495A64'>"+CW);
	eval(WC+"<tr><td colspan='4' align='center' bgcolor='E6E6CC'>"+p+"<font color='#B84126'><b>"+txt+"</b></font></td></tr>"+CW);
	ww=80;
	eval(WC+"<tr><td align='center' width='"+ww+"%'>"+p+"<i>giocatore</i></td>"+CW);
	eval(WC+"<td align='center' width='10%'>"+p+"<i>punti</i></td></tr>"+CW);
	for(i=0; i<arr.length; i++)
	{
		if(arr[i][1]=="") eval(WC+"<tr><td colspan='2' bgcolor='dedede'>&nbsp;</td></tr>"+CW);
		else
		{
			eval(WC+"<tr>"+CW);
			eval(WC+"<td>"+p+arr[i][1]+"</td>"+CW);
			eval(WC+"<td align='center'>"+p+arr[i][2]+"</td></tr>"+CW);
		}
	}
	eval(WC+"</table>&nbsp;<br>&nbsp;<br></td></tr></table></body></html>"+CW);
}



function getParams()
{
  coppieNomeValore = new Object();
  separatore = ',';
  query = '' + this.location;
  re=/%26/gi;
  query = query.replace(re,"&");
  re=/%3f/gi;
  query = query.replace(re,"?");
  query = query.substring((query.indexOf('?')) + 1);
  if (query.length < 1) { return false; }
  coppie = new Object();
  numCoppie = 1;
  while (query.indexOf('&') > -1)
  {
    coppie[numCoppie] = query.substring(0,query.indexOf('&'));
    query = query.substring((query.indexOf('&')) + 1);
    numCoppie++;
  }
  coppie[numCoppie] = query;
  for (i in coppie)
  {
    nomeCampo = coppie[i].substring(0,coppie[i].indexOf('='));
    valoreCampo = coppie[i].substring((coppie[i].indexOf('=')) + 1);
    while (valoreCampo.indexOf('+') > -1)
      valoreCampo = valoreCampo.substring(0,valoreCampo.indexOf('+')) + ' ' + valoreCampo.substring(valoreCampo.indexOf('+') + 1);
    valoreCampo = unescape(valoreCampo);
    if (coppieNomeValore[nomeCampo]) 
    { coppieNomeValore[nomeCampo] = coppieNomeValore[nomeCampo] + separatore + valoreCampo; }
    else { coppieNomeValore[nomeCampo] = valoreCampo; }
  }
  return coppieNomeValore;
}