malevolent_chrysanthemum
read my profile
sign my guestbook

Visit malevolent_chrysanthemum's Xanga Site!

Name: Stephen
Gender: Male


Message: message meEmail: email me
Website: visit my website
AIM: xnotadoofus
Yahoo: not_a_doofus


Member Since: 7/25/2004

SubscriptionsSites I Read
ezrasFolly
bens_sistah
TheLonelyOtter
mombonifay
velvetbeaches
De_France_it_up
Imajoy7
Tommy__Pickles
TheGospelForToday
yeasoimaninja
TricksyKidd
heidia_mer
AnInfiniteMystery
StuckInTheMaze
selmore
resistance_is_futile_57
komao
mad_king_ludwig
rocker_dude25
NIVtotinLiberal
HopeHeleana
LibSanitizer
itsnotmeitsyou123
IsLoveReallyAFairyTale
bassplayerun
burning_so_bright
fugidaboudit
Joeytothelimit
Eriktoinfinity
ridiculouslyfabulous
HondAcuraGuy
COZBYSWEATER
aub_sauce
well_thats_cool
jodith05
littlemisslys04
iamateeniebopper
aamluv2talk
dancenbabe00
SheWoreShadows

Groups Blogrings
Nice guys finish with a knife in their back
previous - random - next

*COC for life* the new testament church
previous - random - next

The On Point Kings
previous - random - next

*A Pirate's Life For ME*
previous - random - next

*The Official Stephen Elmore Fan Ring*
previous - random - next

¡˜ Those Crazy Ninjas ˜! ©™
previous - random - next


Posting Calendar

|<< oldest | newest >>|
view all weblog archives

Get Involved!

Suggest a link

Recommend to friend

Create a site

Wednesday, November 03, 2010

phono

