text: //@source http://code.eligrey.com/pmxdr/client/0.0.6/pmxdr.js
  (function(){var b=this;if(typeof b.opera!="undefined"&&parseInt(b.opera.version())==9){Event.prototype.__defineGetter__("origin",function(){return"http://"+this.domain})}function a(e,g){var d=this;d.iFrame=document.createElement("iframe");d.iFrame.style.display="none";d.origin=e.replace(a.originRegex,"$1");function f(){if(typeof d.onload=="function"){d.onload()}}if(d.iFrame.addEventListener){d.iFrame.addEventListener("load",f,false)}else{if(d.iFrame.attachEvent){d.iFrame.attachEvent("onload",f)}}d.iFrame.src=d.origin+"/pmxdr/api";if(typeof g=="function"){d.onload=g;d.init()}}a.originRegex=/^([\w-]+:\/*\[?[\w\.:-]+\]?(?::\d+)?).*/;a.request=function(f){if(typeof f=="string"){return a.request({uri:f})}else{if(Object.prototype.toString.call(f)=="[object Array]"){var h=[];for(var e=0;e<f.length;e++){h.push(a.request(f[e]))}return h}}var d=new a(f.uri),g=f.callback;f.id=a.getSafeID();f.callback=function(i){if(typeof g=="function"){g.call(this,i)}this.unload()};d.onload=function(){this.request(f)};d.init();return{abort:function(){a.requests.aborted[f.id]=true}}};a.interfaceFrameParent=document.documentElement||document.getElementsByTagName("head")[0]||document.body||document.getElementsByTagName("body")[0];a.getSafeID=function(){var d=Math.random().toString().substr(2);if(typeof a.requests[d]=="undefined"){return d}else{return safeRandID()}};a.prototype={init:function(d){if(typeof d=="function"){this.onload=d}if(this.iFrame.parentNode){this.unload()}a.interfaceFrameParent.appendChild(this.iFrame)},unload:function(){a.interfaceFrameParent.removeChild(this.iFrame)},defaultRequestMethod:"GET",request:function(k){var d=[],m=this;if(Object.prototype.toString.call(k)=="[object Array]"){for(var g=0;g<k.length;g++){d.push(m.request(k[g]))}return d}var f=(a.requests[k.id]?false:k.id)||a.getSafeID(),e=k.method||m.defaultRequestMethod,j=k.timeout||m.defaultTimeout,l=k.contentType||m.defaultContentType;e=e.toUpperCase();a.requests[f]={origin:m.origin,remove:function(){delete a.requests[f]},callback:function(i){if(typeof k.callback=="function"){k.callback.call(m,i)}a.requests[f].remove()}};function h(){if(a.requests[f]&&a.requests[f].callback){a.requests[f].callback({pmxdr:true,id:f,error:"TIMEOUT"})}}if(l){if(!k.headers){k.headers={}}k.headers["Content-Type"]=l.toString()}m.iFrame.contentWindow.postMessage(JSON.stringify({pmxdr:true,method:e,uri:k.uri,data:k.data,headers:k.headers,id:f}),m.origin);if(j){setTimeout(h,j)}return{abort:a.requests[f].remove}}};a.requests={aborted:{},clear:function(){a.requests={aborted:{},clear:this.clear}},};function c(d){var e=JSON.parse(d.data);if(e.pmxdr==true){if(a.requests[e.id]&&a.requests[e.id].origin==d.origin&&typeof a.requests[e.id].callback=="function"&&!a.requests.aborted[e.id]){a.requests[e.id].callback(e)}else{if(a.requests.aborted[e.id]){delete a.requests.aborted[e.id];if(e.id in a.requests){delete a.requests[e.id]}}}}}if(b.addEventListener){b.addEventListener("message",c,false)}else{if(b.attachEvent){b.attachEvent("onmessage",c)}}a.destruct=function(){if(b.removeEventListener){b.removeEventListener("message",c,false)}else{if(b.detachEvent){b.detachEvent("onmessage",c)}}delete b.pmxdr;delete c};b.pmxdr=a})();if(!this.JSON){JSON={}}if(this.JSON&&(!JSON.stringify||!JSON.parse)){eval(function(h,b,i,d,g,f){g=function(a){return(a<62?"":g(parseInt(a/62)))+((a=a%62)<36?a.toString(36):String.fromCharCode(a+29))};if("0".replace(0,g)==0){while(i--){f[g(i)]=d[i]}d=[function(a){return f[a]||a}];g=function(){return"\\w{1,2}"};i=1}while(i--){if(d[i]){h=h.replace(new RegExp("\\b"+g(i)+"\\b","g"),d[i])}}return h}('(3(){3 f(n){6 n<10?"0"+n:n}2(5 1b.w.7!=="3"){1b.w.7=3(a){6 8.getUTCFullYear()+"-"+f(8.getUTCMonth()+1)+"-"+f(8.getUTCDate())+"T"+f(8.getUTCHours())+":"+f(8.getUTCMinutes())+":"+f(8.getUTCSeconds())+"Z"};O.w.7=Number.w.7=Boolean.w.7=3(a){6 8.valueOf()}}y g=/[\\u0000\\R\\Q-\\1i\\1f\\1e\\1c\\1a-\\19\\18-\\17\\15-\\14\\13\\12-\\11]/g,h=/[\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\R\\Q-\\1i\\1f\\1e\\1c\\1a-\\19\\18-\\17\\15-\\14\\13\\12-\\11]/g,l,m,o={"\\b":"\\\\b","\\t":"\\\\t","\\n":"\\\\n","\\f":"\\\\f","\\r":"\\\\r",\'"\':\'\\\\"\',"\\\\":"\\\\\\\\"},p;3 q(b){h.S=0;6 h.I(b)?\'"\'+b.z(h,3(a){y c=o[a];6 5 c==="G"?c:"\\\\u"+("1h"+a.1g(0).P(16)).1d(-4)})+\'"\':\'"\'+b+\'"\'}3 r(a,b){y i,k,v,c,d=l,e,f=b[a];2(f&&5 f==="x"&&5 f.7==="3"){f=f.7(a)}2(5 p==="3"){f=p.H(b,a,f)}switch(5 f){D"G":6 q(f);D"N":6 isFinite(f)?O(f):"C";D"boolean":D"C":6 O(f);D"x":2(!f){6"C"}l+=m;e=[];2(M.w.P.apply(f)==="[x Array]"){c=f.B;A(i=0;i<c;i+=1){e[i]=r(i,f)||"C"}v=e.B===0?"[]":l?"[\\n"+l+e.E(",\\n"+l)+"\\n"+d+"]":"["+e.E(",")+"]";l=d;6 v}2(p&&5 p==="x"){c=p.B;A(i=0;i<c;i+=1){k=p[i];2(5 k==="G"){v=r(k,f);2(v){e.Y(q(k)+(l?": ":":")+v)}}}}J{A(k X f){2(M.W.H(f,k)){v=r(k,f);2(v){e.Y(q(k)+(l?": ":":")+v)}}}}v=e.B===0?"{}":l?"{\\n"+l+e.E(",\\n"+l)+"\\n"+d+"}":"{"+e.E(",")+"}";l=d;6 v}}2(5 9.K!=="3"){9.K=3(a,b,c){y i;l="";m="";2(5 c==="N"){A(i=0;i<c;i+=1){m+=" "}}J{2(5 c==="G"){m=c}}p=b;2(b&&5 b!=="3"&&(5 b!=="x"||5 b.B!=="N")){V U Error("9.K")}6 r("",{"":a})}}2(5 9.L!=="3"){9.L=3(d,e){y j;3 f(a,b){y k,v,c=a[b];2(c&&5 c==="x"){A(k X c){2(M.W.H(c,k)){v=f(c,k);2(v!==undefined){c[k]=v}J{delete c[k]}}}}6 e.H(a,b,c)}g.S=0;2(g.I(d)){d=d.z(g,3(a){6"\\\\u"+("1h"+a.1g(0).P(16)).1d(-4)})}2(/^[\\],:{}\\s]*$/.I(d.z(/\\\\(?:["\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").z(/"[^"\\\\\\n\\r]*"|true|false|C|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,"]").z(/(?:^|:|,)(?:\\s*\\[)+/g,""))){j=eval("("+d+")");6 5 e==="3"?f({"":j},""):j}V U SyntaxError("9.L")}}})();',[],81,"||if|function||typeof|return|toJSON|this|JSON|||||||||||||||||||||||prototype|object|var|replace|for|length|null|case|join||string|call|test|else|stringify|parse|Object|number|String|toString|u0600|u00ad|lastIndex||new|throw|hasOwnProperty|in|push|||uffff|ufff0|ufeff|u206f|u2060||u202f|u2028|u200f|u200c|Date|u17b5|slice|u17b4|u070f|charCodeAt|0000|u0604".split("|"),0,{}))};
  