// JavaScript Document
function estiloOn(which, estilo){
	//alert ("DSDSDSD");
	if (document.all||document.getElementById){
		which.className= estilo;
	}
}

function abrirFicha(idficha){
	 if (jQuery("#"+idficha).is(":hidden")) {
		jQuery("#"+idficha).show("fast")
   		jQuery("#"+idficha).animate({ 
        opacity: 1,
        borderWidth: "10px"
      }, "slow" );
	} else {
		jQuery("#"+idficha).hide("fast")
   		jQuery("#"+idficha).animate({ 
        opacity: 0,
        borderWidth: "10px"
      }, "slow" );
	}
}

function abrirProfe(idprofe){
		jQuery(".fichaProfe").hide("fast")
		jQuery("#"+idprofe).show("fast")
   		jQuery("#"+idprofe).animate({ 
        opacity: 1
      }, "slow" );
}
function cerrarFicha(idprofe){
	jQuery("#"+idprofe).hide("fast")
}

jQuery(document).ready(function() {
	jQuery("#galeria img").mouseover(function () {
		  jQuery(this).css("border-color", "#cccccc");
		});
	jQuery("#galeria img").mouseout(function () {
		  jQuery(this).css("border-color", "#525252");
		});
});

function estiloTR(which, estilo){
	//alert (estilo);
	if (document.all||document.getElementById){
		which.className= estilo;
	}
}



