function init()
{
    BustFrames();
    RemoveLinkBox();
    RemoveAltTooltips();
    StyleTopLink();
}

function BustFrames()
{
    if (window != top)
    {
        top.location.href = location.href;
    }
}

function RemoveLinkBox()
{
    if (!document.links) return;
    for (i = 0; i < document.links.length; i++)
    {
        document.links[i].onfocus = function ()
        {
            if (this.blur) this.blur();
        }
    }
}

function RemoveAltTooltips()
{
    if (document.images && navigator.userAgent.indexOf('MSIE') != -1)
    {
        var i, imgs = document.images;
        for (i = 0; i < imgs.length; i++)
        {
            if (imgs[i].getAttribute('alt') != '' && imgs[i].getAttribute('title') == '')
            {
                imgs[i].setAttribute('title','');
            }
        }
    }
}

function StyleTopLink()
{
    var l, lnx = document.links;
    for (var l = 0; l < lnx.length; l++)
    {
        if (lnx[l].getAttribute('href').indexOf('#top') != -1)
        {
            lnx[l].style.paddingLeft = '20px';
            lnx[l].style.background = 'url(../images/buttons_16x16.jpg) left no-repeat';
        }
    }
}

