function bcInit() {
    $("ul.sf-menu").supersubs({ 
	minWidth:    12,   // minimum width of sub-menus in em units 
	maxWidth:    100,   // maximum width of sub-menus in em units 
	extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
	    	    	    // due to slight rounding differences and font-family 
    }).superfish({speed:0});  // call supersubs first, then superfish, so that subs are 

				    // not display:none when measuring. Call before initialising 
				    // containing tabs for same reason. 	

    $("#ugyfelkapuTabs").tabs().css({'display' : 'block'});

    $('.bc_news-single_date').corner("5px");
    $('.button').corner("5px");
    $('.expert').corner("5px");

//    $("#elemzesekUl").quickPager({pageSize:50,pagerLocation:"both"});
    
    $("a").each(function() {
      $(this).attr("hideFocus", "true").css("outline", "none");
    });
    
}

function bcStartPage() {
    
// last 2 arguments are needed for ie png transparency...    
//        fx:     'cover', 
    $('#startPromo').cycle({ 
        fx:     'fade', 
        speed:  500, 
        timeout: 8000,
        next:   '#startPromoNext', 
        prev:	'#startPromoPrev',        
        cleartype: true, 
        cleartypeNoBg: true 
    });

    $('#startNewsBoxes').cycle({ 
        fx:     'fade', 
        speed:  300, 
        timeout: 20000, 
        cleartype: true, 
        cleartypeNoBg: true,
        pager: '#startNewsHeader',
        pagerAnchorBuilder: function(idx, slide) {
            return '<a href="#" id="' + slide.id + 'Pager"><img src="/img2/' + slide.id + 'Pager.png" /></a>';
        }
    });


}
          
          
function checkemail(str){
    var filter=/^.+@.+\..{2,3}$/
    
    if (filter.test(str)) testresults=true
    else { testresults=false }
    return (testresults)
}
    	                              