// JavaScript Document

function carregaNoticias(codCategoria)
{
	var noticias = $$('div#feeds ul');

	for (var i = 0; i < noticias.length; i++)
	{
		noticias[i].className = "noticia_hidden";	
		if (noticias[i].id == "noticia_" + codCategoria)
			noticias[i].className = "noticia_visible";
	}
}

function submit_login(e)
{
    if (typeof e != 'undefined' && !enter_key_trap(e)) {
        return;
    }

    if (document.imp_login.imapuser.value == "") {
        alert('Por favor, informe seu usuario!');
        document.imp_login.imapuser.focus();
        return false;
    } else if (document.imp_login.pass.value == "") {
        alert('Por favor, informe sua senha!');
        document.imp_login.pass.focus();
        return false;
    } else {
        document.imp_login.loginButton.disabled = true;
        document.imp_login.submit();
        return true;
    }
}

function setHomePageLink(linkBtn)
{
	linkBtn.style.behavior='url(#default#homepage)';
	linkBtn.setHomePage('http://www.google.com');
}

<!-- ADDTHIS BUTTON BEGIN -->
addthis_pub             = 'fxinformatica'; 
addthis_logo            = 'http://servidor/fxinformatica.com.br/others/images/site/logo_fx_small_externa.png';
addthis_logo_background = 'EFEFFF';
addthis_logo_color      = '666699';
addthis_brand           = 'FX Inform&aacute;tica';
addthis_options         = 'favorites, google, myspace, live, delicious, more';

addthis_url             = 'http://www.fxinformatica.com.br';
addthis_title           = "FX Informatica - Desenvolvimento para Web";
<!-- ADDTHIS BUTTON END -->
                                  