	function NewWindow(URL,Ancho,Alto,Scroll,Resize){
	window.open(URL,'ventana1','width=' + Ancho + ',height=' + Alto + ',toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,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 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 torneos(){
	window.open('http://www.golfm.com.ar/golfstar/gm/torneo.php','ventanatorn','width=750,height=520,toolbar=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,top=5,left=5');
	}
	function Tablero(){
	window.open('http://www.golfm.com.ar/golfstar/gm/tablero.php','ventanatablero','width=700,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=10,left=10');	
	}
	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 popup_ros(){
	window.open('popup-lito.php','ventana_lito','width=635,height=510,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=3,left=3');	
	}
	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 leaderolivos(){
	window.open('http://olivosgolf.cc/golf/TorneoMaestros/','ventanaolivos','width=795,height=500,toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,top=2,left=2');
	}
	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 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='http://www.golfmol.com/images/wait.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='GENERAL'>Leyendo Datos... Un momento por favor ...</p><p style='margin-top: 0; margin-bottom: 0'><img src='http://www.golfmol.com/images/wait.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();
	}