function hispafecha()
{
	fecha = new Date();
	mes = fecha.getMonth() + 1;
	anual = fecha.getFullYear();
	document.write(MesDemo() + " de " + anual);
}
function hispasemana()
	{
fecha = new Date();
dia = fecha.getDate();
document.write(dia);
}
function DateDemo()
{
  var d, day, x, s = "";
  var x = new Array("Domingo", "Lunes", "Martes");
  var x = x.concat("Miércoles","Jueves", "Viernes");
  var x = x.concat("Sábado");
  d = new Date();
  day = d.getDay();
  return(s += x[day]);
}
function MesDemo()
{
  var d, day, x, s = "";
  var x = new Array("Enero", "Febrero", "Marzo");
  var x = x.concat("Abril","Mayo", "Junio");
  var x = x.concat("Julio","Agosto", "Septiembre");
  var x = x.concat("Octubre","Noviembre", "Diciembre");
  d = new Date();
  mimes = d.getMonth();
  return(s += x[mimes]);
}
function TimeDemo()
{
  var d, s = "";
  var c = ":";
  d = new Date();
  s += d.getHours() + c;
  s += d.getMinutes();
  return(s);
}

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

  function mOvr(src,clrOver) {
    if (!src.contains(event.fromElement)) {
	  src.style.cursor = 'hand';
	  src.bgColor = clrOver;
	}
  }

  function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	  src.style.cursor = 'default';
	  src.bgColor = clrIn;
	}
  }

  function mClk(src) {
    if(event.srcElement.tagName=='TD'){
	  src.children.tags('A')[0].click();
    }
  }











function changeImage(r,i)
{
r.src=i;
}
function goFlipURL()
{
  document.location = urlSet[currentFlip];
}
function flipFlipper(imageSet,speed)
{
  currentFlip ++;
  if (currentFlip == imageSet.length)
    currentFlip=0;
  changeImage(document.flip,imageSet[currentFlip]);
  setTimeout("flipFlipper(imageSet,speed)", speed)
}
function FlipperLong(width,height,s,images)
{
/* si: start index 
** i: current index
** ei: end index
** cc: current count
*/
 speed = s;
 si = 0; 
 ci=0;
 cc=0;
 imageSet = new Array();
 ei = images.length;
  for (i=1;i<ei;i++) {
    if (images.charAt(i) == ' ') {
      imageSet[cc] = images.substring(si,i);
      cc++;
      si=i+1;
      }
    }
  currentFlip = 0;
   document.write("<img name='flip'");
 if (width >0)
    document.write(" width="+width);
 if (height >0)
    document.write(" height="+height);
  document.writeln(" src=" +imageSet[0]+ " border=0>");
 setTimeout("flipFlipper(imageSet,speed)", speed)
}
function Flipper(width,height,images)
{
  speed=5000;
  FlipperLong(width,height,speed,images);
}

function addToFavorite(favTitle){

  if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4)) {

    window.external.AddFavorite(location.href, unescape(favTitle));

  }



  else {

		var msg = "Don't forget to bookmark us!";

		if(navigator.appName == "Netscape") window.open (msg += '  (CTRL-D)','toolbar=no,scrollbars=no,titlebar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no')

			;

		window.open (document.write(msg),'toolbar=no,scrollbars=no,titlebar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no');

		}

}

function doHomepage() {
	return this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.hola.com');
}

