jQuery(document).ready(function(){
	
	jQuery('.submenu').hide();
	
	//sempre que o mouse deixar o submenu o mesmo desaparece
	jQuery('.submenu').mouseleave(function(){
		jQuery('.submenu').hide();
	});
	
	jQuery('.submenu_item').mouseleave(function(){
		jQuery('.submenu_nivel2').hide();
	});
	
	jQuery('.menu_botao').hover(function(){
		jQuery(this).css({'color':'#627E03'})
	;},function(){
		jQuery(this).removeAttr('style');});jQuery('#menu_botao2,').mouseover(function(){ jQuery('#submenu_botao2').show();
	});
	
	jQuery('#submenu_botao2_divisorias, #submenu_botao2_nivel2_divisorias').mouseover(function(){
		jQuery('#submenu_botao2_nivel2_divisorias, #submenu_botao2').show();
	});	
	
	jQuery('#submenu_botao2_forro, #submenu_botao2_nivel2_forro').mouseover(function(){
		jQuery('#submenu_botao2_nivel2_forro, #submenu_botao2').show();
	});	
		
	jQuery('.submenu_item').hover(function(){
		jQuery(this).css({'color':'#627E03'});
	},function(){
		jQuery(this).removeAttr('style');
	});
	
	/*
	jQuery('#orcamento_produto_nome').hide();
	jQuery('#orcamento_produto_tipo').click(function(){
		jQuery('#orcamento_produto_nome').show();
	});
	*/
	
});

/*
 position:absolute;
 top:430px;
 left:40px;	
 width:900px;
 height:200px;
 padding-right:5px;
 float:right;
 background-color:#000;

jQuery(document).ready(function(){
	
	jQuery('#erro_nome').show();
	jQuery('#ok_nome').hide();
	
	jQuery('#vnome').slideUp('slow');
	
	jQuery('#mnome').click(function(){
		  jQuery('#vnome').slideDown('slow'); //fecha
	});
	
	jQuery('#onome').click(function(){
		  jQuery('#vnome').slideUp('slow'); //fecha
	});
	
	jQuery('#afh1').click(function(){
		  jQuery('#subt').height('50px'); //muda altura do elemento
	});
	
	jQuery('#font').click(function(){
		  jQuery('#subt').css({'font-size':'50px'}); //tamanho da fonte
	});
	
	jQuery('#font').click(function(){
		  jQuery('#subt').css({'font-size':'50px','color':'red'}); //cor da fonte
	});
	
	jQuery('#font').click(function(){
		  jQuery('#subt').css({'margin-left':'500px'}); //cor da fonte
	});
		
	jQuery('#divnome').focusout(function(){//verifica campo preenchido
		var nome = $("input[type=text][name=nome]").val();//valor do input
		
		if(nome == ""){//verifica de foi preenchido
			jQuery('#erro_nome').show();
			jQuery('#ok_nome').hide();
		}else{
			jQuery('#erro_nome').hide();
			jQuery('#ok_nome').show();
		}
		
		var caracteres = nome;//verifica quantodade de caracteres
		for(i=0; i< caracteres.length; i++){}
		if(i < 5){
	           alert("O Campo nome deve cobter mais que 5 caracteres");
	           jQuery('#erro_nome').show();
			   jQuery('#ok_nome').hide();	           
	        } 
		
	});
	
});

-EVENTOS

--Mouse eventos
.click() Bind an event handler to the "click" JavaScript event, or trigger that event on an element.
.dblclick() Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element.
.focusin() Bind an event handler to the "focusin" JavaScript event.
.focusout() Bind an event handler to the "focusout" JavaScript event.
.hover() Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
.mousedown() Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element.
.mouseenter() Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element.
.mouseleave() Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element.
.mousemove() Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element.
.mouseout() Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element.
.mouseover() Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element.
.mouseup() Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element.
.toggle() Bind two or more handlers to the matched elements, to be executed on alternate clicks.

--Navegador eventos
.error() Bind an event handler to the "error" JavaScript event.
.resize() Bind an event handler to the "resize" JavaScript event, or trigger that event on an element.
.scroll() Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element.

-CONFLITO
<script type="text/javascript">
	$.noConflict();  		// Code that uses other library's $ can follow here.
</script>

-QUANDO APONTADO SPAN A FONTE MUDA O TAMANHO
jQuery(document).ready(function(){
	
	jQuery('.menuItens').show();
	
	jQuery('.menuItens').mouseover( function(){
		jQuery(this).css({'font-size':'20px'});
		//alert('ooooooooooo');		
	});
	
	jQuery('.menuItens').mouseout( function(){
		jQuery(this).css({'font-size':'12px'});
		//alert('ooooooooooo');		
	});
	
});

//resetar alterações no estilo
jQuery(this).removeAttr('style');

//Capturar atributos do elemento
alert(jQuery('#menu_inferior > DIV').eq(0).height());
$("#parentDiv > DIV").eq(0).height();

jQuery('.menu_botao, ').hover(function(){
	jQuery(this).css({'color':'#627E03'});
},function(){
	jQuery(this).removeAttr('style');
});
*/

