jQuery(document).ready(function(){
	if(jQuery("#home_slider").length > 0 ){
		jQuery("#home_slider").easySlider({
			auto: true,
			numeric: true,
			numericId: 'controls',
			continuous: true,
			speed:1000,
			pause:5000
		});
	}
	Cufon.replace('.news_title span'); // Requires a selector engine for IE 6-7, see above
	Cufon.replace('.contacto span '); // Requires a selector engine for IE 6-7, see above
	Cufon.replace('.newsletter span '); // Requires a selector engine for IE 6-7, see above
	Cufon.now();


});

/**
 * hace algo con el submenu
 */
function submenu_show(id_submenu)
{
	if( jQuery('#'+id_submenu).length > 0 ){
		jQuery('#subnav_active_content').html( jQuery('#'+id_submenu).html() );
		jQuery('#subnav_active').css('visibility', '');
		jQuery('#subnav_active_content').attr('class', 'bg_subnav');
	}
}

//slideToggle() jquery

function submenu_hide()
{
	/*if ($('subnav_active_content') && $('subnav_active')) {
		$('subnav_active').style.visibility = '';
		$('subnav_active').className = '';
		Effect.Fade('subnav_active_content', { duration: 0.1 });
	}*/
}
