	<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function opinion() { //v2.0MM_openBrWindow('servers/izq.html','','width=300,height=300')
  window.open('novedades/prueba.shtml','','width=300,height=300') }
  
  function reforma() { //v2.0MM_openBrWindow('servers/izq.html','','width=300,height=300')
  window.open('NOTA-GALERIA.gif','','scrollbars=yes') }
  
function audicion(num) { //v2.0MM_openBrWindow('servers/izq.html','','width=300,height=300')
  window.open('/servers/audio/audiciones/' + num + '/audiciones_marco.html','','width=150,height=130') }

//-->

function doClock(){ // By Paul Davis - www.kaosweaver.com
  var expire=new Date(),a=doClock.arguments,str="",i,a1,lang="5";
  var month=new Array('enero','enero', 'febrero','feb', 'marzo','marzo', 'abril','abr', 'mayo','mayo', 'junio','jun', 'julio','jul', 'agosto','agosto', 'septiembre','sept', 'octubre','oct', 'noviembre','nov', 'diciembre','dic');
  var tday= new Array('domingo','dom','lunes','lun', 'martes','mar', 'miércoles','mié','jueves','jue','viernes','vie','sábado','sáb');
  for(i=0;i<a.length;i++) {a1=a[i].charAt(1);switch (a[i].charAt(0)) {
  case "M":if  ((Number(a1)==3) && ((expire.getMonth()+1)<10)) str+="0";
  str+=(Number(a1)>1)?expire.getMonth()+1:month[expire.getMonth()*2+Number(a1)];break;
  case "D": if ((Number(a1)==1) && (expire.getDate()<10)) str+="0";str+=expire.getDate();break;
  case "Y": str+=(a1=='0')?expire.getFullYear():expire.getFullYear().toString().substring(2);break;
  case "W":str+=tday[expire.getDay()*2+Number(a1)];break; default: str+=unescape(a[i]);}}return str;
}

function printpage() { print(document); }

/////// Valida el formulario e la izquierda
function Validar(form)
{
  if (form.Nombre.value == "")
  { alert("Por favor ingrese su nombre"); form.Nombre.focus(); return; }
  if (form.Email.value.indexOf('@', 0) == -1 ||
      form.Email.value.indexOf('.', 0) == -1)
  { alert("Dirección de e-mail inválida"); form.Email.focus(); return; }
  if (form.Ciudad.value == "")
  { alert("Por favor ingrese su Ciudad"); form.Ciudad.focus(); return; }
    if (form.opinion.value == "")
  { alert("Aún no ha opinado"); form.opinion.focus(); return; }
   form.submit();
   alert('Elformulario ya está siendo enviado, por favor aguarde un instante.');
}
/////// Valida el formulario e la derecha
function Validarenv(form)
{
  if (form.Nombre.value == "")
  { alert("Por favor ingrese su nombre"); form.Nombre.focus(); return; }
  if (form.Email.value.indexOf('@', 0) == -1 ||
      form.Email.value.indexOf('.', 0) == -1)
  { alert("Dirección de e-mail inválida"); form.Email.focus(); return; }
  if (form.comentario.value == "")
  { alert("Aún no ha ingresado un comentario"); form.comentario.focus(); return; }
    form.submit();
	alert('Elformulario ya está siendo enviado, por favor aguarde un instante.');
}

/* Ejemplo: */
	//               [       URL              ],[ Nombre ]
	
	/*
	
	w1 = window.open("http://liga","winX","");
	w2 = window.open("","winX","");
	
	*/
	
//Lo que hace aquí es que, primero abre la ventana, después hace un open a la ventana con w2, pero sin pasar nada
//en el campo de URL, entonces, lo que pasa es que obtenemos un apuntador hacia la ventana, con el cual podemos
//manipular la ventana en caso de que exista.

/* Lo que necesitamos */

//1. Abrir una ventana tipo w2, asegurandonos que no afecta las propiedades de la ventana.

	wx = window.open("","musica","width=300,height=200");

//2. Verificar que la ventana este abierta. Esto lo haremos chacando una variable de inicialización que contenga la
//   pagina que estamos abriendo.

	if ((isNaN(wx.Activa)))
	{
		

		wx =  window.open('/musica.html','musica','width=300,height=150')
		 wx.focus();
	}
	
// FONT SIZE MANAGEMENT 
function FindObj(n, d) { //v4.01
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=FindObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function ChangeProp(objName,x,theProp,theValue) { //v6.0
var obj = FindObj(objName);
if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
if (theValue == true || theValue == false)
eval("obj."+theProp+"="+theValue);
else eval("obj."+theProp+"='"+theValue+"'");
}
}

// FONT SIZE MANAGEMENT 

function LoadActualFontSize() {
tempArray = document.cookie.split(";");
for (tA = 0; tA < tempArray.length; tA++){
if (tempArray[tA].indexOf('fontSize') > -1){
fontSizeValue = tempArray[tA].split("=")
ACTUAL_FONTSIZE = parseInt(fontSizeValue[1]);
}
}
}

function SaveActualFontSize() {
var expire = new Date ();
expire.setTime (expire.getTime() + (6000 * 24 * 3600000));
expire = expire.toGMTString();
document.cookie="fontSize="+ACTUAL_FONTSIZE+"; path=/; expires="+expire;
}

function agrandar() {
ACTUAL_FONTSIZE = ACTUAL_FONTSIZE+1;
if (ACTUAL_FONTSIZE > LARGEST_FONTSIZE) { ACTUAL_FONTSIZE = LARGEST_FONTSIZE }
ChangeProp('texoto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
SaveActualFontSize();
}

function achicar() {
ACTUAL_FONTSIZE = ACTUAL_FONTSIZE-1
if (ACTUAL_FONTSIZE < SMALLEST_FONTSIZE) { ACTUAL_FONTSIZE = SMALLEST_FONTSIZE }
ChangeProp('texoto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
SaveActualFontSize();
}

ACTUAL_FONTSIZE = 8;
SMALLEST_FONTSIZE = 8;
LARGEST_FONTSIZE = 22;


