
$(document).ready ( function () 
{
    $.ajax({
      url: "http://twitter.com/statuses/user_timeline/sigabdw.json?count=1",
      dataType: 'jsonp',
      success: function(content){
        $('.twitter_msg').html(content[0].text);
      }
    });
});
function map()
{
    chage_day("#mapa", false);
    if($("#mapa").attr("class") == "opened"){
        $('#content').css({'min-height':'1203px'});
    }else{
        $('#content').css({'min-height':'1003px'});
    }
}
function chage_day(target, go_top){
    if($(target).attr("class") == "opened")
    {
        $(target).attr("class", "closed");
    }
    else
    {
        $(target).attr("class", "opened");
    }
    if(go_top){
        var targetOffset = $(target).offset().top;
        $('html,body').animate({scrollTop: targetOffset}, 300); 
    }
}