function FABridge(b,a){this.target=b;this.remoteTypeCache={};this.remoteInstanceCache={};this.remoteFunctionCache={};this.localFunctionCache={};this.bridgeID=FABridge.nextBridgeID++;this.name=a;this.nextLocalFuncID=0;FABridge.instances[this.name]=this;FABridge.idMap[this.bridgeID]=this;return this}FABridge.TYPE_ASINSTANCE=1;FABridge.TYPE_ASFUNCTION=2;FABridge.TYPE_JSFUNCTION=3;FABridge.TYPE_ANONYMOUS=4;FABridge.initCallbacks={};FABridge.userTypes={};FABridge.addToUserTypes=function(){for(var a=0;a=0){FABridge.attachBridge(h,d);g=true;break}}}if(g){break}}}}else{var m=document.getElementsByTagName("embed");if(m.length==1){FABridge.attachBridge(m[0],d)}else{for(var f=0;f=0){FABridge.attachBridge(h,d)}}}}return true}FABridge.nextBridgeID=0;FABridge.instances={};FABridge.idMap={};FABridge.refCount=0;FABridge.extractBridgeFromID=function(b){var a=(b>>16);return FABridge.idMap[a]};FABridge.attachBridge=function(a,c){var b=new FABridge(a,c);FABridge[c]=b;var e=FABridge.initCallbacks[c];if(e==null){return}for(var d=0;d0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.")}else{FABridge.refCount++;retVal=this.target.getPropFromAS(b,a);retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},setPropertyInAS:function(c,b,a){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.")}else{FABridge.refCount++;retVal=this.target.setPropInAS(c,b,this.serialize(a));retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},callASFunction:function(b,a){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.")}else{FABridge.refCount++;retVal=this.target.invokeASFunction(b,this.serialize(a));retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},callASMethod:function(b,c,a){if(FABridge.refCount>0){throw new Error("You are trying to call recursively into the Flash Player which is not allowed. In most cases the JavaScript setTimeout function, can be used as a workaround.")}else{FABridge.refCount++;a=this.serialize(a);retVal=this.target.invokeASMethod(b,c,a);retVal=this.handleError(retVal);FABridge.refCount--;return retVal}},invokeLocalFunction:function(d,b){var a;var c=this.localFunctionCache[d];if(c!=undefined){a=this.serialize(c.apply(null,this.deserialize(b)))}return a},getUserTypeDescriptor:function(b){var c=b.replace(/^([^:]*)\:\:([^:]*)$/,"$2");var e=((typeof window[c]=="function")&&(typeof FABridge.userTypes[c]!="undefined"));var d=false;if(e){d=FABridge.userTypes[c].enriched}var a={simpleType:c,isUserProto:e,protoEnriched:d};return a},getTypeFromName:function(b){var c=this.getUserTypeDescriptor(b);var a=this.remoteTypeCache[b];if(c.isUserProto){if(!c.protoEnriched){for(i in window[c.simpleType].prototype){a[i]=window[c.simpleType].prototype[i]}window[c.simpleType].prototype=a;this.remoteTypeCache[b]=a;FABridge.userTypes[c.simpleType].enriched=true}}return a},createProxy:function(c,b){var d=this.getUserTypeDescriptor(b);var f=this.getTypeFromName(b);if(d.isUserProto){var e=window[d.simpleType];var a=new e(this.name,c);a.fb_instance_id=c}else{instanceFactory.prototype=f;var a=new instanceFactory(c)}this.remoteInstanceCache[c]=a;return a},getProxy:function(a){return this.remoteInstanceCache[a]},addTypeDataToCache:function(d){newType=new ASProxy(this,d.name);var b=d.accessors;for(var c=0;c="a"&&f<="z"){d="get"+f.toUpperCase()+e.substr(1);b="set"+f.toUpperCase()+e.substr(1)}else{d="get"+e;b="set"+e}a[b]=function(c){this.bridge.setPropertyInAS(this.fb_instance_id,e,c)};a[d]=function(){return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id,e))}},addMethodToType:function(a,b){a[b]=function(){return this.bridge.deserialize(this.bridge.callASMethod(this.fb_instance_id,b,FABridge.argsToArray(arguments)))}},getFunctionProxy:function(a){var b=this;if(this.remoteFunctionCache[a]==null){this.remoteFunctionCache[a]=function(){b.callASFunction(a,FABridge.argsToArray(arguments))}}return this.remoteFunctionCache[a]},getFunctionID:function(a){if(a.__bridge_id__==undefined){a.__bridge_id__=this.makeID(this.nextLocalFuncID++);this.localFunctionCache[a.__bridge_id__]=a}return a.__bridge_id__},serialize:function(d){var a={};var c=typeof(d);if(c=="number"||c=="string"||c=="boolean"||c==null||c==undefined){a=d}else{if(d instanceof Array){a=[];for(var b=0;b0){FABridge.refCount--}throw new Error(a[1]);return b}else{return b}}};ASProxy=function(b,a){this.bridge=b;this.typeName=a;return this};ASProxy.prototype={get:function(a){return this.bridge.deserialize(this.bridge.getPropertyFromAS(this.fb_instance_id,a))},set:function(b,a){this.bridge.setPropertyInAS(this.fb_instance_id,b,a)},call:function(b,a){this.bridge.callASMethod(this.fb_instance_id,b,a)},addRef:function(){this.bridge.addRef(this)},release:function(){this.bridge.release(this)}};var flensed={base_path:"http://s.phono.com/deps/flensed/1.0/"};function Phono(a){this.config=Phono.util.extend({gateway:"gw.phono.com",connectionUrl:"http://app.phono.com/http-bind"},a);Phono.events.bind(this,a);if(!a.apiKey){this.config.apiKey=prompt("Please enter your Phono API Key.\n\nTo get a new one sign up for a free account at: http://www.phono.com");if(!this.config.apiKey){var b="A Phono API Key is required. Please get one at http://www.phono.com";Phono.events.trigger(this,"error",{reason:b});throw b}}this.sessionId=null;this.connection=new Strophe.Connection(this.config.connectionUrl);this.connect()}(function(){var d=(function(){var n;function j(){return function(){}}function h(s,r){for(var f in r){s[f]=r[f]}}var p=j();var l=j();h(l.prototype,{addChild:p,getEffectiveAppenders:p,invalidateAppenderCache:p,getAdditivity:p,setAdditivity:p,addAppender:p,removeAppender:p,removeAllAppenders:p,log:p,setLevel:p,getLevel:p,getEffectiveLevel:p,trace:p,debug:p,info:p,warn:p,error:p,fatal:p,isEnabledFor:p,isTraceEnabled:p,isDebugEnabled:p,isInfoEnabled:p,isWarnEnabled:p,isErrorEnabled:p,isFatalEnabled:p,callAppenders:p,group:p,groupEnd:p,time:p,timeEnd:p,assert:p,parent:new l()});var o=function(){return new l()};function q(){}h(q.prototype,{setEventTypes:p,addEventListener:p,removeEventListener:p,dispatchEvent:p,eventTypes:[],eventListeners:{}});function m(){}m.prototype=new q();n=new m();n={isStub:true,version:"1.4.1",edition:"log4javascript_production",setEventTypes:p,addEventListener:p,removeEventListener:p,dispatchEvent:p,eventTypes:[],eventListeners:{},logLog:{setQuietMode:p,setAlertAllErrors:p,debug:p,displayDebug:p,warn:p,error:p},handleError:p,setEnabled:p,isEnabled:p,setTimeStampsInMilliseconds:p,isTimeStampsInMilliseconds:p,evalInScope:p,setShowStackTraces:p,getLogger:o,getDefaultLogger:o,getNullLogger:o,getRootLogger:o,resetConfiguration:p,Level:j(),LoggingEvent:j(),Layout:j(),Appender:j()};n.LoggingEvent.prototype={getThrowableStrRep:p,getCombinedMessages:p};n.Level.prototype={toString:p,equals:p,isGreaterOrEqual:p};var g=new n.Level();h(n.Level,{ALL:g,TRACE:g,DEBUG:g,INFO:g,WARN:g,ERROR:g,FATAL:g,OFF:g});n.Layout.prototype={defaults:{},format:p,ignoresThrowable:p,getContentType:p,allowBatching:p,getDataValues:p,setKeys:p,setCustomField:p,hasCustomFields:p,setTimeStampsInMilliseconds:p,isTimeStampsInMilliseconds:p,getTimeStampValue:p,toString:p};n.SimpleDateFormat=j();n.SimpleDateFormat.prototype={setMinimalDaysInFirstWeek:p,getMinimalDaysInFirstWeek:p,format:p};n.PatternLayout=j();n.PatternLayout.prototype=new n.Layout();n.Appender=j();n.Appender.prototype=new q();h(n.Appender.prototype,{layout:new n.PatternLayout(),threshold:n.Level.ALL,loggers:[],doAppend:p,append:p,setLayout:p,getLayout:p,setThreshold:p,getThreshold:p,setAddedToLogger:p,setRemovedFromLogger:p,group:p,groupEnd:p,toString:p});n.SimpleLayout=j();n.SimpleLayout.prototype=new n.Layout();n.NullLayout=j();n.NullLayout.prototype=new n.Layout();n.XmlLayout=j();n.XmlLayout.prototype=new n.Layout();h(n.XmlLayout.prototype,{escapeCdata:p,isCombinedMessages:p});n.JsonLayout=j();n.JsonLayout.prototype=new n.Layout();h(n.JsonLayout.prototype,{isReadable:p,isCombinedMessages:p});n.HttpPostDataLayout=j();n.HttpPostDataLayout.prototype=new n.Layout();n.PatternLayout=j();n.PatternLayout.prototype=new n.Layout();n.AjaxAppender=j();n.AjaxAppender.prototype=new n.Appender();h(n.AjaxAppender.prototype,{getSessionId:p,setSessionId:p,isTimed:p,setTimed:p,getTimerInterval:p,setTimerInterval:p,isWaitForResponse:p,setWaitForResponse:p,getBatchSize:p,setBatchSize:p,isSendAllOnUnload:p,setSendAllOnUnload:p,setRequestSuccessCallback:p,setFailCallback:p,getPostVarName:p,setPostVarName:p,sendAll:p,defaults:{requestSuccessCallback:null,failCallback:null}});return n})();var c=d;Phono.version="0.1";Phono.log=c.getDefaultLogger();Phono.registerPlugin=function(g,f){if(!Phono.plugins){Phono.plugins={}}Phono.plugins[g]=f};Phono.prototype.connect=function(){if(this.connection.connected){return}var f=this;this.connection.connect(f.config.gateway,null,function(g){if(g===Strophe.Status.CONNECTED){f.connection.send($iq({type:"set"}).c("apikey",{xmlns:"http://phono.com/apikey"}).t(f.config.apiKey));f.handleConnect()}else{if(g===Strophe.Status.DISCONNECTED){f.handleDisconnect()}else{if(g===Strophe.Status.ERROR||g===Strophe.Status.CONNFAIL||g===Strophe.Status.CONNFAIL||g===Strophe.Status.AUTHFAIL){f.handleError()}}}})};Phono.prototype.disconnect=function(){this.connection.disconnect()};Phono.prototype.connected=function(){return this.connection.connected};Phono.prototype.handleConnect=function(){this.sessionId=Strophe.getBareJidFromJid(this.connection.jid);new a(this,this.config,function(f){Phono.events.trigger(this,"ready")}).init()};Phono.prototype.handleError=function(){Phono.events.trigger(this,"error",{reason:"Error connecting to XMPP server"})};Phono.prototype.handleDisconnect=function(){Phono.events.trigger(this,"unready")};(function(aE){var ab=aE,az=aE.document,ag="undefined",aG=true,U=false,aA="",ar="object",aw="function",S="string",av="div",aC="onunload",Y=null,ah=null,V=null,ap=null,ai=0,ay=[],au=null,ao=null,Z="flXHR.js",at="flensed.js",Q="flXHR.vbs",ax="checkplayer.js",af="flXHR.swf",al=aE.parseInt,aj=aE.setTimeout,aB=aE.clearTimeout,an=aE.setInterval,ak=aE.clearInterval,R="instanceId",W="readyState",ac="onreadystatechange",T="ontimeout",ad="onerror",aD="binaryResponseBody",aa="xmlResponseText",X="loadPolicyURL",aF="noCacheHeader",aq="sendTimeout",ae="appendToId",am="swfIdPrefix";if(typeof aE.flensed===ag){aE.flensed={}}if(typeof aE.flensed.flXHR!==ag){return}ah=aE.flensed;aj(function(){var r=U,v=az.getElementsByTagName("script"),m=v.length;try{ah.base_path.toLowerCase();r=aG}catch(o){ah.base_path=aA}function g(w,x,A){for(var y=0;y=0){break}}}var z=az.createElement("script");z.setAttribute("src",ah.base_path+w);if(typeof x!==ag){z.setAttribute("type",x)}if(typeof A!==ag){z.setAttribute("language",A)}az.getElementsByTagName("head")[0].appendChild(z)}if((typeof v!==ag)&&(v!==null)){if(!r){var u=0;for(var n=0;n=0)||((u=v[n].src.indexOf(Z))>=0)){ah.base_path=v[n].src.substr(0,u);break}}}}}try{ah.checkplayer.module_ready()}catch(f){g(ax,"text/javascript")}var t=null;(function s(){try{ah.ua.pv.join(".")}catch(w){t=aj(arguments.callee,25);return}if(ah.ua.win&&ah.ua.ie){g(Q,"text/vbscript","vbscript")}ah.binaryToString=function(D,x){x=(((ah.ua.win&&ah.ua.ie)&&typeof x!==ag)?(!(!x)):!(ah.ua.win&&ah.ua.ie));if(!x){try{return flXHR_vb_BinaryToString(D)}catch(B){}}var A=aA,y=[];try{for(var C=0;C0)){bi=Y}if((typeof a8[ac]!==ag)&&(a8[ac]!==null)){bf=a8[ac]}if((typeof a8[ad]!==ag)&&(a8[ad]!==null)){bm=a8[ad]}if((typeof a8[T]!==ag)&&(a8[T]!==null)){bb=a8[T]}}h=v+"_"+a3;function aJ(){aB(K);try{ab.detachEvent(aC,aJ)}catch(aK){}}try{ab.attachEvent(aC,aJ)}catch(aI){}(function aH(){try{ah.bindEvent(ab,aC,bh)}catch(aK){K=aj(arguments.callee,25);return}aJ();K=aj(a6,1)})()}();function a6(){if(p===null){y=az.getElementsByTagName("body")[0]}else{y=ah.getObjectById(p)}try{y.nodeName.toLowerCase();ah.checkplayer.module_ready();V=ah.checkplayer}catch(aH){K=aj(a6,25);return}if((ap===null)&&(typeof V._ins===ag)){try{ap=new V(ao.MIN_PLAYER_VERSION,a5,U,z)}catch(aI){ba(ao.DEPENDENCY_ERROR,"flXHR: checkplayer Init Failed","The initialization of the 'checkplayer' library failed to complete.");return}}else{ap=V._ins;J()}}function J(){if(ap===null||!ap.checkPassed){K=aj(J,25);return}if(au===null&&p===null){ah.createCSS("."+L,"left:-1px;top:0px;width:1px;height:1px;position:absolute;");au=aG}var aL=az.createElement(av);aL.id=h;aL.className=L;y.appendChild(aL);y=null;var aI={},aK={allowScriptAccess:"always"},aH={id:h,name:h,styleclass:L},aM={swfCB:a7,swfEICheck:"reset"};try{ap.DoSWF(ah.base_path+af,h,"1","1",aI,aK,aH,aM)}catch(aJ){ba(ao.DEPENDENCY_ERROR,"flXHR: checkplayer Call Failed","A call to the 'checkplayer' library failed to complete.");return}}function a7(aI){if(aI.status!==V.SWF_EI_READY){return}w();a4=ah.getObjectById(h);a4.setId(h);if(t!==aA){a4.loadPolicy(t)}a4.autoNoCacheHeader(s);a4.returnBinaryResponseBody(bn);a4.doOnReadyStateChange=E;a4.doOnError=ba;a4.sendProcessed=A;a4.chunkResponse=j;bd=0;m();a2();if(typeof bf===aw){try{bf(F)}catch(aH){ba(ao.HANDLER_ERROR,"flXHR::onreadystatechange(): Error","An error occurred in the handler function. ("+aH.message+")");return}}u()}function bh(){try{aE.flensed.unbindEvent(ab,aC,bh)}catch(aH){}try{for(var aS=0;aS0){bi=Y}bf=F[ac];bm=F[ad];bb=F[T];if(F[X]!==null){if((F[X]!==t)&&(bd>=0)){a4.loadPolicy(F[X])}t=F[X]}if(F[aF]!==null){if((F[aF]!==s)&&(bd>=0)){a4.autoNoCacheHeader(F[aF])}s=F[aF]}if(F[aD]!==null){if((F[aD]!==bn)&&(bd>=0)){a4.returnBinaryResponseBody(F[aD])}bn=F[aD]}if(bp!==null){bp=!(!F[aa])}}catch(aH){}}function bc(){D();try{a4.reset()}catch(aH){}bl=null;o=null;N=null;B=null;P=null;be=null;bo=U;a2();t=aA;m()}function a5(aH){if(aH.checkPassed){J()}else{if(!bg){ba(ao.PLAYER_VERSION_ERROR,"flXHR: Insufficient Flash Player Version","The Flash Player was either not detected, or the detected version ("+aH.playerVersionDetected+") was not at least the minimum version ("+ao.MIN_PLAYER_VERSION+") needed by the 'flXHR' library.")}else{ap.UpdatePlayer()}}}function z(aH){if(aH.updateStatus===V.UPDATE_CANCELED){ba(ao.PLAYER_VERSION_ERROR,"flXHR: Flash Player Update Canceled","The Flash Player was not updated.")}else{if(aH.updateStatus===V.UPDATE_FAILED){ba(ao.PLAYER_VERSION_ERROR,"flXHR: Flash Player Update Failed","The Flash Player was either not detected or could not be updated.")}}}function A(){if(bi!==null&&bi>0){l=aj(n,bi)}}function D(){w();a9();m();bd=0;bk=0;try{a4.abort()}catch(aH){ba(ao.CALL_ERROR,"flXHR::abort(): Failed","The abort() call failed to complete.")}a2()}function q(){m();if(typeof arguments[0]===ag||typeof arguments[1]===ag){ba(ao.CALL_ERROR,"flXHR::open(): Failed","The open() call requires 'method' and 'url' parameters.")}else{if(bd>0||bo){bc()}if(bk===0){E(1)}else{bd=1}var aJ=arguments[0],aK=arguments[1],aL=(typeof arguments[2]!==ag)?arguments[2]:aG,aM=(typeof arguments[3]!==ag)?arguments[3]:aA,aH=(typeof arguments[4]!==ag)?arguments[4]:aA;try{a4.autoNoCacheHeader(s);a4.open(aJ,aK,aL,aM,aH)}catch(aI){ba(ao.CALL_ERROR,"flXHR::open(): Failed","The open() call failed to complete.")}}}function g(){m();if(bd<=1&&!bo){var aI=(typeof arguments[0]!==ag)?arguments[0]:aA;if(bk===1){E(2)}else{bd=2}try{a4.autoNoCacheHeader(s);a4.send(aI)}catch(aH){ba(ao.CALL_ERROR,"flXHR::send(): Failed","The send() call failed to complete.")}}else{ba(ao.CALL_ERROR,"flXHR::send(): Failed","The send() call cannot be made at this time.")}}function G(){m();if(typeof arguments[0]===ag||typeof arguments[1]===ag){ba(ao.CALL_ERROR,"flXHR::setRequestHeader(): Failed","The setRequestHeader() call requires 'name' and 'value' parameters.")}else{if(!bo){var aJ=(typeof arguments[0]!==ag)?arguments[0]:aA,aH=(typeof arguments[1]!==ag)?arguments[1]:aA;try{a4.setRequestHeader(aJ,aH)}catch(aI){ba(ao.CALL_ERROR,"flXHR::setRequestHeader(): Failed","The setRequestHeader() call failed to complete.")}}}}function C(){m();return aA}function x(){m();return[]}F={readyState:bk,responseBody:P,responseText:N,responseXML:B,status:bl,statusText:o,timeout:bi,open:function(){m();if(F[W]===0){M(1)}if(!f||bd<0){a0(q,"open",arguments);return}q.apply({},arguments)},send:function(){m();if(F[W]===1){M(2)}if(!f||bd<0){a0(g,"send",arguments);return}g.apply({},arguments)},abort:D,setRequestHeader:function(){m();if(!f||bd<0){a0(G,"setRequestHeader",arguments);return}G.apply({},arguments)},getResponseHeader:C,getAllResponseHeaders:x,onreadystatechange:bf,ontimeout:bb,instanceId:a1,loadPolicyURL:t,noCacheHeader:s,binaryResponseBody:bn,xmlResponseText:bp,onerror:bm,Configure:function(aH){if(typeof aH===ar&&aH!==null){if((typeof aH[R]!==ag)&&(aH[R]!==null)&&(aH[R]!==aA)){a1=aH[R]}if(typeof aH[aF]!==ag){s=!(!aH[aF]);if(bd>=0){a4.autoNoCacheHeader(s)}}if(typeof aH[aD]!==ag){bn=!(!aH[aD]);if(bd>=0){a4.returnBinaryResponseBody(bn)}}if(typeof aH[aa]!==ag){bp=!(!aH[aa])}if((typeof aH[ac]!==ag)&&(aH[ac]!==null)){bf=aH[ac]}if((typeof aH[ad]!==ag)&&(aH[ad]!==null)){bm=aH[ad]}if((typeof aH[T]!==ag)&&(aH[T]!==null)){bb=aH[T]}if((typeof aH[aq]!==ag)&&((Y=al(aH[aq],10))>0)){bi=Y}if((typeof aH[X]!==ag)&&(aH[X]!==null)&&(aH[X]!==aA)&&(aH[X]!==t)){t=aH[X];if(bd>=0){a4.loadPolicy(t)}}a2()}},Reset:bc,Destroy:bh};if(O){ay[ay.length]=F}return F};ao=ah.flXHR;ao.HANDLER_ERROR=10;ao.CALL_ERROR=11;ao.TIMEOUT_ERROR=12;ao.DEPENDENCY_ERROR=13;ao.PLAYER_VERSION_ERROR=14;ao.SECURITY_ERROR=15;ao.COMMUNICATION_ERROR=16;ao.MIN_PLAYER_VERSION="9.0.124";ao.module_ready=function(){}})(window);var e=(function(){var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var g={encode:function(l){var h="";var s,q,o;var r,p,n,m;var j=0;do{s=l.charCodeAt(j++);q=l.charCodeAt(j++);o=l.charCodeAt(j++);r=s>>2;p=((s&3)<<4)|(q>>4);n=((q&15)<<2)|(o>>6);m=o&63;if(isNaN(q)){n=m=64}else{if(isNaN(o)){m=64}}h=h+f.charAt(r)+f.charAt(p)+f.charAt(n)+f.charAt(m)}while(j>4);q=((p&15)<<4)|(n>>2);o=((n&3)<<6)|m;h=h+ (s);if(n!=64){h=h+ (q)}if(m!=64){h=h+ (o)}}while(j>16)+(C>>16)+(B>>16);return(A<<16)|(B&65535)};var u=function(y,z){return(y<>>(32-z))};var g=function(B){var A=[];var y=(1<>5]|=(B.charCodeAt(z/s)&y)<<(z%32)}return A};var n=function(A){var B="";var y=(1<>5]>>>(z%32))&y)}return B};var x=function(A){var z=v?"0123456789ABCDEF":"0123456789abcdef";var B="";for(var y=0;y>2]>>((y%4)*8+4))&15)+z.charAt((A[y>>2]>>((y%4)*8))&15)}return B};var w=function(B){var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var D="";var C,y;for(var z=0;z>2]>>8*(z%4))&255)<<16)|(((B[z+1>>2]>>8*((z+1)%4))&255)<<8)|((B[z+2>>2]>>8*((z+2)%4))&255);for(y=0;y<4;y++){if(z*8+y*6>B.length*32){D+=f}else{D+=A.charAt((C>>6*(3-y))&63)}}}return D};var j=function(D,A,z,y,C,B){return q(u(q(q(A,D),q(y,B)),C),z)};var r=function(A,z,E,D,y,C,B){return j((z&E)|((~z)&D),A,z,y,C,B)};var h=function(A,z,E,D,y,C,B){return j((z&D)|(E&(~D)),A,z,y,C,B)};var t=function(A,z,E,D,y,C,B){return j(z^E^D,A,z,y,C,B)};var p=function(A,z,E,D,y,C,B){return j(E^(z|(~D)),A,z,y,C,B)};var m=function(I,D){I[D>>5]|=128<<((D)%32);I[(((D+64)>>>9)<<4)+14]=D;var H=1732584193;var G=-271733879;var F=-1732584194;var E=271733878;var C,B,A,y;for(var z=0;z16){C=m(C,A.length*s)}var y=new Array(16),B=new Array(16);for(var z=0;z<16;z++){y[z]=C[z]^909522486;B[z]=C[z]^1549556828}var E=m(y.concat(g(D)),512+D.length*s);return m(B.concat(E),512+128)};var o={hexdigest:function(y){return x(m(g(y),y.length*s))},b64digest:function(y){return w(m(g(y),y.length*s))},hash:function(y){return n(m(g(y),y.length*s))},hmac_hexdigest:function(y,z){return x(l(y,z))},hmac_b64digest:function(y,z){return w(l(y,z))},hmac_hash:function(y,z){return n(l(y,z))},test:function(){return b.hexdigest("abc")==="900150983cd24fb0d6963f7d28e17f72"}};return o})();if(!Function.prototype.bind){Function.prototype.bind=function(g){var f=this;return function(){return f.apply(g,arguments)}}}if(!Function.prototype.prependArg){Function.prototype.prependArg=function(f){var g=this;return function(){var j=[f];for(var h=0;h/g,">");return n},xmlTextNode:function(n){n=l.xmlescape(n);if(!l._xmlGenerator){l._xmlGenerator=l._makeGenerator()}return l._xmlGenerator.createTextNode(n)},getText:function(o){if(!o){return null}var p="";if(o.childNodes.length===0&&o.nodeType==l.ElementType.TEXT){p+=o.nodeValue}for(var n=0;n/g,"\\3e").replace(/@/g,"\\40")},unescapeNode:function(n){return n.replace(/\\20/g," ").replace(/\\22/g,'"').replace(/\\26/g,"&").replace(/\\27/g,"'").replace(/\\2f/g,"/").replace(/\\3a/g,":").replace(/\\3c/g,"<").replace(/\\3e/g,">").replace(/\\40/g,"@").replace(/\\5c/g,"\\")},getNodeFromJid:function(n){if(n.indexOf("@")<0){return null}return n.split("@")[0]},getDomainFromJid:function(n){var o=l.getBareJidFromJid(n);if(o.indexOf("@")<0){return o}else{var p=o.split("@");p.splice(0,1);return p.join("@")}},getResourceFromJid:function(n){var o=n.split("/");if(o.length<2){return null}o.splice(0,1);return o.join("/")},getBareJidFromJid:function(n){return n.split("/")[0]},log:function(o,n){return},debug:function(n){this.log(this.LogLevel.DEBUG,n)},info:function(n){this.log(this.LogLevel.INFO,n)},warn:function(n){this.log(this.LogLevel.WARN,n)},error:function(n){this.log(this.LogLevel.ERROR,n)},fatal:function(n){this.log(this.LogLevel.FATAL,n)},serialize:function(p){var n;if(!p){return null}if(typeof(p.tree)==="function"){p=p.tree()}var r=p.nodeName;var o,q;if(p.getAttribute("_realname")){r=p.getAttribute("_realname")}n="<"+r;for(o=0;o0){n+=">";for(o=0;o"}else{n+="/>"}return n},_requestId:0,_connectionPlugins:{},addConnectionPlugin:function(n,o){l._connectionPlugins[n]=o}};l.Builder=function(o,n){if(o=="presence"||o=="message"||o=="iq"){if(n&&!n.xmlns){n.xmlns=l.NS.CLIENT}else{if(!n){n={xmlns:l.NS.CLIENT}}}}this.nodeTree=l.xmlElement(o,n);this.node=this.nodeTree};l.Builder.prototype={tree:function(){return this.nodeTree},toString:function(){return l.serialize(this.nodeTree)},up:function(){this.node=this.node.parentNode;return this},attrs:function(o){for(var n in o){if(o.hasOwnProperty(n)){this.node.setAttribute(n,o[n])}}return this},c:function(o,n){var p=l.xmlElement(o,n);this.node.appendChild(p);this.node=p;return this},cnode:function(n){this.node.appendChild(n);this.node=n;return this},t:function(n){var o=l.xmlTextNode(n);this.node.appendChild(o);return this}};l.Handler=function(r,q,o,p,t,s,n){this.handler=r;this.ns=q;this.name=o;this.type=p;this.id=t;this.options=n||{matchbare:false};if(!this.options.matchBare){this.options.matchBare=false}if(this.options.matchBare){this.from=l.getBareJidFromJid(s)}else{this.from=s}this.user=true};l.Handler.prototype={isMatch:function(o){var q;var p=null;if(this.options.matchBare){p=l.getBareJidFromJid(o.getAttribute("from"))}else{p=o.getAttribute("from")}q=false;if(!this.ns){q=true}else{var n=this;l.forEachChild(o,null,function(r){if(r.getAttribute("xmlns")==n.ns){q=true}});q=q||o.getAttribute("xmlns")==this.ns}if(q&&(!this.name||l.isTagEqual(o,this.name))&&(!this.type||o.getAttribute("type")===this.type)&&(!this.id||o.getAttribute("id")===this.id)&&(!this.from||p===this.from)){return true}return false},run:function(o){var n=null;try{n=this.handler(o)}catch(p){if(p.sourceURL){l.fatal("error: "+this.handler+" "+p.sourceURL+":"+p.line+" - "+p.name+": "+p.message)}else{if(p.fileName){if(typeof(console)!="undefined"){console.trace();console.error(this.handler," - error - ",p,p.message)}l.fatal("error: "+this.handler+" "+p.fileName+":"+p.lineNumber+" - "+p.name+": "+p.message)}else{l.fatal("error: "+this.handler)}}throw p}return n},toString:function(){return"{Handler: "+this.handler+"("+this.name+","+this.id+","+this.ns+")}"}};l.TimedHandler=function(o,n){this.period=o;this.handler=n;this.lastCalled=new Date().getTime();this.user=true};l.TimedHandler.prototype={run:function(){this.lastCalled=new Date().getTime();return this.handler()},reset:function(){this.lastCalled=new Date().getTime()},toString:function(){return"{TimedHandler: "+this.handler+"("+this.period+")}"}};l.Request=function(p,o,n,q){this.id=++l._requestId;this.xmlData=p;this.data=l.serialize(p);this.origFunc=o;this.func=o;this.rid=n;this.date=NaN;this.sends=q||0;this.abort=false;this.dead=null;this.age=function(){if(!this.date){return 0}var r=new Date();return(r-this.date)/1000};this.timeDead=function(){if(!this.dead){return 0}var r=new Date();return(r-this.dead)/1000};this.xhr=this._newXHR()};l.Request.prototype={getResponse:function(){var n=null;if(this.xhr.responseXML&&this.xhr.responseXML.documentElement){n=this.xhr.responseXML.documentElement;if(n.tagName=="parsererror"){l.error("invalid response received");l.error("responseText: "+this.xhr.responseText);l.error("responseXML: "+l.serialize(this.xhr.responseXML));throw"parsererror"}}else{if(this.xhr.responseText){l.error("invalid response received");l.error("responseText: "+this.xhr.responseText);l.error("responseXML: "+l.serialize(this.xhr.responseXML))}}return n},_newXHR:function(){var n=null;if(window. ){n=new  ();if(n.overrideMimeType){n.overrideMimeType("text/xml")}}else{if(window.ActiveXObject){n=new ActiveXObject("Microsoft. ")}}n.onreadystatechange=this.func.prependArg(this);return n}};l.Connection=function(n){this.service=n;this.jid="";this.rid=Math.floor(Math.random()*4294967295);this.sid=null;this.streamId=null;this.do_session=false;this.do_bind=false;this.timedHandlers=[];this.handlers=[];this.removeTimeds=[];this.removeHandlers=[];this.addTimeds=[];this.addHandlers=[];this._idleTimeout=null;this._disconnectTimeout=null;this.authenticated=false;this.disconnecting=false;this.connected=false;this.errors=0;this.paused=false;this.hold=1;this.wait=60;this.window=5;this._data=[];this._requests=[];this._uniqueId=Math.round(Math.random()*10000);this._sasl_success_handler=null;this._sasl_failure_handler=null;this._sasl_challenge_handler=null;this._idleTimeout=setTimeout(this._onIdle.bind(this),100);for(var o in l._connectionPlugins){if(l._connectionPlugins.hasOwnProperty(o)){var q=l._connectionPlugins[o];var p=function(){};p.prototype=q;this[o]=new p();this[o].init(this)}}};l.Connection.prototype={reset:function(){this.rid=Math.floor(Math.random()*4294967295);this.sid=null;this.streamId=null;this.do_session=false;this.do_bind=false;this.timedHandlers=[];this.handlers=[];this.removeTimeds=[];this.removeHandlers=[];this.addTimeds=[];this.addHandlers=[];this.authenticated=false;this.disconnecting=false;this.connected=false;this.errors=0;this._requests=[];this._uniqueId=Math.round(Math.random()*10000)},pause:function(){this.paused=true},resume:function(){this.paused=false},getUniqueId:function(n){if(typeof(n)=="string"||typeof(n)=="number"){return ++this._uniqueId+":"+n}else{return ++this._uniqueId+""}},connect:function(o,p,s,r,q){this.jid=o;this.pass=p;this.connect_callback=s;this.disconnecting=false;this.connected=false;this.authenticated=false;this.errors=0;this.wait=r||this.wait;this.hold=q||this.hold;this.domain=l.getDomainFromJid(this.jid);var n=this._buildBody().attrs({to:this.domain,"xml:lang":"en",wait:this.wait,hold:this.hold,content:"text/xml; charset=utf-8",ver:"1.6","xmpp:version":"1.0","xmlns:xmpp":l.NS.BOSH});this._changeConnectStatus(l.Status.CONNECTING,null);this._requests.push(new l.Request(n.tree(),this._onRequestStateChange.bind(this).prependArg(this._connect_cb.bind(this)),n.tree().getAttribute("rid")));this._throttledRequestHandler()},attach:function(p,n,q,t,s,r,o){this.jid=p;this.sid=n;this.rid=q;this.connect_callback=t;this.domain=l.getDomainFromJid(this.jid);this.authenticated=true;this.connected=true;this.wait=s||this.wait;this.hold=r||this.hold;this.window=o||this.window;this._changeConnectStatus(l.Status.ATTACHED,null)},xmlInput:function(n){return},xmlOutput:function(n){return},rawInput:function(n){return},rawOutput:function(n){return},send:function(o){if(o===null){return}if(typeof(o.sort)==="function"){for(var n=0;n=0;n--){if(o==this._requests[n]){this._requests.splice(n,1)}}o.xhr.onreadystatechange=function(){};this._throttledRequestHandler()},_restartRequest:function(n){var o=this._requests[n];if(o.dead===null){o.dead=new Date()}this._processRequest(n)},_processRequest:function(p){var u=this._requests[p];var x=-1;try{if(u.xhr.readyState==4){x=u.xhr.status}}catch(s){l.error("caught an error in _requests["+p+"], reqStatus: "+x)}if(typeof(x)=="undefined"){x=-1}var o=u.age();var n=(!isNaN(o)&&o>Math.floor(l.TIMEOUT*this.wait));var q=(u.dead!==null&&u.timeDead()>Math.floor(l.SECONDARY_TIMEOUT*this.wait));var w=(u.xhr.readyState==4&&(x<1||x>=500));if(n||q||w){if(q){l.error("Request "+this._requests[p].id+" timed out (secondary), restarting")}u.abort=true;u.xhr.abort();u.xhr.onreadystatechange=function(){};this._requests[p]=new l.Request(u.xmlData,u.origFunc,u.rid,u.sends);u=this._requests[p]}if(u.xhr.readyState===0){l.debug("request id "+u.id+"."+u.sends+" posting");u.date=new Date();try{u.xhr.open("POST",this.service,true)}catch(t){l.error("XHR open failed.");if(!this.connected){this._changeConnectStatus(l.Status.CONNFAIL,"bad-service")}this.disconnect();return}var v=function(){u.xhr.send(u.data)};if(u.sends>1){var r=Math.pow(u.sends,3)*1000;setTimeout(v,r)}else{v()}u.sends++;this.xmlOutput(u.xmlData);this.rawOutput(u.data)}else{l.debug("_processRequest: "+(p===0?"first":"second")+" request has readyState of "+u.xhr.readyState)}},_throttledRequestHandler:function(){if(!this._requests){l.debug("_throttledRequestHandler called with undefined requests")}else{l.debug("_throttledRequestHandler called with "+this._requests.length+" requests")}if(!this._requests||this._requests.length===0){return}if(this._requests.length>0){this._processRequest(0)}if(this._requests.length>1&&Math.abs(this._requests[0].rid-this._requests[1].rid)=400){this._hitError(o);return}}var n=(this._requests[0]==p);var s=(this._requests[1]==p);if((o>0&&o<500)||p.sends>5){this._removeRequest(p);l.debug("request id "+p.id+" should now be removed")}if(o==200){if(s||(n&&this._requests.length>0&&this._requests[0].age()>Math.floor(l.SECONDARY_TIMEOUT*this.wait))){this._restartRequest(0)}l.debug("request id "+p.id+"."+p.sends+" got 200");q(p);this.errors=0}else{l.error("request id "+p.id+"."+p.sends+" error "+o+" happened");if(o===0||(o>=400&&o<600)||o>=12000){this._hitError(o);if(o>=400&&o<500){this._changeConnectStatus(l.Status.DISCONNECTING,null);this._doDisconnect()}}}if(!((o>0&&o<10000)||p.sends>5)){this._throttledRequestHandler()}}},_hitError:function(n){this.errors++;l.warn("request errored, status: "+n+", number of errors: "+this.errors);if(this.errors>4){this._onDisconnectTimeout()}},_doDisconnect:function(){l.info("_doDisconnect was called");this.authenticated=false;this.disconnecting=false;this.sid=null;this.streamId=null;this.rid=Math.floor(Math.random()*4294967295);if(this.connected){this._changeConnectStatus(l.Status.DISCONNECTED,null);this.connected=false}this.handlers=[];this.timedHandlers=[];this.removeTimeds=[];this.removeHandlers=[];this.addTimeds=[];this.addHandlers=[]},_dataRecv:function(v){try{var n=v.getResponse()}catch(t){if(t!="parsererror"){throw t}this.disconnect("strophe-parsererror")}if(n===null){return}this.xmlInput(n);this.rawInput(l.serialize(n));var r,p;while(this.removeHandlers.length>0){p=this.removeHandlers.pop();r=this.handlers.indexOf(p);if(r>=0){this.handlers.splice(r,1)}}while(this.addHandlers.length>0){this.handlers.push(this.addHandlers.pop())}if(this.disconnecting&&this._requests.length===0){this.deleteTimedHandler(this._disconnectTimeout);this._disconnectTimeout=null;this._doDisconnect();return}var o=n.getAttribute("type");var u,q;if(o!==null&&o=="terminate"){u=n.getAttribute("condition");q=n.getElementsByTagName("conflict");if(u!==null){if(u=="remote-stream-error"&&q.length>0){u="conflict"}this._changeConnectStatus(l.Status.CONNFAIL,u)}else{this._changeConnectStatus(l.Status.CONNFAIL,"unknown")}this.disconnect();return}var s=this;l.forEachChild(n,null,function(z){var x,y;y=s.handlers;s.handlers=[];for(x=0;x0){A="conflict"}this._changeConnectStatus(l.Status.CONNFAIL,A)}else{this._changeConnectStatus(l.Status.CONNFAIL,"unknown")}return}if(!this.sid){this.sid=o.getAttribute("sid")}if(!this.stream_id){this.stream_id=o.getAttribute("authid")}var p=o.getAttribute("requests");if(p){this.window=parseInt(p,10)}var n=o.getAttribute("hold");if(n){this.hold=parseInt(n,10)}var w=o.getAttribute("wait");if(w){this.wait=parseInt(w,10)}var C=false;var r=false;var z=false;var D=o.getElementsByTagName("mechanism");var t,y,v,q;if(D.length>0){for(t=0;t0){o=p[0].getElementsByTagName("jid");if(o.length>0){this.jid=l.getText(o[0]);if(this.do_session){this._addSysHandler(this._sasl_session_cb.bind(this),null,null,null,"_session_auth_2");this.send(j({type:"set",id:"_session_auth_2"}).c("session",{xmlns:l.NS.SESSION}).tree())}else{this.authenticated=true;this._changeConnectStatus(l.Status.CONNECTED,null)}}}else{l.info("SASL binding failed.");this._changeConnectStatus(l.Status.AUTHFAIL,null);return false}},_sasl_session_cb:function(n){if(n.getAttribute("type")=="result"){this.authenticated=true;this._changeConnectStatus(l.Status.CONNECTED,null)}else{if(n.getAttribute("type")=="error"){l.info("Session creation failed.");this._changeConnectStatus(l.Status.AUTHFAIL,null);return false}}return false},_sasl_failure_cb:function(n){if(this._sasl_success_handler){this.deleteHandler(this._sasl_success_handler);this._sasl_success_handler=null}if(this._sasl_challenge_handler){this.deleteHandler(this._sasl_challenge_handler);this._sasl_challenge_handler=null}this._changeConnectStatus(l.Status.AUTHFAIL,null);return false},_auth2_cb:function(n){if(n.getAttribute("type")=="result"){this.authenticated=true;this._changeConnectStatus(l.Status.CONNECTED,null)}else{if(n.getAttribute("type")=="error"){this._changeConnectStatus(l.Status.AUTHFAIL,null);this.disconnect()}}return false},_addSysTimedHandler:function(p,o){var n=new l.TimedHandler(p,o);n.user=false;this.addTimeds.push(n);return n},_addSysHandler:function(r,q,o,p,s){var n=new l.Handler(r,q,o,p,s);n.user=false;this.addHandlers.push(n);return n},_onDisconnectTimeout:function(){l.info("_onDisconnectTimeout was called");var n;while(this._requests.length>0){n=this._requests.pop();n.abort=true;n.xhr.abort();n.xhr.onreadystatechange=function(){}}this._doDisconnect();return false},_onIdle:function(){var p,r,t,q;while(this.removeTimeds.length>0){r=this.removeTimeds.pop();p=this.timedHandlers.indexOf(r);if(p>=0){this.timedHandlers.splice(p,1)}}while(this.addTimeds.length>0){this.timedHandlers.push(this.addTimeds.pop())}var o=new Date().getTime();q=[];for(p=0;p0&&!this.paused){n=this._buildBody();for(p=0;p0){s=this._requests[0].age();if(this._requests[0].dead!==null){if(this._requests[0].timeDead()>Math.floor(l.SECONDARY_TIMEOUT*this.wait)){this._throttledRequestHandler()}}if(s>Math.floor(l.TIMEOUT*this.wait)){l.warn("Request "+this._requests[0].id+" timed out, over "+Math.floor(l.TIMEOUT*this.wait)+" seconds since last activity");this._throttledRequestHandler()}}clearTimeout(this._idleTimeout);this._idleTimeout=setTimeout(this._onIdle.bind(this),100)}};if(m){m(l,h,f,j,g)}})(function(){window.Strophe=arguments[0];window.$build=arguments[1];window.$msg=arguments[2];window.$iq=arguments[3];window.$pres=arguments[4]});Strophe.addConnectionPlugin("cors",{init:function(){if(window.XDomainRequest){Strophe.debug("CORS with IE");Strophe.Request.prototype._newXHR=function(){var f=function(l,j){l.status=j;l.readyState=4;try{l.onreadystatechange()}catch(h){}l.readyState=0;try{l.onreadystatechange()}catch(h){}};var g=new XDomainRequest();g.readyState=0;g.onreadystatechange=this.func.prependArg(this);g.onload=function(){xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async="false";xmlDoc.loadXML(g.responseText);g.responseXML=xmlDoc;f(g,200)};g.onerror=function(){f(g,500)};g.ontimeout=function(){f(g,500)};return g}}else{if(new  ().withCredentials!==undefined){Strophe.debug("CORS with Firefox/Safari/Chome")}else{if(flensed&&flensed.flXHR){Strophe.debug("CORS not supported, using flXHR");Strophe.Request.prototype._newXHR=function(){var f=new flensed.flXHR({autoUpdatePlayer:true,instancePooling:true,noCacheHeader:false});f.onreadystatechange=this.func.prependArg(this);return f}}else{Strophe.error("No CORS and no flXHR. You may experience cross domain turbulence.")}}}}});Phono.util={guid:function(){return b.hexdigest((new Date()).getTime())},escapeXmppNode:function(f){var g=f;g=g.replace(/\\/g,"\\5c");g=g.replace(/ /g,"\\20");g=g.replace(/\"/,"\\22");g=g.replace(/&/g,"\\26");g=g.replace(/\'/,"\\27");g=g.replace(/\//g,"\\2f");g=g.replace(/:/g,"\\3a");g=g.replace(//g,"\\3e");g=g.replace(/@/g,"\\40");return g},each:function(j,o,h){var g,l=0,m=j.length,f=m===undefined||jQuery.isFunction(j);if(h){if(f){for(g in j){if(o.apply(j[g],h)===false){break}}}else{for(;lFlash version "+f.version+" or greater is required

"+(v[0]>0?"Your version is "+v:"You have no flash plugin installed")+"

"+(g.tagName=="A"?"

Click here to download latest version

":"

Download latest version from here

");if(g.tagName=="A"){g.onclick=function(){location.href=s}}}if(f.onFail){var h=f.onFail.call(this);if(typeof h=="string"){g.innerHTML=h}}}}if(u){window[f.id]=document.getElementById(f.id)}w(this,{getRoot:function(){return g},getOptions:function(){return f},getConf:function(){return l},getApi:function(){return g.firstChild}})}var u=document.all,s="http://www.adobe.com/go/getflashplayer",p=typeof jQuery=="function",j=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,t={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}});window.flashembed=function(g,f,h){if(typeof g=="string"){g=document.getElementById(g.replace("#",""))}if(g){if(typeof f=="string"){f={src:f}}return new q(g,w(w({},t),f),h)}};var x=w(window.flashembed,{conf:t,getVersion:function(){var g;try{g=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(f){try{var l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");g=l&&l.GetVariable("$version")}catch(h){}}return(g=j.exec(g))?[g[1],g[3]]:[0,0]},asString:function(g){if(g===null||g===undefined){return null}var f=typeof g;if(f=="object"&&g.push){f="array"}switch(f){case"string":g=g.replace(new RegExp('(["\\\\])',"g"),"\\$1");g=g.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+g+'"';case"array":return"["+r(g,function(l){return x.asString(l)}).join(",")+"]";case"function":return'"function()"';case"object":f=[];for(var h in g){g.hasOwnProperty(h)&&f.push('"'+h+'":'+x.asString(g[h]))}return"{"+f.join(",")+"}"}return String(g).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(g,f){g=w({},g);var m=''}g.width=g.height=g.id=g.w3c=g.src=null;g.onFail=g.version=g.expressInstall=null;for(var l in g){if(g[l]){m+=''}}g="";if(f){for(var h in f){if(f[h]){l=f[h];g+=h+"="+(/function|object/.test(typeof l)?x.asString(l):l)+"&"}}g=g.slice(0,-1);m+='"}m+="";return m},isSupported:function(f){return v[0]>f[0]||v[0]==f[0]&&v[1]>=f[1]}}),v=x.getVersion();if(p){jQuery.tools=jQuery.tools||{version:"1.2.2"};jQuery.tools.flashembed={conf:t};jQuery.fn.flashembed=function(g,f){return this.each(function(){$(this).data("flashembed",flashembed(this,g,f))})}}})();(function(){function f(h,j,m){this.config=Phono.util.extend({swf:"http://s.phono.com/releases/"+Phono.version+"/plugins/audio/phono.audio.swf"},j);Phono.events.bind(this,j);var g=this.config.containerId;if(!g){this.config.containerId=g=this.createContainer()}Phono.events.bind(this,{onPermissionBoxShow:function(){var n=$("#"+g).position();$("#"+g).css("left",parseInt(n.left));$("#"+g).css("top",parseInt(n.top))}});var l=this;FABridge.addInitializationCallback(g,function(){Phono.log.info("FlashAudio Ready");l.$flash=this.create("Wrapper").getAudio();l.$flash.addEventListener(null,function(o){var n=(o.getType()+"");Phono.events.trigger(l,n)});m(l)});flashembed(g,{id:g+"id",src:this.config.swf,wmode:"opaque"},{bridgeName:g})}f.count=0;f.prototype.showPermissionBox=function(){this.$flash.showPermissionBox()};f.prototype.permission=function(){return this.$flash.getHasPermission()};f.prototype.play=function(g,j){var h=this.$flash.play(g,j);return{url:function(){return h.getUrl()},start:function(){h.start()},stop:function(){h.stop()},volume:function(l){if(arguments.length===0){return h.getVolume()}else{h.setVolume(l)}}}};f.prototype.share=function(g,h,l){var j=this.$flash.share(g,h,l.id,l.name,l.rate);return{url:function(){return j.getUrl()},codec:function(){var m=j.getCodec();return{id:m.getId(),name:m.getName(),rate:m.getRate()}},start:function(){j.start()},stop:function(){j.stop()},digit:function(n,o,m){j.digit(n,o,m)},gain:function(m){if(arguments.length===0){return j.getGain()}else{j.setGain(m)}},mute:function(m){if(arguments.length===0){return j.getMute()}else{j.setMute(m)}}}};f.prototype.transport=function(){return{name:this.$flash.getTransport(),description:this.$flash.getDescription()}};f.prototype.codecs=function(){var g=new Array();var h=this.$flash.getCodecs();Phono.util.each(h,function(){g.push({id:this.getId(),name:this.getName(),rate:this.getRate()})});return g};f.prototype.createContainer=function(){var h=$("
").attr("id","_phono-audio-flash"+(f.count++)).addClass("phono_FlashHolder").appendTo("body");h.css({width:"1px",height:"1px",position:"absolute",top:"50%",left:"50%","margin-top":"-69px","margin-left":"-107px","z-index":"10001",visibility:"visible"});var g=$(h).attr("id");Phono.events.bind(this,{onPermissionBoxShow:function(){$("#"+g).css({width:"215px",height:"138px"})},onPermissionBoxHide:function(){$("#"+g).css({width:"1px",height:"1px"})}});return g};Phono.registerPlugin("audio",{create:function(g,h,j){return new f(g,h,j)}})})();(function(){function g(h){this.from=null;this.body=null;this.connection=h}g.prototype.reply=function(h){this.connection.send($msg({to:this.from,type:"chat"}).c("body").t(h))};function f(h,j,l){this.connection=h.connection;this.connection.addHandler(this.handleMessage.bind(this),null,"message","chat");Phono.events.bind(this,j);l(this)}f.prototype.send=function(j,h){this.connection.send($msg({to:j,type:"chat"}).c("body").t(h))};f.prototype.handleMessage=function(j){var h=new g(this.connection);h.from=Strophe.getBareJidFromJid($(j).attr("from"));h.body=$(j).find("body").text();Phono.events.trigger(this,"message",{message:h},[h]);return true};Phono.registerPlugin("messaging",{create:function(h,j,l){return new f(h,j,l)}})})();(function(){Strophe.addNamespace("JINGLE","urn:xmpp:jingle:1");Strophe.addNamespace("JINGLE_SESSION_INFO","urn:xmpp:jingle:apps:rtp:1:info");var j={CONNECTED:0,RINGING:1,DISCONNECTED:2,PROGRESS:3,INITIAL:4};var h={OUTBOUND:0,INBOUND:1};function f(l,p,o,m){var n=this;this.phone=l;this.phono=l.phono;this.audioLayer=this.phono.audio;this.connection=this.phono.connection;this.config=Phono.util.extend({pushToTalk:false,mute:false,talking:false,hold:false,volume:50,gain:50,tones:false},m);Phono.util.each(this.config,function(r,q){if(typeof n[r]=="function"){n[r](q)}});this.id=p;this.direction=o;this.state=j.INITIAL;this.remoteJid=null;this.initiator=null;this.headers=[];if(this.config.headers){this.headers=this.config.headers}Phono.events.bind(this,m);this.ringer=this.audioLayer.play(l.ringTone());this.ringback=this.audioLayer.play(l.ringbackTone())}f.prototype.startAudio=function(l){if(this.input){this.input.start()}if(this.output){if(!this.audioLayer.permission()){Phono.events.trigger(this.audioLayer,"permissionBoxShow")}this.output.start()}};f.prototype.stopAudio=function(l){if(this.input){this.input.stop()}if(this.output){this.output.stop()}};f.prototype.start=function(){var m=this;if(m.state!=j.INITIAL){return}var l=$iq({type:"set",to:m.remoteJid});var o=l.c("jingle",{xmlns:Strophe.NS.JINGLE,action:"session-initiate",initiator:m.initiator,sid:m.id});$(m.headers).each(function(){o.c("custom-header",{name:this.name,data:this.value}).up()});var n=this.audioLayer.codecs()[0];o.c("content",{creator:"initiator"}).c("description",{xmlns:this.audioLayer.transport().description}).c("payload-type",{id:n.id,name:n.name,clockrate:n.rate}).up().up().c("transport",{xmlns:this.audioLayer.transport().description});this.connection.sendIQ(l,function(p){m.state=j.PROGRESS})};f.prototype.accept=function(){var m=this;if(m.state!=j.PROGRESS){return}var l=$iq({type:"set",to:m.remoteJid}).c("jingle",{xmlns:Strophe.NS.JINGLE,action:"session-info",initiator:m.initiator,sid:m.id}).c("ringing",{xmlns:Strophe.NS.JINGLE_SESSION_INFO});this.connection.sendIQ(l,function(n){m.state=j.RINGING;Phono.events.trigger(m,"ring")})};f.prototype.answer=function(){var m=this;if(m.state!=j.RINGING&&m.state!=j.PROGRESS){return}var l=$iq({type:"set",to:m.remoteJid}).c("jingle",{xmlns:Strophe.NS.JINGLE,action:"session-accept",initiator:m.initiator,sid:m.id});this.connection.sendIQ(l,function(n){m.state=j.CONNECTED;Phono.events.trigger(m,"answer");m.ringer.stop();m.startAudio()})};f.prototype.bindAudio=function(l){this.input=l.input;this.output=l.output;this.volume(this.volume());this.gain(this.gain());this.mute(this.mute());this.hold(this.hold());this.pushToTalkStateChanged()};f.prototype.hangup=function(){var m=this;if(m.state!=j.CONNECTED&&m.state!=j.RINGING&&m.state!=j.PROGRESS){return}var l=$iq({type:"set",to:m.remoteJid}).c("jingle",{xmlns:Strophe.NS.JINGLE,action:"session-terminate",initiator:m.initiator,sid:m.id});this.connection.sendIQ(l,function(n){m.state=j.DISCONNECTED;Phono.events.trigger(m,"hangup");m.stopAudio();m.ringer.stop();m.ringback.stop()})};f.prototype.digit=function(l,m){if(!m){m=250}this.output.digit(l,m,this._tones)};f.prototype.pushToTalk=function(l){if(arguments.length===0){return this._pushToTalk}this._pushToTalk=l;this.pushToTalkStateChanged()};f.prototype.talking=function(l){if(arguments.length===0){return this._talking}this._talking=l;this.pushToTalkStateChanged()};f.prototype.mute=function(l){if(arguments.length===0){return this._mute}this._mute=l;if(this.output){this.output.mute(l)}};f.prototype.hold=function(l){};f.prototype.volume=function(l){if(arguments.length===0){return this._volume}this._volume=l;if(this.input){this.input.volume(l)}};f.prototype.tones=function(l){if(arguments.length===0){return this._tones}this._tones=l};f.prototype.gain=function(l){if(arguments.length===0){return this._gain}this._gain=l;if(this.output){this.output.gain(l)}};f.prototype.pushToTalkStateChanged=function(){if(this.input&&this.output){if(this._pushToTalk){if(this._talking){this.input.volume(20);this.output.mute(false)}else{this.input.volume(this._volume);this.output.mute(true)}}else{this.input.volume(this._volume);this.output.mute(false)}}};f.prototype.negotiate=function(p){var m=this;var n=$(p).find("description");var o=null;n.find("payload-type").each(function(){var r=$(this).attr("name");var s=$(this).attr("clockrate");$.each(m.audioLayer.codecs(),function(){if(this.name==r&&this.rate==s){o=this;return false}})});if(!o){return false}var q=$(p).find("transport");var l=false;if(this.audioLayer.transport().name==q.attr("xmlns")){q.find("candidate").each(function(){var r=$(this).attr("rtmpUri")+"/"+$(this).attr("playName");m.bindAudio({input:m.audioLayer.play(r,false),output:m.audioLayer.share(r,false,o)});l=true;return false})}if(!l){return false}return true};function g(m,n,o){var l=this;this.phono=m;this.connection=m.connection;this.calls={};this.config=Phono.util.extend({ringTone:"http://s.phono.com/ringtones/Diggztone_Marimba.mp3",ringbackTone:"http://s.phono.com/ringtones/ringback-us.mp3"},n);Phono.util.each(this.config,function(q,p){if(typeof l[q]=="function"){l[q](p)}});Phono.events.bind(this,n);this.connection.addHandler(this.doJingle.bind(this),Strophe.NS.JINGLE,"iq","set");o(this)}g.prototype.doJingle=function(q){var l=this;var n=this.phono.audio;var p=$(q).find("jingle");var o=p.attr("action")||"";var r=p.attr("sid")||"";var m=this.calls[r]||null;switch(o){case"session-initiate":m=new f(l,r,h.INBOUND);m.phone=l;m.remoteJid=$(q).attr("from");m.initiator=p.attr("initiator");l.calls[m.id]=m;if(!m.negotiate(q)){Phono.log.warn("Failed to negotiate incoming call",q);return true}m.headers=new Array();p.find("custom-header").each(function(){m.headers.push({name:$(this).attr("name"),value:$(this).attr("data")})});m.ringer.start();Phono.events.trigger(this,"incomingCall",{call:m});m.state=j.PROGRESS;m.accept();break;case"session-accept":if(!m.negotiate(q)){Phono.log.warn("Failed to negotiate outbound call",q);return true}m.state=j.CONNECTED;m.ringback.stop();m.startAudio();Phono.events.trigger(m,"answer");break;case"session-terminate":m.state=j.DISCONNECTED;m.stopAudio();m.ringer.stop();m.ringback.stop();Phono.events.trigger(m,"hangup");break;case"session-info":if($(q).find("ringing")){m.state=j.RINGING;m.ringback.start();Phono.events.trigger(m,"ring")}break}this.connection.send($iq({type:"result",id:$(q).attr("id")}));return true};g.prototype.dial=function(o,l){var n=Phono.util.guid();var m=new f(this,n,h.OUTBOUND,l);m.phone=this;m.remoteJid=o;m.initiator=this.connection.jid;this.beforeDial(m);this.calls[m.id]=m;m.start();return m};g.prototype.beforeDial=function(l){var n=l.remoteJid;if(n.match("^sip:")||n.match("^sips:")){l.remoteJid=Phono.util.escapeXmppNode(n.substr(4))+"@sip"}else{if(n.match("^app:")){l.remoteJid=Phono.util.escapeXmppNode(n.substr(4))+"@app"}else{if(n.match("^tel:")){l.remoteJid="9991475834@app";l.headers.push({name:"x-numbertodial",value:n.substr(4)})}else{var m=n.replace(/[\(\)\-\.\ ]/g,"");if(m.match(/^\+?\d+$/)){l.remoteJid="9991475834@app";l.headers.push({name:"x-numbertodial",value:m})}else{if(n.indexOf("@")>0){l.remoteJid=Phono.util.escapeXmppNode(n)+"@sip"}}}}}};g.prototype.ringTone=function(l){if(arguments.length==0){return this._ringTone}this._ringTone=l};g.prototype.ringbackTone=function(l){if(arguments.length==0){return this._ringbackTone}this._ringbackTone=l};Phono.registerPlugin("phone",{create:function(l,m,n){return new g(l,m,n)}})})();function a(f,h,g){this.index=0;this.readyHandler=g;this.config=h;this.phono=f;this.pluginNames=new Array();for(pluginName in Phono.plugins){this.pluginNames.push(pluginName)}}a.prototype.init=function(f,h,g){this.chain()};a.prototype.chain=function(){var f=this;var g=f.pluginNames[this.index];Phono.plugins[g].create(f.phono,f.config[g],function(h){f.phono[g]=h;f.index++;if(f.index===f.pluginNames.length){f.readyHandler.apply(f.phono)}else{f.chain()}})}})();(function(a){a.phono=function(b){return new Phono(b)}})(jQuery);


Sunday, October 10, 2010

donation!


Saturday, March 15, 2008

Currently Listening
Neon Bible
By Arcade Fire
no cars go (whole album is awesome though)
see related

Wishes........who needs 'em......

One of my friends asked me what my three wishes would be. and since I went to all the trouble of typing it up I figured maybe more than just that once person could enjoy it (be bored by it).

what is below is basically just straight up taken from the message I wrote to my friend. so yeah...here


"well unlimited money would be one. because with that I could do lots of things. I could travel any and everywhere I want. I could get top of the line dental care, not that I need it but it would just be nice to have perfect teeth. ha. I could drive anything I wanted and buy any property. I would buy all kinds of different places to live in all over the world so when i visited that place i would always have a place to live. I'd start my own business and it wouldn't matter if I made any profit on it because i wouldn't need the money. buy all the instruments i want  making it plenty easy to have an awesome band. everything would be great because i wouldn't have to sell out. like i wouldn't have to sell out to a big record label with my music and I wouldn't have to sell out any of my awesome businesses.I could make it all how I wanted it to be and wouldn't have to give in to any big wigs. Also it would be great because I could have my own personal tailor and all my clothes would be custom fit to me.

I think I could elaborate even more about the benefits of the money wish but I'll move on. Although I might have trouble thinking  of other things. because in life most if not all of my problems can be solved if I had more money. I pretty much like me how I am (money and money related problems aside). now if we are talkin truly fictional I guess i wouldn't mind havin some superpowers

wait hold the presses!! wisdom.....that would be my first then the money wish. with wisdom i would use my wealth wisely obviously and be able to live a better life and help other people more if I had masterful wisdom.

k, back to the superpowers thing, of course the ability to fly would be nice . but even better i think would be the ability to restore anything to its original state of being before wear and tear and/or deterioration. like for example, you could go to a junk yard and find an old shell of a car and restore it to it original state of production like it was right off of the assembly line. Most likely someone would try to restrict that wish to either only organic things or non-living things (inorganic?) but I would have it work for both so you could have good as new things like cars or guns (not that i care to have a gun) or cool electronics like an mp3 player as well as good as new things like if you found a banana peel you could restore it back to the banana it once was, or you could heal any wounds because you could restore them back to the way it was before the wound or injury. Anyway i've thought that power would be cool for a while now.

If that's not possible then I would like to have some sort of "magical" music player that could play all the music ever created so I could listen to whatever I wanted whenever the urge struck, but it would be really easy to access the music...you wouldn't have to scroll through it to search for what you wanted it would just pop up instead knowing that it was what you wanted to hear.

oh well that's all the deep wish thinking i have in me right now.
what do you think of those? and then when you run out of comments on my stuff then you can gimme yo wishes....."


now of course knowing that I had a definite spot in Heaven would be a good wish. But I figure my wisdom wish would take care of that anyway, cause If I had extreme wisdom then i would be wise enough to do everything that needed to be done throughout my lifetime (obeying God's will to the T) to where I'd automatically go to heaven anyway. So I figure that "wish" is a given and not necessary to include.





Monday, October 08, 2007

Currently Listening
Happy Birthday: The Best of Altered Images
By Altered Images
see related

teeth

yay it'z birthday timeZzZzzzzz


Saturday, September 22, 2007

Currently Listening
The Back Room
By Editors
see related

Model T's

I mean tees, haha.

So my friend Sethy owns a graphic design distribution business with his friend and sometimes they need people to model the shirts they make for the website. They just use their friends since they don't have any money to pay actual models, but they do feed you while your there with pizza or something. Anyway Sethy needed some more people to model shirts recently and he wanted me to help out, so I did. Basically I just went over there and tried on a couple of shirts and took pics in them. I took pictures of a few different shirts on me and I see one of them already up there and thought I would share it with you guys and girls. Mainly because it's just fun to have your pic on a website, haha.

Anyway so here's the link for one of the tee's i "modeled" and you check back on this website later and maybe see some more.

 

http://datapanicdistro.com/product_detail.cfm?prodid=49

 

enjoy, teehee.

 

 



Next 5 >>

Free Web Counter
Free Hit Counter Pirate%20Marmot

<bgsound src="http://www.mediaeater.com/pictures/2002/November_2002/flaming_lips/7807.gif">