function NewWindow(myname, w, h, scroll) {
   topage="http://www.parava.com/20Upd/webrecurso/index65.asp?affid=webrecurso&dname="+ document.searchform.dname.value
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops =
   "height="+h+",width="+w+",top="+wint+",left="+winl+
   ",scrollbars=" +scroll + ",resizable,status"
   win = window.open(topage, myname, winprops)
   if (parseInt(navigator.appVersion) >= 4) 
   { 
   win.window.focus(); 
   }
   }

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 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ércoles','Jueves','Viernes','Sábado')
var nmes = new Item('enero','febrero','marzo','abril','mayo','junio','julio','agosto','septiembre','octubre','noviembre','diciembre')
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 dígitos 19xx (más de 80)
 ano2 = "20" + ano
} 
else if (ano<=99) {// ano tiene 2 dígitos 20xx (menor de 80)
 ano2 = "19" + ano
}
else if (ano<1000) {// ano tiene 3 dígitos (100 es 2000)
 ano2 = eval(ano) + eval(1900)
}
else {// ano tiene 4 dígitos
 ano2 = ano
}
ahora = ndia[dia] + ", " + eval(aux.substring(7, 10)) + " de " + nmes[mes] + " del " + ano2
return ahora
}
function addBookmark()
	{
	  if (window.external)
	    external.AddFavorite("http://www.webrecurso.com", "-= WebRecurso.com - La Web de Recursos Gratis =-")
	  else
    	alert("El programa que estas usando para navegar no es compatible con esta opcion");
	}
function high(which2)
{
theobject=which2;
highlighting=setInterval("highlightit(theobject)",50);
	
}
function low(which2)
{
clearInterval(highlighting);
which2.filters.alpha.opacity=50;
}
function highlightit(cur2)
{
if(cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if(window.highlighting)
clearInterval(highlighting)
}
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",100)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=100
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity>60)
cur2.filters.alpha.opacity-=15
else if (window.highlighting)
clearInterval(highlighting)
}
function openWindow(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=210,left=200,top=150');");
}
function popUpWall(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=386,height=296,left=200,top=75');");
}