var lapso = 600000;
var scoresTimer = setTimeout("",refresh);

var c = false;
var t;
var r;

function cargarleader(cref,idt){
	t=cref;
	r=idt;
	cargar_si('MainDIV','ContDiv', cref,idt)
}

function cargar_si(PDiv,CDiv, cref,idt){
	var URL= '/scoring/leader.js.content.php?id='+idt+'&torneo='+ cref +'';
	refresh(URL)
}

function refresh(URL){
	if(bw.ns){
		document.layers['ScoresAqui'].load(URL,0);
	}
	if(bw.ie){
		document.frames['ScoresAqui'].location.href=URL;
	}
	if(bw.ns6){
		document.getElementById('ScoresAqui').src='about:blank';
		document.getElementById('ScoresAqui').src=URL;
	}
	else{
		document.frames['ScoresAqui'].location.href=URL;
	}
	scoresTimer = setTimeout("refresh('" + URL + "')",lapso);
} 

function player_scores(idtor,creft,ccodcli,startPos,currPos,Difer,Name,Country,CurrHole,scoreToPar,d1score,d2score,d3score,d4score,total,foto,PAR1,PAR2,PAR3,PAR4,PAR5,PAR6,PAR7,PAR8,PAR9,PAR10,PAR11,PAR12,PAR13,PAR14,PAR15,PAR16,PAR17,PAR18,h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13,h14,h15,h16,h17,h18){//,oom_rank){

	this.idtor=idtor;
	this.creft=creft;
	this.ccodcli=ccodcli;
	this.startPos=startPos;
	this.currPos=currPos;
	this.Difer = Difer;
	this.Name=Name;
	this.Country=Country;
	this.CurrHole=CurrHole;
	this.scoreToPar=scoreToPar;
	this.d1score=d1score;
	this.d2score=d2score;
	this.d3score=d3score;
	this.d4score=d4score;
	this.total=total;
	this.foto=foto;

	this.PAR1=PAR1;
	this.PAR2=PAR2;
	this.PAR3=PAR3;
	this.PAR4=PAR4;
	this.PAR5=PAR5;
	this.PAR6=PAR6;
	this.PAR7=PAR7;
	this.PAR8=PAR8;
	this.PAR9=PAR9;
	this.PAR10=PAR10;
	this.PAR11=PAR11;
	this.PAR12=PAR12;
	this.PAR13=PAR13;
	this.PAR14=PAR14;
	this.PAR15=PAR15;
	this.PAR16=PAR16;
	this.PAR17=PAR17;
	this.PAR18=PAR18;

	this.h1=h1;
	this.h2=h2;
	this.h3=h3;
	this.h4=h4;
	this.h5=h5;
	this.h6=h6;
	this.h7=h7;
	this.h8=h8;
	this.h9=h9;
	this.h10=h10;
	this.h11=h11;
	this.h12=h12;
	this.h13=h13;
	this.h14=h14;
	this.h15=h15;
	this.h16=h16;
	this.h17=h17;
	this.h18=h18;

	this.get_player_row=getPlayerRow;
}

