<!--
var links = new Array(6);
links[0] = 'linksShows';
links[1] = 'linksBanda';
links[2] = 'linksDiscos';
links[3] = 'linksMedia';
links[4] = 'linksTextos';
links[5] = 'linksMedios';

function ShowLink(id)
{
  for (i=0; i < links.length; i++)
  {
     if (links[i] != id) { ShowMenu(links[i], false); }
     else { ShowMenu(links[i], true); }
  }
}

function CloseAll()
{
  for (i=0; i < links.length; i++)
  {
    ShowMenu(links[i], false);
  }
}

function ShowMenu(id, doShow)
{
  var itm = null;
  if (document.getElementById) {
	itm = document.getElementById(id);
  } else if (document.all){
	itm = document.all[id];
  } else if (document.layers){
	itm = document.layers[id];
  }

  if (!itm) {
   // do nothing
  }
  else if (itm.style) {
    if (doShow && itm.style.display == "none") { itm.style.display = ""; }
    else { itm.style.display = "none"; }
  }
  else {
    if (doShow && itm.visibility == "show") { itm.visibility = "show"; }
    else { itm.visibility = "hide"; }
  }
}

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 popup(url) {
  ventana = window.open(url, "_blank", "left=0,top=0,width=200,height=60,toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no");
}

function flyer(url, ancho, alto) {
  vancho = ancho + 2;
  valto = alto + 2;
  ventana = window.open('', '_blank', 'left=0,top=0,width='+vancho+',height='+valto+',toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no');
  ventana.document.write('<html><head><title>Shaila</title><style>body { margin: 0px; padding: 0px; }</style></head>');
  ventana.document.write('<body><center><a href="javascript:void(0);" onClick="opener.location.href=\'fechas.php\'; window.close();">');
  ventana.document.write('<img src="'+url+'" height="'+alto+'" width="'+ancho+'" border="0"></a></center></body></html>');
  ventana.focus();
}

function Mailing() {
	popup("nl.php?email=" + document.n.Email.value);
}

function Array_push()
{
 var A_p = 0;
 for (A_p = 0; A_p < arguments.length; A_p++)
 {
  this[this.length] = arguments[A_p];
 }
 return this.length;
}

if (typeof Array.prototype.push == "undefined")
{
 Array.prototype.push = Array_push;
}

//-->
