/** Diversas **/

function Botao(qual)
{
	var btn =document.getElementById(qual);
	btn.src = "images/botoes/"+qual+"2.gif";
}
function Abrir(id)
{
    if($("#"+id).css("display")=="none")
    {
        $("#"+id).css("display","");   
    }  
    else
    {
        $("#"+id).css("display","none");
    }
}
$(function() {
	if(navigator.appName.indexOf('Internet Explorer')>=0)//IE
	{
		/*var Hor=(screen.width*0.701);
	    var Ver=(screen.height*0.255);
	    $("#Gota").css({"left":Hor});
	    $("#Gota").css({"top":Ver});
	    CaiGota();*/
	    return false;
	}
	if(navigator.appVersion.indexOf('Chrome')>=0)//Chrome
	{
		$("#Meio").css("width","783px");
		$("#CantoDireito").css("width","170px");
		/*var Hor=(screen.width*0.704);
	    var Ver=(screen.height*0.245);
	    $("#Gota").css({"left":Hor});
	    $("#Gota").css({"top":Ver});
        CaiGota();*/
		return false;
    }
	if(navigator.appVersion.indexOf('Safari')>=0 && navigator.appVersion.indexOf('Chrome')<0)//Safari
	{
		$("#Meio").css("width","763px");
		$("#Fundo_Interno").css("width","190px");
		/*var Hor=(screen.width*0.729);
	    var Ver=(screen.height*0.275);
	    $("#Gota").css({"left":Hor});
	    $("#Gota").css({"top":Ver});
		CaiGota();*/
		return false;
    }
	if(navigator.oscpu !='undefined')//Firefox
	{
		$("#Menu td:eq(6)").css("padding","1px 13px 0px 5px");
		/*var Hor=(screen.width*0.702);
	    var Ver=(screen.height*0.245);
	    $("#Gota").css({"left":Hor});
	    $("#Gota").css({"top":Ver});
	    CaiGota();*/
	    return false;
	}
	/*function CaiGota()
	{
		$("#Gota").fadeTo("slow",1);
		$("#Gota").animate({"top":"+=160"},1000);
		$("#Gota").fadeTo("slow", 0,function(){$("#Gota").css({"top":Ver});CaiGota();});
	}
	CaiGota();*/
});