﻿function connectFB(url) {
    window.open(url, "SelectorWindow",
		"status=1, height=500, width=500, resizable=0")
}
function connectFBPerm(url) {
    window.open(url, "SelectorWindow",
		"status=1, height=500, width=500, resizable=0")
}
function connectMS(url) {
    window.open(url, "SelectorWindow",
		"status=1, height=500, width=500, resizable=0")
  }
  function connectTW(url) {
    window.open(url, "SelectorWindow",
		"status=1, height=500, width=500, resizable=0")
  }
function callbackFB(session_key, secret, uid) {
    var plugin = document.getElementById('SLSobeesWeb');
    plugin.Content.FacebookLoginControl.LoggedIn(session_key, secret, 0, uid);
  }
  function callbackTW(oauth_token) {
    var plugin = document.getElementById('SLSobeesWeb');
    plugin.Content.Twitter.LoggedIn(oauth_token);
  }
function callbackFBPerm() {
    var plugin = document.getElementById('SLSobeesWeb');
    plugin.Content.FacebookLoginControl.PermissionCallback("OK");
}
function callbackMS() {
    var slcontrol = document.getElementById('SLSobeesWeb');
    slcontrol.Content.MySpace.MySpace_Onlogin();

}
