
$(document).ready(
   function()
   {
		/* external link */		
		$("a[@rel='blank']").click(function(){
			window.open($(this).attr('href'));
			return false;
		});
		
		$(".banner_top").click(function(){
			$(this).css("cursor","pointer");
			window.open($(this).find('a').attr('href'));
			return false;
		});
		
		$(".menu ul li:last").css("background","none");

		$(".zona li").click(function(){
			$(".zona li").removeClass("selected");
			$(this).addClass("selected");
		});

		$(".select li:first").show();	
		$(".select .fl").click(function(){
			$(".select li").show();	
		});

		$(".select li a").click(function(){
			$(".select li").hide();	
			$(this).parent().show();	
		});

		$("#comentar").click(function(){
			$(".form2").fadeIn("slow");
		});
		$(".form2 .button").click(function(){
			$(".form2").fadeOut("slow");
		});

		$(".recomendado .top div img:first").css("margin", "0 0 0 15px");

	  /*
		$(".diaria .foot td").hover(
			function(){		
				$(this).find("span").css("background", "#B31314");
			},
			function(){					
				$(this).find("span").css("background", "#EE1F23");
			}
		);
		
		$(".navigation ul li").hover(
			function(){		
				$(this).children("ol").show();
			},
			function(){					
				$(this).children("ol").hide();
			}
		);

		
		if($.browser.msie) { $( 
			function() { 				

				$(".navigation ul li").hover(
					function(){		
						if ( $(this).attr("id") == "last" ) {
						
							if ( $(this).attr("class") != "selected" ) {
								$(this).children("a").css({backgroundPosition: '100% 100%'});
							}

						} else {
							
							if ( $(this).attr("class") != "selected" ) {
								$(this).children("a").css({backgroundPosition: '0 100%'});
							}
						
						}
					},
					function(){					
						if ( $(this).attr("id") == "last" ) {
						
							if ( $(this).attr("class") != "selected" ) {
								$(this).children("a").css({backgroundPosition: '100% 0'});
							}

						} else {
							
							if ( $(this).attr("class") != "selected" ) {
								$(this).children("a").css({backgroundPosition: '0 0'});
							}
						
						}
					}
				);
			} 
		); }

	
		$(".noticias dd").hide();		
		$("dt:first a").addClass("selected");	
		/*$("dt a").click(function(){
				$(this).toggleClass("selected");		
				$(this).parent().next().slideToggle("slow");
				return false;
						
		});

		$("dt a").click(function(){
			$("dd:visible").slideUp("slow");
			$(this).parent().next().slideDown("slow");
			return false;
		});*/
			  


   });
