// Funciones JavaScript ...
/*
function cargar(Obj){
		Obj.focus()
}

function validar(){
	if(document.f1.nombre.value==""){
		alert("ERROR: Por favor ingrese su Nombre");
		document.f1.nombre.focus();
		return false;
	}else if(document.f1.apellidos.value==""){
		alert("ERROR: Por favor ingrese sus Apellidos");
		document.f1.apellidos.focus();
		return false;
	}else if(document.f1.email.value==""){
		alert("ERROR: Por favor ingrese su Email");
		document.f1.email.focus();
		return false;
	}else{
		return true;	
	}
	
}

function validnum(e) { 
	tecla = (document.all) ? e.keyCode : e.which; 
	//alert(tecla)
    if (tecla==8 || tecla==46) return true; //Tecla de retroceso (para poder borrar) 
    // dejar la línea de patron que se necesite y borrar el resto 
    //patron =/[A-Za-z]/; // Solo acepta letras 
    patron = /\d/; // Solo acepta números
    //patron = /\w/; // Acepta números y letras 
    //patron = /\D/; // No acepta números 
    // patron = /[\d.-]/; numeros el punto y el signo -
    te = String.fromCharCode(tecla); 
    return patron.test(te);  
	// uso  onKeyPress="return validnum(event)"
}
function disabletext(e){
return false
}

function reEnable(){
return true
}

//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext;
document.onclick=reEnable;
}
*/


// ================================


function get(id){
	return document.getElementById(id);
}
function ocultar(id){
	get(id).style.display = "none";
}
function mostrar(id){
	get(id).style.display = "";
}


// ================================


//<!--
	/* Para Bordes Grises de los Links Ppales en el Mouse Up */
	function mostrar_bordes(nombreCapa){
		document.getElementById(nombreCapa).style.visibility="visible";
	}
	function ocultar_bordes(nombreCapa){
		document.getElementById(nombreCapa).style.visibility="hidden";
	}
//-->

