document.write('<style type="text/css">');
document.write('a.iB_estilo {font-family: arial, verdana, sans-serif, helvetica; font-size: 14pt;text-decoration: none; border-bottom: 1px dashed; color : #053598;}');
document.write('a.iB_estilo:hover {font-family: arial, verdana, sans-serif, helvetica; font-size: 14pt;text-decoration: none;background-color : #053598;color : #FFFFFF;}');
document.write('a.iB_estilo2 {font-family: arial, verdana, sans-serif, helvetica; font-size: 12pt;text-decoration: none;}');
document.write('a.iB_estilo2:hover {font-family: arial, verdana, sans-serif, helvetica; font-size: 12pt;text-decoration: none;border-bottom: 1px dashed;color : #053598;}');
document.write('</style>');

function iBUSCAS_helpIN(C,evt) {
if(navigator.appName == 'Netscape'){ x =(evt.clientX); y=(evt.clientY);}
    else { x = (evt.x); y = (evt.y);}
    var obj = document.getElementById(C);
        obj.style.display='inline';
        obj.style.top = y+0+document.body.scrollTop;
	    obj.style.left = x+20+document.body.scrollLeft;
}

function iBUSCAS_helpOUT(C,evt) {
    var obj = document.getElementById(C);
	if(obj != undefined) obj.style.display='none';
}

document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');

document.write('<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table1">');
document.write('	<tr>');
document.write('		<td align="center">');
document.write('		<p>');
document.write('		<a href="http://www.ibuscas.com.br">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/iBUSCAS_gestor_de_projetos_e_conteudo_digital_logo_250px.gif"></a></td>');
document.write('		<td valign="top" align="center">');
document.write('		<span style="FONT-SIZE: 8pt; font-family: Verdana, Arial">');
document.write('<form METHOD="POST" style="margin-bottom: 0;" name="iB_find" id="iB_find" action="http://www.ibuscas.com.br/cgi-bin/find/find.cgi" onSubmit="return verifyform(this);">');
document.write('<input type="hidden" name="find_cfg" value="ibuscas">');
document.write('<p align="center">');
document.write('<img src="http://www.ibuscas.com.br/site/find/icone_busca.gif" border=0>');
document.write('palavra:');
document.write('<input style="BORDER-RIGHT: #747474 1px solid; BORDER-TOP: #747474 1px solid; BORDER-LEFT: #747474 1px solid; BORDER-BOTTOM: #747474 1px solid" name=iB_query size="30">');
document.write('&nbsp;&nbsp;<img src="http://www.ibuscas.com.br/site/find/relevancia.gif" border=0>&nbsp;ordem:');
document.write('<select size="1" name="iB_sort">');
document.write('<option selected value="1">Relevância maior</option>');
document.write('<option  value="2">Relevância menor</option>');
document.write('<option  value="3">Data mais recente</option>');
document.write('<option  value="4">Data mais antiga</option>');
document.write('</select>');
document.write('<BR>');
document.write('<img src="http://www.ibuscas.com.br/site/find/filtro.gif" border=0>&nbsp;onde:');
document.write('<input type="checkbox" name="iB_opt" value="site" checked> site');
document.write('<input type="checkbox" name="iB_opt" value="0_1_2" checked> blog & comentários');
document.write('&nbsp;&nbsp;&nbsp;<input type=image src="http://www.ibuscas.com.br/site/imgs/botao_ok_.gif" align=absBottom border=0 name=botao_busca>');
document.write('<br>');
document.write('<br>');
document.write('		<font face="Arial" size="4" color="#333333">|&nbsp;');
document.write('		<a class="iB_estilo" href="http://ibuscas.com.br/site/empresa.html">Sobre</a>&nbsp; |&nbsp;');
document.write('		<a class="iB_estilo" href="http://ibuscas.com.br/blog">Blog</a>&nbsp; |&nbsp;');
document.write('		<a class="iB_estilo" href="http://ibuscas.com.br/site/imprensa.html">Na mídia</a>&nbsp; |&nbsp;');
document.write('		<a class="iB_estilo" href="http://ibuscas.com.br/site/projetos_do_ibuscas.html">');
document.write('		Projetos</a>&nbsp; |&nbsp;');
document.write('		<a class="iB_estilo" href="http://ibuscas.com.br/site/receba_ibuscas_updates.html">Updates</a>&nbsp; ');
document.write('		|&nbsp; <a class="iB_estilo" href="http://ibuscas.com.br/site/fale_conosco.html">Contato</a>&nbsp;|<br>&nbsp;</font></p>');
document.write('</form>');
document.write('</span>');
document.write('</td>');
document.write('	</tr>');
document.write('	<tr>');
document.write('		<td colspan="2">');
document.write('		<p align="center">');
document.write('		<a class="iB_estilo2" target="_blank" href="http://www.votoeletronico.com" onMouseOver="iBUSCAS_helpIN(\'votoeletronico\', event)" onMouseOut="iBUSCAS_helpOUT(\'votoeletronico\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/voto_eletronico_eleicao_eletronica_via_internet_24px.gif" width="62" height="24"></a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a class="iB_estilo2" target="_blank" href="http://www.postsocial.com.br" onMouseOver="iBUSCAS_helpIN(\'postsocial\', event)" onMouseOut="iBUSCAS_helpOUT(\'postsocial\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/post_social_recomendacao_de_conteudo_para_midias_digitais_24px.gif"></a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a class="iB_estilo2" target="_blank" href="http://www.buscas.com" onMouseOver="iBUSCAS_helpIN(\'buscas_com\', event)" onMouseOut="iBUSCAS_helpOUT(\'buscas_com\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/buscas_com_buscador_colaborativo_125px.gif"></a>&nbsp;&nbsp;&nbsp;&nbsp;');

