//Global : pagina='';
 jQuery.fn.Mostra_Oculta = function(tag) {
//    $("#Indique").Click(function() {
        $("#Form_indique").hide();
    return (flag);
}
/*
 jQuery.fn.menu_Slide = function(tag) {
            //alert(tag);
            var resposta = $('#'+tag).next();
            //alert(resposta.attr('id'));
            if (resposta.is(':visible')) {
                resposta.slideUp();
            } else {
                resposta.slideDown();
            }
    return (tag);
}
*/
jQuery.fn.calcula_centro_tela = function(w, obj) {
    var lado = (screen.width) / 2;
    lado = 512; //lado + 208;
    //alert(screen.width);
    $('#' + obj).css({ position: "relative", width: "1024px", height: "100%", color: "#993300", fontWeight: "bold", left: "50%", textalign: "left" });
    $('#' + obj).css("margin-left", "-" + lado + "px");
    $('#' + obj).css("float", "left");
    //alert(lado);
    //alert(screen.width);
    //document.getElementById('lateral_Esquerda').style.width = lado - 10;
    //document.getElementById('lateral_Direita').style.width = lado + 12;


}

$(document).ready(function() {
/*
         $('#Menu_Vertical').find('.item').hide();
         $('#Menu_Vertical').find('.item').find('.top').css("margin-left","20px");
         $('#Menu_Vertical').find('.item').find('.item').css("margin-left","20px");
         
         //alert($('#Menu_Vertical').find('.item').find('.top').attr('id'))
         $('#Menu_Vertical').find('.top').click(function() {
            $(this).menu_Slide($(this).attr('id'));
          });

*/
    //$(this).calcula_centro_tela(1024,'Home');
    $('#Indique').click(function() {
        $('#Form_indique').toggle(450);
    });

    //$('#Form_indique').hide();
    
});

