/*function checkBusca(txtVar){
	if(txtVar!=='' || txtVar!=='Digite o que procura aqui'){
		ajaxpage('searchRelevance.php?search=' + txtVar , 'busca_resultado');
		MM_effectAppearFade('busca_resultado', 300, 0, 100, false);
	}else{
		MM_effectAppearFade('busca_resultado', 300, 100, 0, false);
	}

}*/

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}
//-->
//window.onload = function() {
  //applyDefaultValue(document.getElementById('txtBusca'), 'Dsigite o que procura aqui');
  //ajaxpage('searchRelevance.php?search=' + txtVar , 'busca_resultado');
  //MM_effectAppearFade('busca_resultado', 300, 0, 100, true);
//}
