function getE(id) { return document.getElementById(id); }

function archive_showhide(id,icon)
{
    getE(id).style.display  = (getE(id).style.display == 'none') ? '' : 'none';
    icon.className          = (getE(id).style.display == 'none') ? 'bicon_expand' : 'bicon_collapse';
}
function showhide(id)
{
    getE(id).style.display = (getE(id).style.display == 'none') ? '' : 'none';
}

function iresize()
{
    if( parent.document.getElementById('iweblog') ) 
    {
       parent.document.getElementById('iweblog').style.height = document.getElementById('bmain').offsetHeight + 120;
       parent.document.getElementById('iweblog').parentNode.style.paddingRight = 0;
    }
}

