fbLoaded = false; 

window.fbAsyncInit = function() { 
                                          
        FB.init(
				{
				appId: '158644227529089', 
				status: true, 
				cookie: true,
				xfbml: true}); 

}; 

function fbLoad() { 
        if (!fbLoaded){ 
                var e = document.createElement('script'); 
				e.async = true; 
                e.src = document.location.protocol + '//connect.facebook.net/hu_HU/all.js'; 
                document.getElementById('fb-root').appendChild(e); 
                fbLoaded = true; 
        } 
} 

