From: Subject: Pronto! Date: Wed, 27 Oct 2010 20:24:52 -0400 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CB7615.031C53D0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CB7615.031C53D0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://mail.tbaytel.net/pronto/ =EF=BB=BF Pronto!
------=_NextPart_000_0000_01CB7615.031C53D0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://mail.tbaytel.net/SkinFiles/tbaytel.net/Pronto-/internal.js // Flash Player Version Detection - Rev 1.5=0A= // Detect Client Browser type=0A= // Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights = reserved.=0A= var isIE =3D (navigator.appVersion.indexOf("MSIE") !=3D -1) ? true : = false;=0A= var isWin =3D (navigator.appVersion.toLowerCase().indexOf("win") !=3D = -1) ? true : false;=0A= var isOpera =3D (navigator.userAgent.indexOf("Opera") !=3D -1) ? true : = false;=0A= =0A= function ControlVersion() {=0A= var version;=0A= var axo;=0A= var e;=0A= =0A= // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't = in the registry=0A= =0A= try {=0A= // version will be set for 7.X or greater players=0A= axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");=0A= version =3D axo.GetVariable("$version");=0A= } catch (e) {=0A= }=0A= =0A= if (!version) {=0A= try {=0A= // version will be set for 6.X players only=0A= axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");=0A= =0A= // installed player is some revision of 6.0=0A= // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,=0A= // so we have to be careful. =0A= =0A= // default to the first public version=0A= version =3D "WIN 6,0,21,0";=0A= =0A= // throws if AllowScripAccess does not exist (introduced in 6.0r47) =0A= axo.AllowScriptAccess =3D "always";=0A= =0A= // safe to call for 6.0r47 or greater=0A= version =3D axo.GetVariable("$version");=0A= =0A= } catch (e) {=0A= }=0A= }=0A= =0A= if (!version) {=0A= try {=0A= // version will be set for 4.X or 5.X player=0A= axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");=0A= version =3D axo.GetVariable("$version");=0A= } catch (e) {=0A= }=0A= }=0A= =0A= if (!version) {=0A= try {=0A= // version will be set for 3.X player=0A= axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");=0A= version =3D "WIN 3,0,18,0";=0A= } catch (e) {=0A= }=0A= }=0A= =0A= if(!version) {=0A= try {=0A= // version will be set for 2.X player=0A= axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash");=0A= version =3D "WIN 2,0,0,11";=0A= } catch (e) {=0A= version =3D -1;=0A= }=0A= }=0A= =0A= return version;=0A= }=0A= =0A= // JavaScript helper required to detect Flash Player PlugIn version = information=0A= function GetSwfVer(){=0A= // NS/Opera version >=3D 3 check for Flash plugin in plugin array=0A= var flashVer =3D -1;=0A= =0A= if (navigator.plugins !=3D null && navigator.plugins.length > 0) {=0A= if (navigator.plugins["Shockwave Flash 2.0"] || = navigator.plugins["Shockwave Flash"]) {=0A= var swVer2 =3D navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";=0A= var flashDescription =3D navigator.plugins["Shockwave Flash" + = swVer2].description; =0A= var descArray =3D flashDescription.split(" ");=0A= var tempArrayMajor =3D descArray[2].split(".");=0A= var versionMajor =3D tempArrayMajor[0];=0A= var versionMinor =3D tempArrayMajor[1];=0A= if ( descArray[3] !=3D "" ) {=0A= tempArrayMinor =3D descArray[3].split("r");=0A= } else {=0A= tempArrayMinor =3D descArray[4].split("r");=0A= }=0A= var versionRevision =3D tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;=0A= var flashVer =3D versionMajor + "." + versionMinor + "." + = versionRevision;=0A= }=0A= }=0A= // MSN/WebTV 2.6 supports Flash 4=0A= else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") !=3D = -1) flashVer =3D 4;=0A= // WebTV 2.5 supports Flash 3=0A= else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") !=3D = -1) flashVer =3D 3;=0A= // older WebTV supports Flash 2=0A= else if (navigator.userAgent.toLowerCase().indexOf("webtv") !=3D -1) = flashVer =3D 2;=0A= else if ( isIE && isWin && !isOpera ) {=0A= flashVer =3D ControlVersion();=0A= } =0A= return flashVer;=0A= }=0A= =0A= // When called with reqMajorVer, reqMinorVer, reqRevision returns true = if that version or greater is available=0A= function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) {=0A= versionStr =3D GetSwfVer();=0A= if (versionStr =3D=3D -1 ) return false;=0A= =0A= if (versionStr !=3D 0) {=0A= if(isIE && isWin && !isOpera) {=0A= // Given "WIN 2,0,0,11"=0A= tempArray =3D versionStr.split(" "); // ["WIN", "2,0,0,11"]=0A= tempString =3D tempArray[1]; // "2,0,0,11"=0A= versionArray =3D tempString.split(","); // ['2', '0', '0', '11']=0A= } else {=0A= versionArray =3D versionStr.split(".");=0A= }=0A= var versionMajor =3D versionArray[0];=0A= var versionMinor =3D versionArray[1];=0A= var versionRevision =3D versionArray[2];=0A= =0A= // is the major.revision >=3D requested major.revision AND the = minor version >=3D requested minor=0A= if (versionMajor > parseFloat(reqMajorVer)) return true;=0A= if (versionMajor =3D=3D parseFloat(reqMajorVer)) {=0A= if(versionMinor > parseFloat(reqMinorVer)) return true;=0A= if (versionMinor =3D=3D parseFloat(reqMinorVer)) {=0A= if (versionRevision >=3D parseFloat(reqRevision)) return true;=0A= }=0A= }=0A= return false;=0A= }=0A= }=0A= =0A= function AC_AddExtension(src, ext) {=0A= return(src.indexOf('?') !=3D -1 ? src.replace(/\?/, ext+'?') : src + = ext);=0A= }=0A= =0A= function AC_Generateobj(objAttrs, params, embedAttrs) { =0A= var str =3D '';=0A= if(isIE && isWin && !isOpera) {=0A= str +=3D ' ';=0A= str +=3D '>';=0A= } else {=0A= str +=3D ' ';=0A= }=0A= document.write(str);=0A= }=0A= =0A= function AC_FL_RunContent(){=0A= var ret =3D AC_GetArgs(arguments, ".swf", "movie", = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", = "application/x-shockwave-flash");=0A= AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);=0A= }=0A= =0A= function AC_GetArgs(args, ext, srcParamName, classid, mimeType){=0A= var ret =3D new Object();=0A= ret.embedAttrs =3D new Object();=0A= ret.params =3D new Object();=0A= ret.objAttrs =3D new Object();=0A= for (var i=3D0; i < args.length; i=3Di+2){=0A= var currArg =3D args[i].toLowerCase(); =0A= =0A= switch (currArg){ =0A= case "classid":=0A= break;=0A= case "pluginspage":=0A= ret.embedAttrs[args[i]] =3D args[i+1];=0A= break;=0A= case "src":=0A= case "movie": =0A= args[i+1] =3D AC_AddExtension(args[i+1], ext);=0A= ret.embedAttrs["src"] =3D args[i+1];=0A= ret.params[srcParamName] =3D args[i+1];=0A= break;=0A= case "onafterupdate":=0A= case "onbeforeupdate":=0A= case "onblur":=0A= case "oncellchange":=0A= case "onclick":=0A= case "ondblClick":=0A= case "ondrag":=0A= case "ondragend":=0A= case "ondragenter":=0A= case "ondragleave":=0A= case "ondragover":=0A= case "ondrop":=0A= case "onfinish":=0A= case "onfocus":=0A= case "onhelp":=0A= case "onmousedown":=0A= case "onmouseup":=0A= case "onmouseover":=0A= case "onmousemove":=0A= case "onmouseout":=0A= case "onkeypress":=0A= case "onkeydown":=0A= case "onkeyup":=0A= case "onload":=0A= case "onlosecapture":=0A= case "onpropertychange":=0A= case "onreadystatechange":=0A= case "onrowsdelete":=0A= case "onrowenter":=0A= case "onrowexit":=0A= case "onrowsinserted":=0A= case "onstart":=0A= case "onscroll":=0A= case "onbeforeeditfocus":=0A= case "onactivate":=0A= case "onbeforedeactivate":=0A= case "ondeactivate":=0A= case "type":=0A= case "codebase":=0A= ret.objAttrs[args[i]] =3D args[i+1];=0A= break;=0A= case "id":=0A= case "width":=0A= case "height":=0A= case "align":=0A= case "vspace": =0A= case "hspace":=0A= case "class":=0A= case "title":=0A= case "accesskey":=0A= case "name":=0A= case "tabindex":=0A= ret.embedAttrs[args[i]] =3D ret.objAttrs[args[i]] =3D args[i+1];=0A= break;=0A= default:=0A= ret.embedAttrs[args[i]] =3D ret.params[args[i]] =3D args[i+1];=0A= }=0A= }=0A= ret.objAttrs["classid"] =3D classid;=0A= if (mimeType) ret.embedAttrs["type"] =3D mimeType;=0A= return ret;=0A= }=0A= =0A= ------=_NextPart_000_0000_01CB7615.031C53D0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://mail.tbaytel.net/SkinFiles/tbaytel.net/Pronto-/mediaPlugin.js // = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D //=0A= // CommuniGate Media Plugin loader //=0A= // //=0A= // Version 1.1 //=0A= // Copyright (c) 2008, Stalker Software, Inc. //=0A= // = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D //=0A= var mediaPluginActiveX1 =3D '';=0A= var mediaPluginActiveXURL =3D = 'www.communigate.com/MediaPlugin/1.0/CGateAVX.cab';=0A= =0A= var mediaPluginNetscape1 =3D '';=0A= var mediaPluginMacOSURL =3D = 'www.communigate.com/MediaPlugin/1.0/CommuniGateAV.dmg';=0A= var mediaPluginNetscapeURL =3D = 'www.communigate.com/MediaPlugin/1.0/npCommuniGateAV.xpi';=0A= =0A= var isHttps =3D false;=0A= var checkTimer =3D null;=0A= var thePlugin =3D null;=0A= =0A= function setHttps(https) {=0A= isHttps =3D https;=0A= }=0A= =0A= function getHTTPSchema() {=0A= return(isHttps ? "https://" : "http://");=0A= }=0A= =0A= function loadMediaPlugin(version) {=0A= clearInterval(checkTimer);=0A= var obj =3D null;=0A= =0A= if (navigator.appName =3D=3D "Microsoft Internet Explorer") {=0A= obj =3D mediaPluginActiveX1+ '"' + getHTTPSchema() + = mediaPluginActiveXURL + '"' + mediaPluginActiveX2;=0A= } else if(navigator.userAgent !=3D null && = navigator.userAgent.toUpperCase().indexOf('MAC OS X') !=3D -1) {=0A= obj =3D mediaPluginNetscape1+ '"' + getHTTPSchema() + = mediaPluginMacOSURL + '"' + mediaPluginNetscape2;=0A= } else if (navigator.appName =3D=3D "Netscape") {=0A= obj =3D mediaPluginNetscape1+ '"' + getHTTPSchema() + = mediaPluginNetscapeURL + '"' + mediaPluginNetscape2;=0A= }=0A= if(obj !=3D null) {=0A= document.getElementById("MediaPlugin").innerHTML =3D obj;=0A= checkTimer =3D setInterval("checkLoaded();", 200);=0A= return "Loading";=0A= }=0A= return "Unsupported browser";=0A= }=0A= =0A= //=0A= // This function is called periodically. It checks if the Plugin has = been loaded=0A= //=0A= function checkLoaded() {=0A= thePlugin =3D document.getElementById("CommuniGateAV");=0A= switch(typeof thePlugin) {=0A= case 'undefined':=0A= break; case 'object': case 'function':=0A= if(typeof thePlugin.GetVersion !=3D 'undefined' ) {=0A= clearInterval(checkTimer);=0A= pronto.mediaPluginInitialized();=0A= }=0A= }=0A= }=0A= =0A= =0A= // ------------------------------------------------=0A= // methods=0A= =0A= function traceResult( operationResult ) {=0A= return(operationResult =3D=3D "" || operationResult =3D=3D null ? "OK" = : operationResult);=0A= } =0A= =0A= // legs methods =0A= =0A= function createLeg(leg) {return traceResult( thePlugin.CreateLeg = (leg,"",""));}=0A= function destroyLeg(leg) {return traceResult( = thePlugin.DestroyLeg(leg));}=0A= function activateLeg(leg) {return traceResult( thePlugin.Activate = (leg));}=0A= function deactivateLeg(leg) {return traceResult( = thePlugin.Deactivate(leg));}=0A= function setHold(leg,flag ) {return = traceResult(thePlugin.SetHold(leg, flag));}=0A= =0A= // sdp methods =0A= function getLocalSDP(leg) {return traceResult( = thePlugin.GetLocalSDP(leg,"xml") );}=0A= function setRemoteSDP(leg,sdp) {return = traceResult(thePlugin.SetRemoteSDP(leg, sdp, "xml"));}=0A= function sendDTMF(leg,symbol) {return traceResult(thePlugin.SendDTMF = (leg, symbol) );}=0A= =0A= // play, volume methods =0A= function playToLocal(leg, data, loop) {return traceResult( = thePlugin.PlayToLocal(leg, data, loop) );}=0A= function playToRemote(leg, data, loop) {return traceResult( = thePlugin.PlayToRemote(leg, data, loop) ); }=0A= function setInputVolume(leg, level) {return traceResult( = thePlugin.SetInputVolume(leg, level) );}=0A= function setOutputVolume(leg, level) {return traceResult( = thePlugin.SetOutputVolume(leg, level) );}=0A= =0A= // connection properties =0A= function setLocalIP(ip) {return traceResult( thePlugin.SetLocalIP(ip) = );}=0A= function setLocalPorts(ip) {return traceResult( = thePlugin.SetLocalPorts(from, till, true) );}=0A= =0A= function getVersion() {return thePlugin.GetVersion();}=0A= =0A= // advanced methods =0A= function listDevices() {return thePlugin.ListDevices("audioInput")+"; = "+thePlugin.ListDevices("audioOutput");} =0A= function setLogLevel(logLevel) {return traceResult( = thePlugin.SetLogLevel(logLevel));}=0A= ------=_NextPart_000_0000_01CB7615.031C53D0--