//$(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700 }) });

//$(document).ready(function() {
//    $.featureList(
//				$("#tabs li a"),
//				$("#output li"), {
//				    start_item: 1
//				}
//			);
//});
$(document).ready(function() {
    $('.submenu').hide();
    $('.menuPrincipal').click(function() {
        $('.submenu').slideUp('fast');
        $(this).children('.submenu').not(':visible').slideDown('fast');
    });
});
function formBlur(o) {
    if (o.value == '')
        o.value = o.title;
}
function formFocus(o) {
    if (o.value == o.title)
        o.value = '';
}
$(document).ready(function() {
    $('.idiomas a').click(function() {
        $('.idiomas a').removeClass('idiomaAtivo');
        $(this).addClass('idiomaAtivo');
    });
});

$(function() {
    $(".water").focus(function() {
        $tb = $(this);
        if ($tb.val() == this.title) {
            $tb.val("");
            $tb.removeClass("water");
        }
    });
    $(".water").blur(function() {
        $tb = $(this);
        if ($.trim($tb.val()) == "") {
            $tb.val(this.title);
            $tb.addClass("water");
        }
    });
    $(".water").each(function() {
        $tb = $(this);
        if ($tb.val() != this.title) {
            $tb.removeClass("water");
        }
    });

});
