google.load('friendconnect', '0.8');


// Call this function when the page has been loaded
function initialize() {

 google.friendconnect.container.setParentUrl('/');
  google.friendconnect.container.loadOpenSocialApi({
    site: '03739219811146121791',
    onload: function(securityToken) {
    if (!window.timesloaded) {
        window.timesloaded = 1;
    } else {
        window.timesloaded++;
    }
    if (window.timesloaded > 1) {
        window.top.location.href = "/profile.php";
    }
    }
    });

}


google.setOnLoadCallback(initialize);