function getPlayerRow(){
	var strOom = '';
	
	if (this.oom_rank!=null){
		strOOM = this.oom_rank;
	}else{
		strOOM = '';
	}
	
	var str = '';
	var strRow = '<tr align="center" class="'+(c?'scoresRowBg">':'scoresRowBgAlternate">')

	if (this.ccodcli == 'thecut'){
		str += '<tr class="BODYSCORING" align="center"><td colspan="13"><a href="http://www.e-learningolf.com" target="_blank"><img border="0" src="http://www.mundogolfstar.com/images/banners/bann.elearn.corte.jpg"></a></td></tr>';
		str += '<tr class="HEADSCORING" align="center"><td colspan="13">Corte clasificatorio Proyectado '+this.startPos+'</td></tr>';

		//this.ccodcli = -this.ccodcli;

	}

	if (this.ccodcli == 'tenpos'){
//		str += '<tr class="BODYSCORING" align="center"><td colspan="13" bgcolor="#C0C0C0">Scoring online en su celular >>> [<b>wap.golfmol.com</b>] >>> Golfmol, la evolución del golf</td></tr>';
		str += '<tr class="BODYSCORING" align="center"><td colspan="13"><a href="http://www.e-learningolf.com" target="_blank"><img border="0" src="http://www.mundogolfstar.com/images/banners/bann.elearn.top10.jpg"></a></td></tr>';
		//this.ccodcli = -this.ccodcli;
	}

	var strRow2 = '';
		
	if(Get_Cookie('highlightPlayer')!=null){
		var strPlayers = Get_Cookie('highlightPlayer')
		var arrPlayers=strPlayers.split(",") 
		 
		for (i=0; i<arrPlayers.length; i++){
			if (arrPlayers[i] == this.ccodcli){

				var ST1 = this.h1-this.PAR1;
				var ST2 = this.h2-this.PAR2;
				var ST3 = this.h3-this.PAR3;
				var ST4 = this.h4-this.PAR4;
				var ST5 = this.h5-this.PAR5;
				var ST6 = this.h6-this.PAR6;
				var ST7 = this.h7-this.PAR7;
				var ST8 = this.h8-this.PAR8;
				var ST9 = this.h9-this.PAR9;
				var ST10 = this.h10-this.PAR10;
				var ST11 = this.h11-this.PAR11;
				var ST12 = this.h12-this.PAR12;
				var ST13 = this.h13-this.PAR13;
				var ST14 = this.h14-this.PAR14;
				var ST15 = this.h15-this.PAR15;
				var ST16 = this.h16-this.PAR16;
				var ST17 = this.h17-this.PAR17;
				var ST18 = this.h18-this.PAR18;

				strRow = '<tr align="center" style="background:#E1E1E1">'

				var strRow2 = '<tr><td width="100%" colspan="13" height="110"background="http://www.golfmol.com/images/fondo.scorecard.leader.jpg"><table width="100%" class="GENERAL" cellpadding="0" cellspacing="0" border="0"><tr>';
				strRow2 += '<td width="13%"><img align="center" src="http://www.golfmol.com/pmphotos/'+this.foto+'" width="66" height="100"></td>'
					+'<td width="87%" valign="middle"><table width="100%" class="GENERAL" cellpadding="0" cellspacing="1" border="0">'

					+'<tr hight="14"><th class="HEADSCORING">HOYOS</th>'
					+'<th class="HEADSCORING"> 1</th>'
					+'<th class="HEADSCORING"> 2</th>'
					+'<th class="HEADSCORING"> 3</th>'
					+'<th class="HEADSCORING"> 4</th>'
					+'<th class="HEADSCORING"> 5</th>'
					+'<th class="HEADSCORING"> 6</th>'
					+'<th class="HEADSCORING"> 7</th>'
					+'<th class="HEADSCORING"> 8</th>'
					+'<th class="HEADSCORING"> 9</th>'
					+'<th> </th>'
					+'<th class="HEADSCORING">10</th>'
					+'<th class="HEADSCORING">11</th>'
					+'<th class="HEADSCORING">12</th>'
					+'<th class="HEADSCORING">13</th>'
					+'<th class="HEADSCORING">14</th>'
					+'<th class="HEADSCORING">15</th>'
					+'<th class="HEADSCORING">16</th>'
					+'<th class="HEADSCORING">17</th>'
					+'<th class="HEADSCORING">18</th></tr>'

					+'<tr align="center" higth="25"><td bgcolor="F1F1F1" width="60" class="BODYSCORING">Par</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR1 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR2 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR3 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR4 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR5 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR6 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR7 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR8 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR9 +'</td>'
					+'<td width="10"> </td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR10 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR11 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR12 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR13 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR14 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR15 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR16 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR17 +'</td>'
					+'<td width="22" bgcolor="F1F1F1" class="BODYSCORING">'+ this.PAR18 +'</td></tr>'

					+'<tr align="center" higth="25"><td width="60" class="BODYSCORING">Score</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h1 == 0) ? '':''+this.h1+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h2 == 0) ? '':''+this.h2+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h3 == 0) ? '':''+this.h3+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h4 == 0) ? '':''+this.h4+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h5 == 0) ? '':''+this.h5+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h6 == 0) ? '':''+this.h6+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h7 == 0) ? '':''+this.h7+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h8 == 0) ? '':''+this.h8+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h9 == 0) ? '':''+this.h9+'') +'</td>'
					+'<td width="10"> </td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h10 == 0) ? '':''+this.h10+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h11 == 0) ? '':''+this.h11+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h12 == 0) ? '':''+this.h12+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h13 == 0) ? '':''+this.h13+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h14 == 0) ? '':''+this.h14+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h15 == 0) ? '':''+this.h15+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h16 == 0) ? '':''+this.h16+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h17 == 0) ? '':''+this.h17+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ (( this.h18 == 0) ? '':''+this.h18+'') +'</td></tr>'

					+'<tr align="center" higth="25"><td width="60" class="BODYSCORING">Sc Hoyo</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h1 == 0 || this.h1 == this.PAR1) ? '':''+ST1+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h2 == 0 || this.h2 == this.PAR2) ? '':''+ST2+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h3 == 0 || this.h3 == this.PAR3) ? '':''+ST3+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h4 == 0 || this.h4 == this.PAR4) ? '':''+ST4+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h5 == 0 || this.h5 == this.PAR5) ? '':''+ST5+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h6 == 0 || this.h6 == this.PAR6) ? '':''+ST6+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h7 == 0 || this.h7 == this.PAR7) ? '':''+ST7+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h8 == 0 || this.h8 == this.PAR8) ? '':''+ST8+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h9 == 0 || this.h9 == this.PAR9) ? '':''+ST9+'') +'</td>'
					+'<td width="10"> </td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h10 == 0 || this.h10 == this.PAR10) ? '':''+ST10+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h11 == 0 || this.h11 == this.PAR11) ? '':''+ST11+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h12 == 0 || this.h12 == this.PAR12) ? '':''+ST12+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h13 == 0 || this.h13 == this.PAR13) ? '':''+ST13+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h14 == 0 || this.h14 == this.PAR14) ? '':''+ST14+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h15 == 0 || this.h15 == this.PAR15) ? '':''+ST15+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h16 == 0 || this.h16 == this.PAR16) ? '':''+ST16+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h17 == 0 || this.h17 == this.PAR17) ? '':''+ST17+'') +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h18 == 0 || this.h18 == this.PAR18) ? '':''+ST18+'') +'</td></tr>'

					+'<tr align="center" higth="25"><td width="60" class="BODYSCORING"></td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h1 == 0 || this.h1 == this.PAR1) ? '':((ST1 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h2 == 0 || this.h2 == this.PAR2) ? '':((ST2 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h3 == 0 || this.h3 == this.PAR3) ? '':((ST3 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h4 == 0 || this.h4 == this.PAR4) ? '':((ST4 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h5 == 0 || this.h5 == this.PAR5) ? '':((ST5 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h6 == 0 || this.h6 == this.PAR6) ? '':((ST6 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h7 == 0 || this.h7 == this.PAR7) ? '':((ST7 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h8 == 0 || this.h8 == this.PAR8) ? '':((ST8 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h9 == 0 || this.h9 == this.PAR9) ? '':((ST9 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="10"> </td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h10 == 0 || this.h10 == this.PAR10) ? '':((ST10 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h11 == 0 || this.h11 == this.PAR11) ? '':((ST11 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h12 == 0 || this.h12 == this.PAR12) ? '':((ST12 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h13 == 0 || this.h13 == this.PAR13) ? '':((ST13 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h14 == 0 || this.h14 == this.PAR14) ? '':((ST14 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h15 == 0 || this.h15 == this.PAR15) ? '':((ST15 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h16 == 0 || this.h16 == this.PAR16) ? '':((ST16 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h17 == 0 || this.h17 == this.PAR17) ? '':((ST17 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td>'
					+'<td width="22" class="BODYSCORING">'+ ((this.h18 == 0 || this.h18 == this.PAR18) ? '':((ST18 < 0) ? '<img src="http://www.golfmol.com/images/up.gif">':'<img src="http://www.golfmol.com/images/down.gif">')) +'</td></tr>'

					+'</table>'
					+'</td></tr></table></td></tr>';
				break
			}
		}

	}

	str += strRow

	if (this.ccodcli !== 'tenpos' && this.ccodcli !== 'thecut') {


	str += '<td class="BODYSCORING" align="center"><a href="javascript:highlightPlayer(\''+this.ccodcli+'\')" Alt="Marcar y deplegar scores de la ronda">[+]<a></td>' 
		+'<td height="20" bgcolor="#E1E1E1" class="BODYSCORING">'+this.currPos+'</td>'
		+'<td class="BODYSCORING"><img src="http://www.golfmol.com/images/'+this.Difer+'.gif"></td>'
		+'<td class="BODYSCORING">'+this.startPos+'</td>'
		+'<td align="left" class="BODYSCORING" style="padding-left:10px;"><a class="scoresBoardLink" href="#k" OnClick="cargarContenido(\'include\',\'/scoring/scorecard.medal.php?id='+ this.idtor +'&seccion=scorecard&torneo='+ this.creft +'&jugador='+ this.ccodcli +'\')"><b>'+this.Name+'</b></a></td>'
		+'<td class="BODYSCORING"><img src="http://www.golfmol.com/flag/'+this.Country+'.gif" alt="'+this.Country+'"></td>'
		+'<td bgcolor="#E1E1E1" class="BODYSCORING">'+this.CurrHole+'</td>'
		+'<td class="BODYSCORING">'+this.scoreToPar+'</td>'
		+'<td bgcolor="#E1E1E1" class="BODYSCORING">'+this.d1score+'</td>'
		+'<td bgcolor="#E1E1E1" class="BODYSCORING">'+this.d2score+'</td>'
		+'<td bgcolor="#E1E1E1" class="BODYSCORING">'+this.d3score+'</td>'
		+'<td bgcolor="#E1E1E1" class="BODYSCORING">'+this.d4score+'</td>'
		+'<td class="BODYSCORING">'+this.total+'</td>'
		+'</tr>';
	str += strRow2

	}

	c=!c;
	return str;
}

