function popUp(URL) {
day = new Date();
id = day.getTime();
ur = URL+".html";
// pos = URL*30;
pos = 20;
eval("page" + id + " = window.open(ur, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=630,height=650,left = 326,top ='+pos);");
}

function ValidateForm(eForm)
{
	if (eForm.name.value.length < 3)
   {  window.alert("Ingrese al menos 3 letras del nombre.");
      eForm.name.focus();
      return false;
   }
}

function SetInitialFocus()
{  if ("object" == typeof(formu) && "object" == typeof(formu.name))
   {  formu.name.focus();
   }
}

function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert('Sorry, no right click here!');
return false;}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}

document.onmousedown=click;
window.onload = SetInitialFocus;

 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();
    }
  }

