	
function AbrirCentrado(Url,NombreVentana,width,height,extras) {
	var largo = width;
	var altura = height;
	var adicionales= extras;
	var top = (screen.height-altura)/2;
	var izquierda = (screen.width - largo) / 2;
	nuevaVentana=window.open(''+ Url + '',''+ NombreVentana + '','width=' + largo + ',height=' + altura + ',top=' + top + ',left=' + izquierda + ',features=' + adicionales + '');
}



/*

Main Javascript for jQuery Realistic Hover Effect
Created by Adrian Pelletier
http://www.adrianpelletier.com

*/

/* =Realistic Navigation
============================================================================== */

jQuery.noConflict();
     
// Put all your code in your document ready area
jQuery(document).ready(function($){
	
		
// Append shadow image to each LI

	$("#nav-shadow li").append('<img class="shadow" src="/images/sombra.jpg" width="168" height="55" alt="" />');

	// Animate buttons, shrink and fade shadow

	$("#nav-shadow li").hover(function() {
		var e = this;
		$(e).find("a").stop().animate({ marginTop: "-14px" }, 250, function() {
			$(e).find("a").animate({ marginTop: "-10px" }, 250);
		});
		$(e).find("img.shadow").stop().animate({ width: "80%", height: "44px", marginLeft: "17px", opacity: 0.25 }, 250);
	},function(){
		var e = this;
		$(e).find("a").stop().animate({ marginTop: "4px" }, 250, function() {
			$(e).find("a").animate({ marginTop: "0px" }, 250);
		});
		$(e).find("img.shadow").stop().animate({ width: "100%", height: "55px", marginLeft: "0", opacity: 1 }, 250);
	});
						
});

