var TTprotocol = window.location.protocol; TTScriptHost = TTprotocol + "//r2.talklets-secure.com/"; //TTScriptHost = "http://38.107.191.101/"; window.status='1'; function LoadTTnow(){ window.status='2'; if ( window.loadedTT ){ try { if(document.getElementById("TTLaunchA")){ document.getElementById("TTLaunchA").href="javascript:"; document.getElementById("TTLaunchA").onclick = function(){ talklets(); } } } catch(err) {} } else { window.status='3'; var compstate = ""; try { compstate=document.readyState; } catch(err) {} window.status=compstate; if (document.body&&(compstate=="interactive"||compstate=="complete")){ var d = document; var h = d.getElementsByTagName('head')[0]; setTimeout("ff()",100); if (navigator.userAgent.toLowerCase().indexOf('msie')!=-1){ document.write = function(text){ this.insertAdjacentHTML("afterEnd", text); } } try{ if(document.getElementById("TTLaunchA")){ document.getElementById("TTLaunchA").href="javascript:void(0);"; document.getElementById("TTLaunchA").onclick = function(){ try{ talklets(); } catch(err) {} } } } catch(err) {} } else { setTimeout("LoadTTnow()", 15); } } } function ff(){ if (document.body){ var d = document; var h = d.getElementsByTagName('head')[0]; var s = d.createElement('SCRIPT'); //s.src = d.location.protocol + "//textic2.appspot.com/?=http%3A%2F%2Fr3.talklets-secure.com%2FTalklets2%2FCore_Javascript_Manager.aspx%3FURL%3D"+escape(window.location.host + "?dbdom"); //s.src = d.location.protocol + "//r3.talklets-secure.com/talklets2/Core_Javascript_Manager.aspx?URL="+escape(window.location.host); if(window.location.host == "www.phoenix4training.com") s.src = TTScriptHost+"talklets3-3/Core_Javascript_Manager.aspx?URL="+escape(window.location.host); else s.src = d.location.protocol + "//scriptcache.appspot.com/?url=http%3A%2F%2Fr2.talklets-secure.com%2FTalklets3-3%2FCore_Javascript_Manager.aspx%3FURL%3D"+escape(window.location.host + "?dbdom"); s.type='text/javascript'; h.appendChild(s); } else { setTimeout("ff()",100); } } if (navigator.userAgent.indexOf("IE")==-1){ setTimeout("ff()", 20); } else{ setTimeout("LoadTTnow()", 15); }