function changePortalText(type, title, text)
{
    $("#portaaltext").css("display", "block");
    $("#portaaltext").removeClass().addClass("portal" + type);
    $("#portaaltext").html('<b>[' + title + ']</b>' + unescape(text));
    
    //$(".portal" + type).wifixpng().wiunfixpng().wifixpng();
}

function hidePortal()
{
    $("#portaaltext").css("display", "none");
}
