function lookup(query) {
		if(query.length == 0) {
			// Hide the suggestion box.
			$('#suggestions').hide();
		} else {
			$.post("http://triplicecor.com.br/auto-complete.php", {queryString: ""+query+""}, function(data){
				if(data.length >0) {
					$('#suggestions').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}
	} // lookup
	
	function fill(thisValue) {
		$('#query').val(thisValue);
		setTimeout("$('#suggestions').hide();", 200);
	}
		
$(document).ready(function(){
						   
					   
						   
						   
	$('#query').val('O que voc\u00EA est\u00E1 procurando?').focus(function(){ $(this).css({color:'#036'}).val(''); }).blur(function(){ if($(this).val() == '') $(this).css({color:'#3cb7d0'}).val('O que voc\u00EA est\u00E1 procurando?'); });
	
	/****************BREADCRUMB************************/
	
	var fale = $("#faleMenu li.ativo").text();
	var _404 = $("title").text();
	$('#breadcrumb.fale ul li:last').text(fale);
	$('#breadcrumb.map ul li:last').text(_404);

	
	
	
        /*$('#menu ul > li').hover(function() {

          $('ul:first', this).fadeIn().parent().addClass('current_page_parent');
  
        },
  
        function() {
  
         $('ul:first', this).fadeOut('slow').parent().removeClass('current_page_parent');
  
        });
		

		$('#menu ul li li').hover(function() {
		
			$('ul:first', this).each(function() {
			  $(this).show();
			});
		
		  },
		
		 function() {
		
			$('ul:first', this).hide();
		
		  });*/
		
		/*$(".MegaMenuLink").megamenu(".MegaMenuContent", {
        width: "900px"
    });*/
		//$(".MegaMenuLink").megamenu(".MegaMenuContent");
		
		$('.btncontato').hover(
		 function(){
			 $(this).attr('src','img/BT_Contato2.jpg');
		},
		function(){
			 $(this).attr('src','img/BT_Contato.jpg');
		})
		
		

})