function concat_scores(scoringtime,scores,status){
	var str = '';
	
		str += '<div id="scoresSummary" style="margin-right:0px; margin-left:0px;">'
		str += '<table cellpadding="0" cellspacing="0" width="100%" border="0">'
		str += '<tr>'
		str += '<td class="GENERAL" width="100%"><span style="font-size: 9pt"><p style="margin-top: 5; margin-left: 10; margin-bottom: 1"><b>Status del Torneo:</b></p><p style="margin-top: 1; margin-bottom: 5; margin-left: 10; ">' + status + '</p></span></td>'
		str += '</tr>'
		str += '<tr><td class="GENERAL" width="100%"><span style="font-size: 9pt"><p style="margin-top: 5; margin-bottom: 0; margin-left: 10"><b>[+]</b>&nbsp;Click en la marca para resaltar el jugador y mostrar su scorecard de la última ronda.</span></td></tr>'
		str += '<tr><td class="GENERAL" width="100%"><span style="font-size: 9pt"><p style="margin-top: 0; margin-bottom: 2; margin-left: 10"><b>&nbsp;<b>*</b>&nbsp;</b>&nbsp;Jugadores que comenzaron por el hoyo 10 | Players starting on the back nine.</span></td></tr>'
		str += '</table>'
		str += '</div>'				

		str += '<div align="center" style="margin-right:0px; margin-left:10px;"><table width="100%" class="GENERAL" cellpadding="0" cellspacing="0" border="0">'
		str += '<tr><td width="100%" height="22"><p style="margin-right:20px" align="right"><img src="http://www.golfmol.com/images/powered.golfmol.jpg"></td></tr>'
		str += '</table></div>'

		str += '<div align="center" style="margin-right:0px; margin-left:0px;"><table width="100%" class="HEADSCORING" cellpadding="0" cellspacing="0" border="0">'
		str += '<tr><td width="100%" height="22"><p align="center">Scoring Time: ' + scoringtime + '</td></tr>'
		str += '</table></div>'

		str +='<table width="100%" cellspacing="1">'
		+'<tr height="16">'
		+'<th class="HEADSCORING">[+]</th>'
		+'<th class="HEADSCORING2">Pos</th>'
		+'<th class="HEADSCORING">Dif</th>'
		+'<th class="HEADSCORING">Ini</th>'
		+'<th class="HEADSCORING"><p style="margin-top: 1; margin-bottom: 1"><b>Jugador</b></p><p style="margin-top: 1; margin-bottom: 1"><font style="font-size: 9pt">(click para ver tarjeta ampliada)</font></p></th>'
		+'<th class="HEADSCORING">Pais</th>'
		+'<th class="HEADSCORING2">Hoyo</th>'
		+'<th class="HEADSCORING">Score</th>'		
		+'<th class="HEADSCORING2">R1</th>'
		+'<th class="HEADSCORING2">R2</th>'
		+'<th class="HEADSCORING2">R3</th>'
		+'<th class="HEADSCORING2">R4</th>'
		+'<th class="HEADSCORING">Total</th>'
		
		+'</tr>';
		
		for(var i=0;i<scores.length;i++)if(scores[i])str += scores[i].get_player_row();

		str += '<tr class="BODYSCORING" align="center"><td colspan="13"><a href="http://www.e-learningolf.com" target="_blank"><img border="0" src="http://www.mundogolfstar.com/images/banners/bann.elearn.corte.jpg"></a></td></tr>';
		
		str+='</table>';
						
	return str;
}
