	function NewWindow(URL,Ancho,Alto){
	window.open(URL,'ventana1','width=' + Ancho + ',height=' + Alto + ',toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');	
	}
	function NewWin2(URL,Ancho,Alto,Scroll,Resize){
	window.open(URL,'ventana2','width=' + Ancho + ',height=' + Alto + ',toolbar=no,directories=no,menubar=yes,status=no,scrollbars=yes,resizable=no,top=10,left=10');	
	}
	function NewWin3(URL,Ancho,Alto,Scroll,Resize){
	window.open(URL,'ventana3','width=' + Ancho + ',height=' + Alto + ',toolbar=yes,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=5');	
	}
	function NewWin4(URL,Ancho,Alto){
	window.open(URL,'ventana4','width=' + Ancho + ',height=' + Alto + ',toolbar=yes,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=5');	
	}
	function ford(){
	window.open('/circuitoford','ventanaford','width=830,height=700,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=5,left=5');	
	}
	function progolfregister(){
	window.open('/progolf.insc.php','proginsc','width=460,height=600,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}
	function creditos(){
	window.open('creditos.html','ventana_cred','width=510,height=230,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=150,left=150');
	}
	function Leaderboard(TOR){
	window.open('leaderboard.php?torneo=' + TOR + '','ventanaleader','width=775,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');	
	}
	function Login(URL,Ancho,Alto,Scroll,Resize){
	window.open(URL,'ventanalogingm','width=' + Ancho + ',height=' + Alto + ',toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=20,left=20');	
	}
	function salidaprint(){
	window.open('http://www.golfm.com.ar/golfstar/gm/salidaprint.php?hoyo=uno','ventanatimeout','width=800,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=5,left=5');	
	}
	function fotos(TOR){
	window.open('http://www.golfstarnews.com/fotos.php?torneo=' + TOR + '','ventanafotos','width=530,height=480,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=5,left=5');
	}
	function fotosvert(URL){
	window.open(URL,'ventanafotosver','width=250,height=400,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=10,left=10');
	}
	function Ranking(){
	window.open('http://www.golfm.com.ar/golfstar/gm/ranking/rankingindex.php','ventanarankff','width=750,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}
	function programa(URL){
	window.open(URL,'ventanaprog','width=600,height=470,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=20,left=80');	
	}
	function news(){
	window.open('http://www.solucionesintegrales.com/golfstar/new/webnews.php','ventananews','width=800,height=470,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=1,left=1');	
	}
	function infocenter(){
	window.open('gm/infocenter.php','ventanainfo','width=770,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=3,left=3');	
	}
	function estancias(){
	window.open('/estancias.php','ventana_lito','width=350,height=600,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=3,left=50');	
	}
	function popup_sl(){
	window.open('popup-sanl.php','ventana_sl','width=635,height=510,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=3,left=3');	
	}
	function LeaderSL(){
	window.open('http://scoring.golfstarnews.com/sanluis.php','ventanaSL','width=775,height=585,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=3,left=3');	
	}
	function mailsendtor(PAG){
	window.open(PAG,'ventananot','width=420,height=370,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=100,left=100');	
	}

	function registerpl(){
	window.open('https://www.golfmol.com/playerid/index.php?origen=mg','ventanaregplayer','width=800,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}

	function misdatospl(){
	window.open('https://www.golfmol.com/playerid/index.php?seccion=adpm','ventanaadpmpl','width=800,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}

	function passretpl(){
	window.open('https://www.golfmol.com/playerid/index.php?seccion=passret','ventanapasretpl','width=800,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}

	function activarid(CODIGO){
	window.open('https://www.golfmol.com/playerid/index.php?seccion=activarpm&code=' + CODIGO + '','ventanaactivaridpl','width=800,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');
	}
	function loginpl(){
	window.open('/loginpl.php?origen=head','ventanatalogin','width=400,height=300,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=250,left=250');	
	}


	function nuevoAjax(){
	var xmlhttp=false;
	 try {
	  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	 } catch (e) {
	  try {
	   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	  } catch (E) {
	   xmlhttp = false;
	  }
	 }

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
	  xmlhttp = new XMLHttpRequest();
	}
	return xmlhttp;
	}

	function cargarContenido(id,php,padre){
	//alert(id+'\n'+php+'\n'+padre);
	var pepe;
	pepe = document.getElementById(id);
	pepe.innerHTML = "<br><br><br><br><center><p style='margin-top: 0; margin-bottom: 0' class='GENERAL'>Leyendo Datos... Un momento por favor ...</p><br><br><pstyle='margin-top: 0; margin-bottom: 0'><img src='/images/ajax-loader.gif' /></p></center>";
	ajax=nuevoAjax();
	ajax.open("GET", php,true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
	//pepe.innerHTML = '<a href="#" onClick="new Effect.SlideUp(\''+padre+'\');">Cerrar</a><br>'+ajax.responseText;
	pepe.innerHTML=ajax.responseText;
	//new Effect.SlideDown(padre);
	}
	}
	ajax.send(null)
	}


	function shop(id,php){
	//alert(id+'\n'+php+'\n'+padre);
	var pepe;
	pepe = document.getElementById(id);
	pepe.innerHTML = "<br><center><p style='margin-top: 0; margin-bottom: 0' class='MINITIT'>Leyendo Datos... Un momento por favor ...</p><br><p style='margin-top: 0; margin-bottom: 0'><img src='/images/ajax-loader.gif' /></p></center>";
	ajax=nuevoAjax();
	ajax.open("GET", php,true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
	//pepe.innerHTML = '<a href="#" onClick="new Effect.SlideUp(\''+padre+'\');">Cerrar</a><br>'+ajax.responseText;
	pepe.innerHTML=ajax.responseText;
	//new Effect.SlideDown(padre);
	}
	}
	ajax.send(null)
	}

	function cargarSC(id,php,padre){
	//alert(id+'\n'+php+'\n'+padre);
	var pepe;
	pepe = document.getElementById(id);
	pepe.innerHTML = "<center><p style='margin-top: 0; margin-bottom: 0' class='MINITIT'>Leyendo Datos... Un momento por favor ...</p><p style='margin-top: 0; margin-bottom: 0'><img src='/images/ajax-loader.gif' /></p></center>";
	ajax=nuevoAjax();
	ajax.open("GET", php,true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
	//pepe.innerHTML = '<a href="#" onClick="new Effect.SlideUp(\''+padre+'\');">Cerrar</a><br>'+ajax.responseText;
	pepe.innerHTML=ajax.responseText;
	//new Effect.SlideDown(padre);
	}
	}
	ajax.send(null)
	}

	function printid(nombre)
	{
	var ficha = document.getElementById(nombre);
	var ventimp = window.open(' ', 'popimpr');
	ventimp.document.write( ficha.innerHTML );
	ventimp.document.close();
	ventimp.print( );
	ventimp.close();
	}


	function goFullscreen(page) {
		var URLen=page;
		var windowNamen="ventanafull";
		var browserName=navigator.appName;
		var operatingSystem=navigator.platform;
		var version = parseFloat(navigator.appVersion);

		//alert(browserName);

		// Netscape check version 4.0+ on Win
		if (browserName.indexOf("Netscape")!=-1 && version>=4.0 && operatingSystem.indexOf("Win")!=-1)
		 {
		 window.open(URLen,windowNamen,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',scrollbars=1,screenX=0,screenY=0,top=0,left=0')
		 }

		// MSIE Mac check
		else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Mac")!=-1)
		 {
		 window.open(URLen,windowNamen,'titlebar=no,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',scrollbars=1,screenX=0,screenY=1,top=0,left=0')
		 }

		// Netscape Mac check
		else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Mac")!=-1)
		 {
		 window.open(URLen,windowNamen,'width='+screen.width+',height='+screen.height+',top=0,left=0');
		 }

		// MSIE Windows
		else if (browserName.indexOf("Microsoft Internet Explorer")!=-1 && operatingSystem.indexOf("Win")!=-1)
		 {
		 //window.open(URLen,windowNamen,'fullscreen=yes')
		var win = window.open(URLen,windowNamen,'titlebar=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,top=0,left=0,width=' + window.screen.availWidth+',height='+window.screen.availHeight+',screenX=0,screenY=1,top=0,left=0')
			win.resizeTo(screen.width, screen.height);
			 //win.moveTo(1, 1);
			 //win.moveTo(0, 0);
			 //win.resizeTo(screen.width, screen.height);
		 }

		// Netscape Windows
		else if (browserName.indexOf("Netscape")!=-1 && operatingSystem.indexOf("Win")!=-1)
		 {
		 window.open(URLen,windowNamen,'width='+screen.width+',height='+screen.height+',top=0,left=0');
		 }

		else
		 {
		 window.open(URLen,windowNamen);
		 }

	}

	function confirmshop()
	{
	var agree=confirm("ATENCION.\n\n¿Esta seguro de seguir adelante?.\n\nEsta acción genera un cargo en su cuenta PlayerID, a menos que esté reintentando pagar un cargo anterior, en cuyo caso el cargo ya está generado.\n\nPor favor no siga adelante si no esta decidido a comprar el Programa E-LEARNINGOLF.COM.\n\nMuchas Gracias.");
	if (agree)
		return true ;
	else
		return false ;
	}


	function confirmdelete()
	{
	var agree=confirm("ATENCION.\n\n¿Esta seguro de seguir adelante?. Esta acción no se puede deshacer...");
	if (agree)
		return true ;
	else
		return false ;
	}