function AddFavourites() {
    title="Biztosítók.hu";
    url="http://www.biztositok.hu";
    if (window.sidebar) { // Mozilla Firefox Bookmark
        window.sidebar.addPanel(title, url,"");
    } else if( window.external ) { // IE Favorite
        window.external.AddFavorite( url, title); }
}

function showwnd(url,width,height) {
        return window.open(url,'',"width="+width+",height="+height+",left="+((screen.width-width)/2)+",top="+((screen.height-height)/2)+",scrollbars");
}














function StartOnLoad(funct) {
    //setup onload function
    if(typeof window.addEventListener != 'undefined')
    {
        //.. gecko, safari, konqueror and standard
        window.addEventListener('load', funct, false);
    }
    else if(typeof document.addEventListener != 'undefined')
    {
        //.. opera 
        document.addEventListener('load', funct, false);
    }
    else if(typeof window.attachEvent != 'undefined')
    {
        //.. win/ie
        window.attachEvent('onload', funct);
    }
    
    //** remove this condition to degrade older browsers
    else
    {
        //.. mac/ie5 and anything else that gets this far
        
        //if there's an existing onload function
        if(typeof window.onload == 'function')
        {
            //store it
            var existing = onload;
            
            //add new onload handler
            window.onload = function()
            {
                //call existing onload function
                existing();
                
                //call generic onload function
                funct();
            };
        }
        else
        {
            //setup onload function
            window.onload = funct;
        }
    }
}