document.write('		<a class="iB_estilo2" target="_blank" href="http://www.sertaozinho.com" onMouseOver="iBUSCAS_helpIN(\'sertaozinho\', event)" onMouseOut="iBUSCAS_helpOUT(\'sertaozinho\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/sertaozinho_com_a_cidade_de_sertaozinho_na_internet_30px.gif"></a>&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a class="iB_estilo2" target="_blank" href="http://www.internetday.com.br" onMouseOver="iBUSCAS_helpIN(\'internetday\', event)" onMouseOut="iBUSCAS_helpOUT(\'internetday\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/internet_day_um_dia_todo_para_falar_de_internet_24px.gif"></a>&nbsp;&nbsp;&nbsp;&nbsp;');
	
document.write('		<a class="iB_estilo2" target="_blank" href="http://www.apostilas.com" onMouseOver="iBUSCAS_helpIN(\'apostilas\', event)" onMouseOut="iBUSCAS_helpOUT(\'apostilas\',event)">');
document.write('		<img border="0" src="http://www.ibuscas.com.br/site/logos/apostilas_com_conteudo_colaborativo_para_disseminar_conhecimento_20px.gif"></a>&nbsp;&nbsp;&nbsp;&nbsp;');

document.write('		<a href="http://ibuscas.com.br/site/projetos_do_ibuscas.html">');

document.write('		<img border="0" src="http://www.ibuscas.com.br/site/imgs/mais_projetos.gif" width="56" height="18"></a></td>');
document.write('	</tr>');
document.write('	<tr>');
document.write('		<td colspan="2">');
document.write('		<font size="1"><hr></font></td>');
document.write('	</tr>');
document.write('</table>');

function verifyform(theform) {
var consvar='Para usar o serviço de busca de forma válida, selecione:\n';
var naosel='Se não selecionar no mínimo 1 (uma) opção,\na busca não é habilitada.';
var msg1 = '';
if ( checkboxfinal(document.forms.iB_find.iB_opt, 1) == false ) {
	msg1 = '* até 2 (duas) opçõs de busca.\n';
}
if (msg1 != "") {
	alert(consvar+msg1+naosel);
	return false;
	}

if (document.forms.iB_find.iB_query.value == "") {
	alert("Preencha o campo de busca com pelo menos uma palavra!");
	return false;
	}

return true;
}

function checkboxfinal(checkgroup, limit){
	var checkgroup=checkgroup
	var limit=limit
	var checkedcount=0
	for (var i=0; i<checkgroup.length; i++){
		if (checkgroup[i].checked) {
			checkedcount=checkedcount+1;
		}
	}
	if (checkedcount<limit){
		return false;
	}
}

function checkboxlimit(checkgroup, limit, txt_opcoes){
	var checkgroup=checkgroup
	var limit=limit
	for (var i=0; i<checkgroup.length; i++){
		checkgroup[i].onclick=function(){
		var checkedcount=0
		for (var i=0; i<checkgroup.length; i++)
			checkedcount+=(checkgroup[i].checked)? 1 : 0
		if (checkedcount>limit){
			alert("Por favor, selecione o máximo de "+limit+" "+txt_opcoes)
			this.checked=false
			}
		}
	}
}

checkboxlimit(document.forms.iB_find.iB_opt, 2, '(duas)\nopções de busca simultânea.')

document.write('<style type="text/css">');
document.write('#buscas_com {overflow: auto;position: absolute;display: none;}');
document.write('#votoeletronico {overflow: auto;position: absolute;display: none;}');
document.write('#postsocial {overflow: auto;position: absolute;display: none;}');
document.write('#apostilas {overflow: auto;position: absolute;display: none;}');
document.write('#sertaozinho {overflow: auto;position: absolute;display: none;}');
document.write('#internetday {overflow: auto;position: absolute;display: none;}');
document.write('</style>');

document.write('<div id="buscas_com">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>::buscas.com (www.buscas.com) | O primeiro buscador social-colaborativo do mundo ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');

document.write('<div id="votoeletronico">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>Voto Eletrônico (www.votoeletronico.com) |  Gestão de Eleição Eletrônica (votação + apuração), via Internet ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');

document.write('<div id="postsocial">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>Post Social (www.postsocial.com.br) |  Publique seu conteúdo de forma prática em sites de mídias sociais de língua portuguesa (Brasil, Portugal e mundo) ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');

document.write('<div id="apostilas">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>@postila´s (www.apostilas.com) | Repositório de arquivos e documentos produzidos pelos usuários de forma colaborativa com intuito de disseminação de conhecimento ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');

document.write('<div id="sertaozinho">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>Sertaozinho.com (www.sertaozinho.com) |  Tudo sobre a cidade de Sertãozinho/SP na Internet. Buscador, empresas, mapa, eventos ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');

document.write('<div id="internetday">');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_t_200.gif" border=0><table background=http://www.ibuscas.com.br/site/imgs/ib_help_m_200.gif width=200 border=0 cellspacing=0 cellpadding=4><tr><td align="left">');
document.write('  <font face=Arial size=1>InternetDay (www.internetday.com.br) |  Um dia todo para falar de Internet. Evento para promover a cultura digital com inclusão social ...</font>');
document.write('  </td></tr></table>');
document.write('  <img src="http://www.ibuscas.com.br/site/imgs/ib_help_b_200.gif" border=0>');
document.write('</div>');
