if (document.getElementById("FB_HiddenContainer") == null) {
	document.write('<div id="FB_HiddenContainer" '
		+ 'style="position:absolute; top:-10000px; '
		+ 'width:0px; height:0px;" >'
		+ '</div>');
}

$(document).ready(function(){
	$.getScript("http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php", function(){
		$.getScript("/connect/js/fbconnect_js.htm", function(){
			facebook_onload(true);
			if (document.getElementById("divFbLoginButton") != null) {
				FBRenderLoginButton("divFbLoginButton","userRegLogin");
			}
		});
	});
});