if(!this.JSON)this.JSON={};
(function(){function a(h){return h<10?"0"+h:h}function b(h){f.lastIndex=0;return f.test(h)?'"'+h.replace(f,function(l){var i=r[l];return typeof i==="string"?i:"\\u"+("0000"+l.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+h+'"'}function c(h,l){var i,j,k,o,q=e,s,n=l[h];if(n&&typeof n==="object"&&typeof n.toJSON==="function")n=n.toJSON(h);if(typeof g==="function")n=g.call(l,h,n);switch(typeof n){case "string":return b(n);case "number":return isFinite(n)?String(n):"null";case "boolean":case "null":return String(n);
case "object":if(!n)return"null";e+=m;s=[];if(Object.prototype.toString.apply(n)==="[object Array]"){o=n.length;for(i=0;i<o;i+=1)s[i]=c(i,n)||"null";k=s.length===0?"[]":e?"[\n"+e+s.join(",\n"+e)+"\n"+q+"]":"["+s.join(",")+"]";e=q;return k}if(g&&typeof g==="object"){o=g.length;for(i=0;i<o;i+=1){j=g[i];if(typeof j==="string")if(k=c(j,n))s.push(b(j)+(e?": ":":")+k)}}else for(j in n)if(Object.hasOwnProperty.call(n,j))if(k=c(j,n))s.push(b(j)+(e?": ":":")+k);k=s.length===0?"{}":e?"{\n"+e+s.join(",\n"+e)+
"\n"+q+"}":"{"+s.join(",")+"}";e=q;return k}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
f=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,m,r={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},g;if(typeof JSON.stringify!=="function")JSON.stringify=function(h,l,i){var j;m=e="";if(typeof i==="number")for(j=0;j<i;j+=1)m+=" ";else if(typeof i==="string")m=i;if((g=l)&&typeof l!=="function"&&(typeof l!=="object"||typeof l.length!=="number"))throw Error("JSON.stringify");return c("",
{"":h})};if(typeof JSON.parse!=="function")JSON.parse=function(h,l){function i(k,o){var q,s,n=k[o];if(n&&typeof n==="object")for(q in n)if(Object.hasOwnProperty.call(n,q)){s=i(n,q);if(s!==undefined)n[q]=s;else delete n[q]}return l.call(k,o,n)}var j;h=String(h);d.lastIndex=0;if(d.test(h))h=h.replace(d,function(k){return"\\u"+("0000"+k.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(h.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+h+")");return typeof l==="function"?i({"":j},""):j}throw new SyntaxError("JSON.parse");}})();
(function(){function a(){this._object=f&&!r?new f:new window.ActiveXObject("Microsoft.XMLHTTP");this._listeners=[]}function b(g){a.onreadystatechange&&a.onreadystatechange.apply(g);g.dispatchEvent({type:"readystatechange",bubbles:false,cancelable:false,timeStamp:new Date+0})}function c(g){try{g.responseText=g._object.responseText}catch(h){}try{var l;a:{var i=g._object,j=i.responseXML,k=i.responseText;if(m&&k&&j&&!j.documentElement&&i.getResponseHeader("Content-Type").match(/[^\/]+\/[^\+]+\+xml/)){j=
new window.ActiveXObject("Microsoft.XMLDOM");j.async=false;j.validateOnParse=false;j.loadXML(k)}if(j)if(m&&j.parseError!=0||!j.documentElement||j.documentElement&&j.documentElement.tagName=="parsererror"){l=null;break a}l=j}g.responseXML=l}catch(o){}try{g.status=g._object.status}catch(q){}try{g.statusText=g._object.statusText}catch(s){}}function d(g){g._object.onreadystatechange=new window.Function}var f=window.XMLHttpRequest,e=!!window.controllers,m=window.document.all&&!window.opera,r=m&&window.navigator.userAgent.match(/MSIE ([\.0-9]+)/)&&
RegExp.$1==7;if(e&&f.wrapped)a.wrapped=f.wrapped;a.UNSENT=0;a.OPENED=1;a.HEADERS_RECEIVED=2;a.LOADING=3;a.DONE=4;a.prototype.readyState=a.UNSENT;a.prototype.responseText="";a.prototype.responseXML=null;a.prototype.status=0;a.prototype.statusText="";a.prototype.onreadystatechange=null;a.onreadystatechange=null;a.onopen=null;a.onsend=null;a.onabort=null;a.prototype.open=function(g,h,l,i,j){delete this._headers;if(arguments.length<3)l=true;this._async=l;var k=this,o=this.readyState,q;if(m&&l){q=function(){if(o!=
a.DONE){d(k);k.abort()}};window.attachEvent("onunload",q)}a.onopen&&a.onopen.apply(this,arguments);if(arguments.length>4)this._object.open(g,h,l,i,j);else arguments.length>3?this._object.open(g,h,l,i):this._object.open(g,h,l);if(!e&&!m){this.readyState=a.OPENED;b(this)}this._object.onreadystatechange=function(){if(!(e&&!l)){k.readyState=k._object.readyState;c(k);if(k._aborted)k.readyState=a.UNSENT;else{if(k.readyState==a.DONE){d(k);m&&l&&window.detachEvent("onunload",q)}o!=k.readyState&&b(k);o=k.readyState}}}};
a.prototype.send=function(g){a.onsend&&a.onsend.apply(this,arguments);if(g&&g.nodeType){g=window.XMLSerializer?(new window.XMLSerializer).serializeToString(g):g.xml;this._headers["Content-Type"]||this._object.setRequestHeader("Content-Type","application/xml")}this._object.send(g);if(e&&!this._async){this.readyState=a.OPENED;for(c(this);this.readyState<a.DONE;){this.readyState++;b(this);if(this._aborted)break}}};a.prototype.abort=function(){a.onabort&&a.onabort.apply(this,arguments);if(this.readyState>
a.UNSENT)this._aborted=true;this._object.abort();d(this)};a.prototype.getAllResponseHeaders=function(){return this._object.getAllResponseHeaders()};a.prototype.getResponseHeader=function(g){return this._object.getResponseHeader(g)};a.prototype.setRequestHeader=function(g,h){if(!this._headers)this._headers={};this._headers[g]=h;return this._object.setRequestHeader(g,h)};a.prototype.addEventListener=function(g,h,l){for(var i=0,j;j=this._listeners[i];i++)if(j[0]==g&&j[1]==h&&j[2]==l)return;this._listeners.push([g,
h,l])};a.prototype.removeEventListener=function(g,h,l){for(var i=0,j;j=this._listeners[i];i++)if(j[0]==g&&j[1]==h&&j[2]==l)break;j&&this._listeners.splice(i,1)};a.prototype.dispatchEvent=function(g){g={type:g.type,target:this,currentTarget:this,eventPhase:2,bubbles:g.bubbles,cancelable:g.cancelable,timeStamp:g.timeStamp,stopPropagation:function(){},preventDefault:function(){},initEvent:function(){}};if(g.type=="readystatechange"&&this.onreadystatechange)(this.onreadystatechange.handleEvent||this.onreadystatechange).apply(this,
[g]);for(var h=0,l;l=this._listeners[h];h++)if(l[0]==g.type&&!l[2])(l[1].handleEvent||l[1]).apply(this,[g])};a.prototype.toString=function(){return"[object XMLHttpRequest]"};a.toString=function(){return"[XMLHttpRequest]"};if(!window.Function.prototype.apply)window.Function.prototype.apply=function(g,h){h||(h=[]);g.__func=this;g.__func(h[0],h[1],h[2],h[3],h[4]);delete g.__func};window.XMLHttpRequest=a})();
function SHA1(a){function b(n,t){return n<<t|n>>>32-t}function c(n){var t="",v,u;for(v=7;v>=0;v--){u=n>>>v*4&15;t+=u.toString(16)}return t}var d,f,e=Array(80),m=1732584193,r=4023233417,g=2562383102,h=271733878,l=3285377520,i,j,k,o,q;a=function(n){n=n.replace(/\r\n/g,"\n");for(var t="",v=0;v<n.length;v++){var u=n.charCodeAt(v);if(u<128)t+=String.fromCharCode(u);else{if(u>127&&u<2048)t+=String.fromCharCode(u>>6|192);else{t+=String.fromCharCode(u>>12|224);t+=String.fromCharCode(u>>6&63|128)}t+=String.fromCharCode(u&
63|128)}}return t}(a);i=a.length;var s=[];for(d=0;d<i-3;d+=4){f=a.charCodeAt(d)<<24|a.charCodeAt(d+1)<<16|a.charCodeAt(d+2)<<8|a.charCodeAt(d+3);s.push(f)}switch(i%4){case 0:d=2147483648;break;case 1:d=a.charCodeAt(i-1)<<24|8388608;break;case 2:d=a.charCodeAt(i-2)<<24|a.charCodeAt(i-1)<<16|32768;break;case 3:d=a.charCodeAt(i-3)<<24|a.charCodeAt(i-2)<<16|a.charCodeAt(i-1)<<8|128}for(s.push(d);s.length%16!=14;)s.push(0);s.push(i>>>29);s.push(i<<3&4294967295);for(a=0;a<s.length;a+=16){for(d=0;d<16;d++)e[d]=
s[a+d];for(d=16;d<=79;d++)e[d]=b(e[d-3]^e[d-8]^e[d-14]^e[d-16],1);f=m;i=r;j=g;k=h;o=l;for(d=0;d<=19;d++){q=b(f,5)+(i&j|~i&k)+o+e[d]+1518500249&4294967295;o=k;k=j;j=b(i,30);i=f;f=q}for(d=20;d<=39;d++){q=b(f,5)+(i^j^k)+o+e[d]+1859775393&4294967295;o=k;k=j;j=b(i,30);i=f;f=q}for(d=40;d<=59;d++){q=b(f,5)+(i&j|i&k|j&k)+o+e[d]+2400959708&4294967295;o=k;k=j;j=b(i,30);i=f;f=q}for(d=60;d<=79;d++){q=b(f,5)+(i^j^k)+o+e[d]+3395469782&4294967295;o=k;k=j;j=b(i,30);i=f;f=q}m=m+f&4294967295;r=r+i&4294967295;g=g+j&
4294967295;h=h+k&4294967295;l=l+o&4294967295}q=c(m)+c(r)+c(g)+c(h)+c(l);return q.toLowerCase()}
var PluginDetect={handler:function(a,b,c){return function(){a(b,c)}},isDefined:function(a){return typeof a!="undefined"},isArray:function(a){return a&&a.constructor===Array},isFunc:function(a){return typeof a=="function"},isString:function(a){return typeof a=="string"},num:function(a){return this.isString(a)&&/\d/.test(a)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(a,b){var c=this.num(a)?(this.isDefined(b)?RegExp(b):this.getNumRegx).exec(a):null;return c?c[0].replace(this.splitNumRegx,
","):null},compareNums:function(a,b,c){var d=parseInt;if(this.num(a)&&this.num(b)){if(this.isDefined(c)&&c.compareNums)return c.compareNums(a,b);a=a.split(this.splitNumRegx);b=b.split(this.splitNumRegx);for(c=0;c<Math.min(a.length,b.length);c++){if(d(a[c],10)>d(b[c],10))return 1;if(d(a[c],10)<d(b[c],10))return-1}}return 0},formatNum:function(a){var b;if(!this.num(a))return null;b=a.replace(/\s/g,"").split(this.splitNumRegx).concat(["0","0","0","0"]);for(a=0;a<4;a++)if(/^(0+)(.+)$/.test(b[a]))b[a]=
RegExp.$2;/\d/.test(b[0])||(b[0]="0");return b.slice(0,4).join(",")},$$hasMimeType:function(a){return function(b){if(!a.isIE){var c,d,f=a.isString(b)?[b]:b;for(b=0;b<f.length;b++)if(/[^\s]/.test(f[b])&&(c=navigator.mimeTypes[f[b]])&&(d=c.enabledPlugin)&&(d.name||d.description))return c}return null}},findNavPlugin:function(a,b){var c=this.isString(a)?a:a.join(".*"),d=b===false?"":"\\d";d=RegExp(c+".*"+d+"|"+d+".*"+c,"i");var f=navigator.plugins;for(c=0;c<f.length;c++)if(d.test(f[c].description)||d.test(f[c].name))return f[c];
return null},AXO:window.ActiveXObject,getAXO:function(a,b){var c=null,d=false;try{c=new this.AXO(a);d=true}catch(f){}if(this.isDefined(b)){delete c;return d}return c},convertFuncs:function(a){var b,c,d=/^[\$][\$]/,f={};for(b in a)if(d.test(b))f[b]=1;for(b in f)try{c=b.slice(2);if(c.length>0&&!a[c])a[c]=a[b](a)}catch(e){}},initScript:function(){var a=navigator,b=this.isString(a.userAgent)?a.userAgent:"",c=this.isString(a.vendor)?a.vendor:"";a=this.isString(a.platform)?a.platform:"";this.OS=/win/i.test(a)?
1:/mac/i.test(a)?2:/linux/i.test(a)?3:4;this.convertFuncs(this);this.IEver=(this.isIE=false)&&/MSIE\s*(\d\.?\d*)/i.exec(b)?parseFloat(RegExp.$1,10):-1;this.ActiveXEnabled=false;if(this.isIE){var d=["Msxml2.XMLHTTP","Msxml2.DOMDocument","Microsoft.XMLDOM","ShockwaveFlash.ShockwaveFlash","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(a=0;a<d.length;a++)if(this.getAXO(d[a],1)){this.ActiveXEnabled=true;break}this.head=this.isDefined(document.getElementsByTagName)?document.getElementsByTagName("head")[0]:
null}this.GeckoRV=(this.isGecko=!this.isIE&&this.isString(navigator.product)&&/Gecko/i.test(navigator.product)&&/Gecko\s*\/\s*\d/i.test(b))?this.formatNum(/rv\s*\:\s*([\.\,\d]+)/i.test(b)?RegExp.$1:"0.9"):null;this.isSafari=!this.isIE&&/Safari\s*\/\s*\d/i.test(b)&&/Apple/i.test(c);this.isChrome=!this.isIE&&/Chrome\s*\/\s*\d/i.test(b);this.isOpera=!this.isIE&&/Opera\s*[\/]?\s*\d/i.test(b);this.addWinEvent("load",this.handler(this.runWLfuncs,this))},init:function(a,b){var c;if(!this.isString(a))return-3;
if(a.length==1){this.getVersionDelimiter=a;return-3}c=this[a.toLowerCase().replace(/\s/g,"")];if(!c||!c.getVersion)return-3;this.plugin=c;if(!this.isDefined(c.installed)||b==true){c.installed=c.version=c.version0=c.getVersionDone=null;c.$=this}this.garbage=false;if(this.isIE&&!this.ActiveXEnabled)if(c!==this.java)return-2;return 1},fPush:function(a,b){if(this.isArray(b)&&(this.isFunc(a)||this.isArray(a)&&a.length>0&&this.isFunc(a[0])))b[b.length]=a},callArray:function(a){var b;if(this.isArray(a))for(b=
0;b<a.length;b++){if(a[b]===null)break;this.call(a[b]);a[b]=null}},call:function(a){var b=this.isArray(a)?a.length:-1;if(b>0&&this.isFunc(a[0]))a[0](this,b>1?a[1]:0,b>2?a[2]:0,b>3?a[3]:0);else this.isFunc(a)&&a(this)},$$isMinVersion:function(a){return function(b,c,d,f){var e=a.init(b);b=-1;if(e<0)return e;e=a.plugin;c=a.formatNum(typeof c=="number"?c.toString():a.isString(c)?a.getNum(c):"0");if(!a.num(c))return-3;if(e.getVersionDone!=1){e.getVersion(d,f);if(e.getVersionDone===null)e.getVersionDone=
1}a.cleanup();if(e.installed!==null)b=e.installed<=0.5?e.installed:e.version===null?0:a.compareNums(e.version,c,e)>=0?1:-1;return b}},getVersionDelimiter:",",$$getVersion:function(a){return function(b,c,d){if(a.init(b)<0)return null;b=a.plugin;if(b.getVersionDone!=1){b.getVersion(c,d);if(b.getVersionDone===null)b.getVersionDone=1}a.cleanup();return(c=b.version||b.version0)?c.replace(a.splitNumRegx,a.getVersionDelimiter):c}},cleanup:function(){this.garbage&&this.isDefined(window.CollectGarbage)&&window.CollectGarbage()},
isActiveXObject:function(a){a='<object width="1" height="1" style="display:none" '+this.plugin.getCodeBaseVersion(a)+">"+this.plugin.HTML+"</object>";this.head.firstChild?this.head.insertBefore(document.createElement("object"),this.head.firstChild):this.head.appendChild(document.createElement("object"));this.head.firstChild.outerHTML=a;try{this.head.firstChild.classid=this.plugin.classID}catch(b){}a=false;try{if(this.head.firstChild.object)a=true}catch(c){}try{if(a&&this.head.firstChild.readyState<
4)this.garbage=true}catch(d){}this.head.removeChild(this.head.firstChild);return a},codebaseSearch:function(a){var b=this;if(!b.ActiveXEnabled)return null;if(b.isDefined(a))return b.isActiveXObject(a);var c=[0,0,0,0],d,f=b.plugin.digits,e=function(h,l){return b.isActiveXObject((h==0?l:c[0])+","+(h==1?l:c[1])+","+(h==2?l:c[2])+","+(h==3?l:c[3]))},m,r,g=false;for(a=0;a<f.length;a++){m=f[a]*2;for(d=c[a]=0;d<20;d++){if(m==1&&a>0&&g)break;if(m-c[a]>1){r=Math.round((m+c[a])/2);if(e(a,r)){c[a]=r;g=true}else m=
r}else{m-c[a]==1&&m--;if(!g&&e(a,m))g=true;break}}if(!g)return null}return c.join(",")},addWinEvent:function(a,b){var c=window,d;if(this.isFunc(b))if(c.addEventListener)c.addEventListener(a,b,false);else if(c.attachEvent)c.attachEvent("on"+a,b);else{d=c["on"+a];c["on"+a]=this.winHandler(b,d)}},winHandler:function(a,b){return function(){a();typeof b=="function"&&b()}},WLfuncs:[0],runWLfuncs:function(a){a.winLoaded=true;a.callArray(a.WLfuncs);a.onDoneEmptyDiv&&a.onDoneEmptyDiv()},winLoaded:false,$$onWindowLoaded:function(a){return function(b){a.winLoaded?
a.call(b):a.fPush(b,a.WLfuncs)}},$$onDetectionDone:function(a){return function(b,c,d,f){var e;if(a.init(b)==-3)return-1;e=a.plugin;if(e.getVersionDone!=1)a.isMinVersion?a.isMinVersion(b,"0",d,f):a.getVersion(b,d,f);if(e.installed!=-0.5&&e.installed!=0.5){a.call(c);return 1}if(e!==a.java)return 1;return 1}},div:null,divWidth:50,pluginSize:1,emptyDiv:function(){var a,b,c;if(this.div&&this.div.childNodes)for(a=this.div.childNodes.length-1;a>=0;a--)if((c=this.div.childNodes[a])&&c.childNodes){for(b=c.childNodes.length-
1;b>=0;b--)c.removeChild(c.childNodes[b]);this.div.removeChild(c)}},onDoneEmptyDiv:function(){if(this.winLoaded)if(!(this.WLfuncs&&this.WLfuncs.length>0&&this.isFunc(this.WLfuncs[this.WLfuncs.length-1]))){if(this.java){if(this.java.OTF==3)return;if(this.java.funcs&&this.java.funcs.length>0&&this.isFunc(this.java.funcs[this.java.funcs.length-1]))return}this.emptyDiv()}},getObject:function(a,b){var c=null,d=this.getContainer(a);try{if(d&&d.firstChild)c=d.firstChild;b&&c&&c.focus()}catch(f){}return c},
getContainer:function(a){return a&&a[0]?a[0]:null},instantiate:function(a,b,c,d){var f=document,e=this,m,r=f.createElement("span"),g,h=function(k,o){var q=k.style,s;if(q){q.outline="none";q.border="none";q.padding="0px";q.margin="0px";q.visibility="visible";if(e.isArray(o))for(s=0;s<o.length;s+=2)try{q[o[s]]=o[s+1]}catch(n){}}},l=function(){var k=null,o=f.getElementsByTagName("body")[0]||f.body;if(!o)try{f.write('<div id="pd33993399">o</div>');k=f.getElementById("pd33993399")}catch(q){}if(o=f.getElementsByTagName("body")[0]||
f.body){o.firstChild&&e.isDefined(o.insertBefore)?o.insertBefore(e.div,o.firstChild):o.appendChild(e.div);k&&o.removeChild(k)}};e.isDefined(d)||(d="");if(e.isString(a)&&/[^\s]/.test(a)){m="<"+a+' width="'+e.pluginSize+'" height="'+e.pluginSize+'" ';for(g=0;g<b.length;g+=2)if(/[^\s]/.test(b[g+1]))m+=b[g]+'="'+b[g+1]+'" ';m+=">";for(g=0;g<c.length;g+=2)if(/[^\s]/.test(c[g+1]))m+='<param name="'+c[g]+'" value="'+c[g+1]+'" />';m+=d+"</"+a+">"}else m=d;if(!e.div){e.div=f.createElement("div");if(a=f.getElementById("plugindetect"))e.div=
a;else{e.div.id="plugindetect";l()}h(e.div,["width",e.divWidth+"px","height",e.pluginSize+3+"px","fontSize",e.pluginSize+3+"px","lineHeight",e.pluginSize+3+"px","verticalAlign","baseline","display","block"]);a||h(e.div,["position","absolute","right","0px","top","0px"])}if(e.div&&e.div.parentNode){e.div.appendChild(r);h(r,["fontSize",e.pluginSize+3+"px","lineHeight",e.pluginSize+3+"px","verticalAlign","baseline","display","inline"]);try{r&&r.parentNode&&r.focus()}catch(i){}try{r.innerHTML=m}catch(j){}r.childNodes.length==
1&&!(e.isGecko&&e.compareNums(e.GeckoRV,"1,5,0,0")<0)&&h(r.firstChild,["display","inline"]);return[r]}return[null]},quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="A14999.mov" /><param name="controller" value="false" />',getCodeBaseVersion:function(a){return'codebase="#version='+
a+'"'},digits:[8,64,16,0],getVersion:function(){var a=this.$,b=null,c;if(a.isIE)if(a.IEver>=this.minIEver){this.BIfuncs&&a.callArray(this.BIfuncs);b=a.codebaseSearch()}else{if((c=a.getAXO(this.progID))&&c.QuickTimeVersion){b=c.QuickTimeVersion.toString(16);b=b.charAt(0)+"."+b.charAt(1)+"."+b.charAt(2)}}else if(a.OS!=3)if((c=a.findNavPlugin(["QuickTime","(Plug-in|Plugin)"]))&&c.name&&a.hasMimeType(this.mimeType))b=a.getNum(c.name);this.installed=b?1:-1;if(b=a.formatNum(b)){c=b.split(a.splitNumRegx);
if(a.isIE&&a.compareNums(b,"7,50,0,0")>=0&&a.compareNums(b,"7,60,0,0")<0)c=[c[0],c[1].charAt(0),c[1].charAt(1),c[2]];c[3]="0";b=c.join(",")}this.version=a.formatNum(b)}},devalvr:{mimeType:"application/x-devalvrx",progID:"DevalVRXCtrl.DevalVRXCtrl.1",classID:"clsid:5D2CF9D0-113A-476B-986F-288B54571614",getVersion:function(){var a=null,b,c=this.$;if(c.isIE){var d;if(b=c.getAXO(this.progID,1)){d=c.instantiate("object",["classid",this.classID],["src",""],"",this);if(d=c.getObject(d))try{if(d.pluginversion){a=
"00000000"+d.pluginversion.toString(16);a=a.substr(a.length-8,8);a=parseInt(a.substr(0,2),16)+","+parseInt(a.substr(2,2),16)+","+parseInt(a.substr(4,2),16)+","+parseInt(a.substr(6,2),16)}}catch(f){}}this.installed=a?1:b?0:-1}else{if((b=c.findNavPlugin("DevalVR"))&&b.name&&c.hasMimeType(this.mimeType))a=b.description.split(" ")[3];this.installed=a?1:-1}this.version=c.formatNum(a)}},flash:{mimeType:["application/x-shockwave-flash","application/futuresplash"],progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",
getVersion:function(){var a=function(g){if(!g)return null;return(g=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(g))?g[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null},b,c=this.$,d=null,f=null,e=null;if(c.isIE){for(b=15;b>2;b--)if(f=c.getAXO(this.progID+"."+b)){e=b.toString();break}if(e=="6")try{f.AllowScriptAccess="always"}catch(m){return"6,0,21,0"}try{d=a(f.GetVariable("$version"))}catch(r){}if(!d&&e)d=e}else if((b=c.findNavPlugin("Flash"))&&b.description&&c.hasMimeType(this.mimeType))d=a(b.description);
this.installed=d?1:-1;this.version=c.formatNum(d);return true}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var a=null,b=null,c=this.$;if(c.isIE){try{b=c.getAXO(this.progID).ShockwaveVersion("")}catch(d){}if(c.isString(b)&&b.length>0)a=c.getNum(b);else if(c.getAXO(this.progID+".8",1))a="8";else if(c.getAXO(this.progID+".7",1))a="7";else if(c.getAXO(this.progID+".1",1))a="6"}else if((b=c.findNavPlugin("Shockwave for Director"))&&
b.description&&c.hasMimeType(this.mimeType))a=c.getNum(b.description);this.installed=a?1:-1;this.version=c.formatNum(a)}},windowsmediaplayer:{mimeType:["application/x-mplayer2","application/asx"],progID:"wmplayer.ocx",classID:"clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6",getVersion:function(){var a=null,b=this.$,c=null;this.installed=-1;if(b.isIE){if(c=b.getAXO(this.progID))a=c.versionInfo}else if(b.hasMimeType(this.mimeType)){if(b.findNavPlugin(["Windows","Media","(Plug-in|Plugin)"],false)||b.findNavPlugin(["Flip4Mac",
"Windows","Media"],false))this.installed=0;if(!(b.isGecko&&b.compareNums(b.GeckoRV,b.formatNum("1.8"))<0)&&b.findNavPlugin(["Windows","Media","Firefox Plugin"],false)){c=b.instantiate("object",["type",this.mimeType[0]],[],"",this);if(c=b.getObject(c))a=c.versionInfo}}if(a)this.installed=1;this.version=b.formatNum(a)}},silverlight:{mimeType:"application/x-silverlight",progID:"AgControl.AgControl",digits:[9,20,9,12,31],getVersion:function(){var a=this.$,b=null,c=null,d=false,f=[1,0,1,1,1],e=[1,0,1,
1,1],m=function(h){return(h<10?"0":"")+h.toString()},r=function(h,l,i,j,k){try{return c.IsVersionSupported(h+"."+l+"."+i+m(j)+m(k)+".0")}catch(o){}return false};if(a.isIE){c=a.getAXO(this.progID);var g;if(c&&r(f[0],f[1],f[2],f[3],f[4])){for(f=0;f<this.digits.length;f++){g=e[f];for(g=g+(f==0?0:1);g<=this.digits[f];g++)if(r(f==0?g:e[0],f==1?g:e[1],f==2?g:e[2],f==3?g:e[3],f==4?g:e[4])){d=true;e[f]=g}else break;if(!d)break}if(d)b=e[0]+"."+e[1]+"."+e[2]+m(e[3])+m(e[4])+".0"}}else{e=[null,null];e=a.findNavPlugin("Silverlight Plug-in",
false);g=a.isGecko&&a.compareNums(a.GeckoRV,a.formatNum("1.6"))<=0;if(e&&a.hasMimeType(this.mimeType)){if(b=a.formatNum(e.description)){e=b.split(a.splitNumRegx);if(parseInt(e[2],10)>=30226&&parseInt(e[0],10)<2)e[0]="2";b=e.join(",")}if(a.isGecko&&!g)d=true;if(!d&&!g&&b){e=a.instantiate("object",["type",this.mimeType],[],"",this);if(c=a.getObject(e)){if(r(f[0],f[1],f[2],f[3],f[4]))d=true;if(!d){c.data="data:"+this.mimeType+",";if(r(f[0],f[1],f[2],f[3],f[4]))d=true}}}}}this.installed=d&&b?1:b?-0.2:
-1;this.version=a.formatNum(b)}},vlc:{mimeType:"application/x-vlc-plugin",progID:"VideoLAN.VLCPlugin",compareNums:function(a,b){var c=this.$,d=a.split(c.splitNumRegx);c=b.split(c.splitNumRegx);var f,e,m,r,g;for(f=0;f<Math.min(d.length,c.length);f++){/([\d]+)([a-z]?)/.test(d[f]);e=parseInt(RegExp.$1,10);r=f==2&&RegExp.$2.length>0?RegExp.$2.charCodeAt(0):-1;/([\d]+)([a-z]?)/.test(c[f]);m=parseInt(RegExp.$1,10);g=f==2&&RegExp.$2.length>0?RegExp.$2.charCodeAt(0):-1;if(e!=m)return e>m?1:-1;if(f==2&&r!=
g)return r>g?1:-1}return 0},getVersion:function(){var a=this.$,b,c=null;if(a.isIE){if(b=a.getAXO(this.progID))try{c=a.getNum(b.VersionInfo,"[\\d][\\d\\.]*[a-z]*")}catch(d){}this.installed=b?1:-1}else{if(a.hasMimeType(this.mimeType))if((b=a.findNavPlugin(["VLC","(Plug-in|Plugin)"],false))&&b.description)c=a.getNum(b.description,"[\\d][\\d\\.]*[a-z]*");this.installed=c?1:-1}this.version=a.formatNum(c)}},adobereader:{mimeType:"application/pdf",progID:["AcroPDF.PDF","PDF.PdfCtrl"],classID:"clsid:CA8A9780-280D-11CF-A24D-444553540000",
savedResults:{},matchMime2Plugin:function(a,b){var c;if((c=this.$.hasMimeType(a))&&(c=c.enabledPlugin)&&(c.description&&b.test(c.description)||c.name&&b.test(c.name)))return c;return 0},pluginHasMimeType:function(a,b,c){for(var d in a)if(a[d]&&a[d].type&&a[d].type==b)return 1;if(this.matchMime2Plugin(b,c))return 1;return 0},getVersion:function(a){var b=this.$,c=p=null,d=null,f,e;a=b.isString(a)&&a.length?a.replace(/\s/,"").toLowerCase():this.mimeType;e=this.savedResults;if(e[a]){this.installed=e[a].installed;
this.version=e[a].version}else{if(b.isIE){p=b.getAXO(this.progID[0])||b.getAXO(this.progID[1]);try{d=(p||b.getObject(b.instantiate("object",["classid",this.classID],["src",""],"",this))).GetVersions().split(",")[0].split("=")[1]}catch(m){}this.installed=d?1:p?0:-1}else{this.getVersionDone=0;if(b.hasMimeType(this.mimeType)){f=/Adobe.*PDF\s*Plug-?in|Adobe.*Acrobat\s*Plug-?in|Adobe.*Reader\s*Plug-?in/i;c=this.matchMime2Plugin(a,f);if(!c&&!b.isDefined(e.navPlugin))e.navPlugin=b.findNavPlugin("(Adobe.*PDF\\s*Plug-?in|Adobe.*Acrobat\\s*Plug-?in|Adobe.*Reader\\s*Plug-?in)",
false);if(p=c||e.navPlugin)d=b.getNum(p.description)||b.getNum(p.name)||b.getNum(p.version);if(p&&!d)if(this.pluginHasMimeType(p,"application/vnd.adobe.pdfxml",f))d="9";else if(this.pluginHasMimeType(p,"application/vnd.adobe.x-mars",f))d="8"}this.installed=c&&d?1:c?0:e.navPlugin?-0.2:-1}if(d=b.formatNum(d)){d=d.split(",");d[3]="0";d=d.join(",")}this.version=d;e[a]={version:this.version,installed:this.installed}}}},zz:0};PluginDetect.initScript();var DEBUG=false;
function log(a){if(DEBUG===true){var b="";if(arguments.length>1)b=[].slice.call(arguments,1).join("; ");console.log(a,b)}}
var BFGSuite={data:{},browserString:function(){var a=[navigator.userAgent,navigator.appVersion];log("Navigator",a);return this.data.navigator=a},pluginEnum:function(){for(var a=navigator.plugins,b=[],c=0;c<a.length;c++){b.push(a[c].name+"("+a[c].version+")");log("Enumerated Plugin: ",a[c].name,a[c].version)}return this.data.plugin_enum=b},pluginDetect:function(){var a=["Java","QuickTime","DevalVR","Shockwave","Flash","WindowsMediaPlayer","Silverlight","VLC"],b=[];for(pName in a){var c=a[pName],d=
PluginDetect.getVersion(c);d?b.push(c+" "+d):b.push(c+" not found")}return this.data.plugin_detect=b},screenSize:function(){var a=[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth];this.data.screen_info=a;log("Screen Size",a);return a},cookiesEnabled:function(){var a=navigator.cookieEnabled?true:false;if(typeof navigator.cookieEnabled=="undefined"&&!a){document.cookie="testcookie";a=document.cookie.indexOf("testcookie")!=-1?true:false}return this.data.cookied_enabled=
a},timezoneOffset:function(){var a=(new Date).getTimezoneOffset();this.data.timezone_offset=a;log("Timezone Offset",a);return a},runSuite:function(){this.browserString();this.pluginEnum();this.pluginDetect();this.screenSize();this.timezoneOffset();this.cookiesEnabled()},getSha1:function(){return SHA1(JSON.stringify(this.data))},send:function(a){var b=new XMLHttpRequest;b.open("POST",a,true);b.onreadystatechange=function(){};b.send(JSON.stringify(this.data))}},TRACKER_RECEIVER="learn.aol.com",LEARN=
function(){};
LEARN.prototype={learnDomain:"learn.aol.com",learnFile:"/learn.js",getScript:function(a){var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src",a);document.getElementsByTagName("head")[0].appendChild(b)},urlEncode:function(a){var b=[];for(key in a)b.push(key+"="+escape(a[key]));return b.join("&")},buildPath:function(){var a="";if(this.learnDomain)a+="http://"+this.learnDomain;if(this.learnFile)a+=this.learnFile;return a},run:function(a,b,c){BFGSuite.runSuite();
b.namespace=a;b.partial=BFGSuite.getSha1();if(c)b.callback=c;this.getScript(this.buildPath()+"?"+this.urlEncode(b))}};
