// <![CDATA[
	$(document).ready(
		function() {
			// menu top
			var delay_menu = 300;
			$('a.item').hover(
				function() {
					var hijole = $(this).parent().find('ul');
					if(hijole.is(':animated')) {
						return false;
					}
					hijole.slideDown(delay_menu);
				}
			);
			$('ul.menu-top li.li-item').hover(
				null,
				function() {
					if($(this).hasClass('activo')) {
						return false;
					}
					$(this).find('ul').slideUp(delay_menu);
				}
			);
			/* estilos para los selects */
			/* ni vale la pena hacer esto en IE 6 */
			if (!($.browser.msie && $.browser.version == "6.0")) {
				$('.select-estilo').css('filter', 'alpha(opacity=0)');
				$('.select-estilo').css('opacity', '0');
				$('.select-estilo').change(function() {
					var opcion = $(this).children(":selected").text();
					var value = $(this).children(":selected").val();
					//alert("changed to: " + $(this).children(":selected").val());
					window.location.href = "/index.php?id=" + value;
					$(this).parent().children('.span-estilo').text(opcion);
				});
				/* que ponga automáticamente el texto del que este seleccionado */
				$('.span-estilo').each(
					function() {$(this).text($(this).parent().children('.select-estilo').children(':selected').text())}
				);
			}
		}
	);
// ]]>