function main ()
{
        var menu = document.getElementById('menu');
        var news = document.getElementById('blockBox');
        var content = document.getElementById('content');
        var body = document.body;
        
        news.style.top = (menu.clientHeight + 324) + 'px';

        /*if (content.clientHeight < (news.clientHeight + menu.clientHeight))
        { //not work in IE7(((
                content.style.height = (menu.clientHeight + news.clientHeight) + 'px';
        }
        else
        {
                content.style.height = (content.clientHeight) + 'px';
        } */
        
        content.style.height = body.height;
        
        var anchors = document.getElementsByTagName("a");
        
        for (var i=0; i < anchors.length; i++) 
        {
                var anchor = anchors[i];
                if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
                {
                        anchor.target = "_blank";
                }
        }
}