$("#buttonLogar").click(function(){
	$("#boxLogin").show("slow");
});



$(function () {
    // find the div.fade elements and hook the hover event
    $('div.imgSolucaotop').hover(function() {
        // on hovering over find the element we want to fade *up*
        var fade = $('> div', this);

        // if the element is currently being animated (to fadeOut)...
        if (fade.is(':animated')) {
            // ...stop the current animation, and fade it to 1 from current position
            fade.stop().fadeTo(300, 1);
        } else {
            fade.fadeIn(300);
        }
    }, function () {
        var fade = $('> div', this);
        if (fade.is(':animated')) {
            fade.stop().fadeTo(300, 0);
        } else {
            fade.fadeOut(300);
        }
    });
});

$(function () {
    // find the div.fade elements and hook the hover event
    $('div.imgSolucaoCarac').hover(function() {
        // on hovering over find the element we want to fade *up*
        var fade = $('> div', this);

        // if the element is currently being animated (to fadeOut)...
        if (fade.is(':animated')) {
            // ...stop the current animation, and fade it to 1 from current position
            fade.stop().fadeTo(300, 1);
        } else {
            fade.fadeIn(300);
        }
    }, function () {
        var fade = $('> div', this);
        if (fade.is(':animated')) {
            fade.stop().fadeTo(300, 0);
        } else {
            fade.fadeOut(300);
        }
    });
});


$(function () {
    // find the div.fade elements and hook the hover event
    $('div.imgSolucaoLeft').hover(function() {
        // on hovering over find the element we want to fade *up*
        var fade = $('> div', this);

        // if the element is currently being animated (to fadeOut)...
        if (fade.is(':animated')) {
            // ...stop the current animation, and fade it to 1 from current position
            fade.stop().fadeTo(300, 1);
        } else {
            fade.fadeIn(300);
        }
    }, function () {
        var fade = $('> div', this);
        if (fade.is(':animated')) {
            fade.stop().fadeTo(300, 0);
        } else {
            fade.fadeOut(300);
        }
    });
});


$(function () {
    // find the div.fade elements and hook the hover event
    $('div.imgSolucaoRight').hover(function() {
        // on hovering over find the element we want to fade *up*
        var fade = $('> div', this);

        // if the element is currently being animated (to fadeOut)...
        if (fade.is(':animated')) {
            // ...stop the current animation, and fade it to 1 from current position
            fade.stop().fadeTo(300, 1);
        } else {
            fade.fadeIn(300);
        }
    }, function () {
        var fade = $('> div', this);
        if (fade.is(':animated')) {
            fade.stop().fadeTo(300, 0);
        } else {
            fade.fadeOut(300);
        }
    });
});

function sendEmail()
{
	document.sendEmail.submit();
}

function abreConteudo(element)
{
	if( $("#"+element).css("display") == "none") 
	{
		$("#"+element).show('slow');
	}
	else
	{
		$("#"+element).hide('slow');
	}
}



