
function P7_JumpMenu(selObj,restore){ //v1.7 by Project Seven
	var theFullString = selObj.options[selObj.selectedIndex].value;
	if (restore) selObj.selectedIndex=0;
	var theLength = theFullString.length;
	var endPos = theFullString.lastIndexOf("~");
	var theUrl, theTarget, theParent;
	if (endPos > 0) {theUrl = theFullString.substring(0,endPos);}
	else {theUrl = theFullString;}
	endPos++
	if (endPos < theLength) {theTarget = theFullString.substring(endPos,theLength)}
	else {theTarget = "window:Main";}
	if (theTarget == "window:New") {window.open(theUrl);}
	else if (theTarget == "window:Main") {eval("parent.location='"+theUrl+"'");}
	else {eval("parent.frames[\'"+theTarget+"\'].location='"+theUrl+"'");}
}

// hide script from older browsers
function Item(){
  this.length = Item.arguments.length 
  for (var i = 0; i < this.length; i++)
    this[i] = Item.arguments[i]
}

function Fecha() {
  var ndia  = new Item('Domingo', 'Lunes', 'Martes', 'Mi&eacute;rcoles', 'Jueves', 'Viernes', 'S&aacute;bado')
  var nmes  = new Item('01', '02', '03', '04', '05', '06', 
                          '07', '08', '09', '10', '11', '12')
  var ahora
  var fecha = new Date()
  var ano   = fecha.getYear()
  var mes   = fecha.getMonth()
  var dia   = fecha.getDay()
  var aux   = "" + fecha
  
  if (ano<10) {
    ano2 = "200" + eval(ano)
  }
  else if (ano<80) {                // ano tiene 2 digitos 19xx (mĘs de 80)
    ano2 = "20" + ano
  } 
  else if (ano<=99) {               // ano tiene 2 digitos 20xx (menor de 80)
    ano2 = "19" + ano
  }
  else if (ano<1000) {              // ano tiene 3 digitos (100 es 2000)
    ano2 = eval(ano) + eval(1900)
  }
  else {
    ano2 = ano                      // ano tiene 4 digitos
  }
  

  ahora = ndia[dia] + ", " + " " + eval(aux.substring(7, 10)) + "/" + nmes[mes] + "/" + ano2
  return ahora
}

function AddToFaves_hp(){
	var is_4up = parseInt(navigator.appVersion);
	var is_mac   = navigator.userAgent.toLowerCase().indexOf("mac")!=-1;
	var is_ie   = navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
	var thePage = location.href;
	if (thePage.lastIndexOf('#')!=-1)
		thePage = thePage.substring(0,thePage.lastIndexOf('#'));
	if (is_ie && is_4up && !is_mac) 
		window.external.AddFavorite(thePage,document.title);
	else if (is_ie || document.images)
		booker_hp = window.open(thePage,'booker_','menubar,width=345,height=120,menubar=0,status=0,scrollbars=0,toolbar=0,left=140,top=60');
	//booker_hp.focus();
	}

function fMailto(sAsunto, sTitular, sStatus)
{
	document.write("<A href='mailto:?subject="+sAsunto+" &body=Hola!!!, "+sTitular+" ' onmouseover=\"window.status='"+sStatus+"'; return true;\" onmouseout=\"window.status=' '; return true;\">");
}

<!--

// -->
