
	function AbreW(divcontent,titulo) {
		bw=jQuery('body').width();bh=jQuery('body').height();
		wh=jQuery(window).height();sct=jQuery(window).scrollTop();
		jw=jQuery('#window');
		W_Sombra();

		jQuery('#window .barra_titulo').html(titulo);
		jQuery("#window .w_content div[id^='w_']").hide();
		jQuery(divcontent).show();

		jw.css("top",sct+(wh-jw.height())/2).css("left",(bw-jw.width())/2).delay(500).show(300);
	}
	function CierraW() {
		jQuery('#window').hide(300);
		jQuery('#sombra').delay(300).fadeOut(300);
	}

	function W_Sombra() {
		bw=jQuery('body').width();bh=jQuery('body').height();

		jQuery('#sombra').css("height",bh).css("width",bw).css('filter', 'alpha(opacity=70)').fadeIn(500);
	}

