/* Copyright © 2010 Cedexis Inc.*/
var RADAR=function(){return{startDelay:2000,requestorId:"1.10003",includeDiagnostics:false,currentSample:null,currentTimeoutId:null,reportTimeThreshold:30000,startTime:null,sampleSet:null,initSamples:function(){var a=RADAR;
a.diagnostics.output("Assembling sample set");a.sampleSet=b();return a;function b(){var g=RADAR,f,d,c,h,k=[];for(f in g.sequences){c=g.sequences[f];g.diagnostics.output("Processing group: "+c.groupName+"; selecting "+c.maxMeasurements+" measurement"+((c.maxMeasurements>1)?"s":"")+"; providerOwnerId: "+c.providerOwnerId);for(d=0;d<c.maxMeasurements;d++){h=e(g.sequences[f]);l(k,h)}}return k;function l(o,q){var m=q.provider["probes"],p,n,j;for(p in m){j=m[p];for(n in j.types){o.push({providerOwnerId:q.providerOwnerId,providerId:q.provider["providerId"],method:j.method,url:j.url,probeType:j.types[n],timeout:j.timeout})}}}function e(j){return{providerOwnerId:j.providerOwnerId,provider:i(j.providers)};function i(s){var p=RADAR,m=0,n,q,t=o(s);p.diagnostics.output("Sample group size: "+t.length);for(n in t){m+=t[n]["weight"]}q=1+Math.floor(Math.random()*m);m=0;for(n in t){m+=t[n]["weight"];if(q<=m){p.diagnostics.output("Selected Provider ID: "+t[n]["providerId"]);t[n]["selected"]=true;return t[n]}}throw p.makeException("The script failed to select a sample provider.");function o(r){var v,u,w=[];for(v in r){u=r[v];if(true!==u.selected){w.push(u)}}return w}}}}},initHTML:function(){var a=RADAR,d=document.getElementById("object-container"),b=document.getElementById("results-list");if(!b&&a.includeDiagnostics){b=document.createElement("ul");b.setAttribute("id","results-list");document.body.appendChild(b)}if(!d){d=document.createElement("div");d.setAttribute("id","object-container");document.body.appendChild(d)}return a},incrSample:function(){var a=0;return function(){var b=RADAR;b.currentSample=b.sampleSet[a++];return b}}(),beginSample:function(){var f=RADAR,j=f.currentSample,i=document.getElementById("object-container"),d="SUCCESS",g="FAILURE",k=f.currentSample.method.createTag(j,a);f.startTime=(new Date).getTime();f.currentTimeoutId=setTimeout(function(){b();if(f.Types.IGNORE!=j.probeType){e(g)}else{f.diagnostics.output("Ignoring result")}h()},j.timeout);i.appendChild(k);function b(){k.onload=k.onreadystatechange=null;window.clearTimeout(f.currentTimeoutId);f.currentTimeoutId=null}function h(){f.incrSample();if(f.currentSample){setTimeout(f.beginSample,100)}else{f.diagnostics.output("Sampling completed at "+(new Date()))}}function e(c){var m,o=f.currentSample,p,n=function(){var q=(new Date).getTime();return q-f.startTime}(),l=(d==c)?"b":"c";if(n<f.reportTimeThreshold){m=document.createElement("script");l=(d==c)?"b":"c";p="http://"+f.requestorId+"."+o.providerOwnerId+"."+o.providerId+"."+o.probeType["typeCode"]+"."+n+"."+l+".radar.cedexis.net/"+l+"/"+f.requestorId+"/"+o.providerOwnerId+"."+o.providerId+"."+o.probeType["typeCode"]+"/"+n+".js";m.setAttribute("type","text/javascript");m.setAttribute("src",p);f.diagnostics.output("Download time: "+n+"ms");f.diagnostics.output("Report: "+p);i.appendChild(m)}}function a(){b();if(f.Types.IGNORE!=j.probeType){e(d)}else{f.diagnostics.output("Ignoring result")}h()}},Types:function(){return{IGNORE:a("IGNORE"),RTT:a("RTT",0),COLD:a("COLD",1),CUSTOM:a("CUSTOM",2)};function a(b,c){return{typeName:b,typeCode:c}}}(),Methods:function(){return{img:a("img",b),script:a("script",d),iframe:a("iframe",c)};function a(){var e=arguments;return{methodName:e[0],createTag:e[1]}}function b(){var g=RADAR,e=arguments,h=document.createElement("img"),f=g.makeAssetUrl(e[0]["url"]);h.setAttribute("src",f);h.onload=e[1];h.style.display="none";g.diagnostics.output("Loading: "+f);return h}function d(){var h=RADAR,e=arguments,j=document.createElement("script"),g=h.makeAssetUrl(e[0]["url"]),i=e[1];j.setAttribute("type","text/javascript");j.setAttribute("src",g);j.onload=function(){j.onreadystatechange=j.onload=null;i()};j.onreadystatechange=function(){if(("loaded"==j.readyState)||("complete"==j.readyState)){j.onreadystatechange=j.onload=null;i()}};j.onerror=function(){h.diagnostics.output("Error loading: "+g)};h.diagnostics.output("Loading: "+g);return j}function c(){var h=RADAR,e=arguments,i=e[1],j=document.createElement("iframe"),g=h.makeAssetUrl(e[0]["url"]);j.setAttribute("src",g);j.style.display="none";if(j.attachEvent){j.attachEvent("onload",function(){i()})}else{j.onload=function(){j.onload=null;i()}}h.diagnostics.output("Loading: "+g);return j}}()}}();RADAR.makeException=function(a){return{name:"ProgramError",message:a}};RADAR.makeAssetUrl=function(a){return a+"?rnd="+Math.round(10000000000*Math.random())};RADAR.diagnostics={output:function(b){var d=document.getElementById("results-list"),a;if(d){a=document.createElement("li");a.appendChild(document.createTextNode(b));d.appendChild(a)}}};
RADAR.sequences = [{groupName:'public',providerOwnerId:'0.0',providers:[{providerId:88,weight:10,probes:[{method:RADAR.Methods.script,url:'http://cedexis-python.appspot.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:220,weight:10,probes:[{method:RADAR.Methods.script,url:'http://cedexisus.cloudapp.net/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:221,weight:10,probes:[{method:RADAR.Methods.script,url:'http://ec2-eu.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:222,weight:10,probes:[{method:RADAR.Methods.script,url:'http://ec2-us.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:223,weight:10,probes:[{method:RADAR.Methods.script,url:'http://gogrid.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:224,weight:10,probes:[{method:RADAR.Methods.script,url:'http://joyent.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:219,weight:10,probes:[{method:RADAR.Methods.script,url:'http://mosso.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:85,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cdn.cloudfiles.mosso.com/c58712/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:23,weight:10,probes:[{method:RADAR.Methods.img,url:'http://services.nirvanix.com/Interchangecedexis/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:15,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cdx-eu.s3.amazonaws.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:16,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cdx-us.s3.amazonaws.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:13,weight:10,probes:[{method:RADAR.Methods.img,url:'http://ak2.static.dailymotion.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:35,weight:10,probes:[{method:RADAR.Methods.script,url:'http://bitgravity.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:276,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cedexis.cachefly.net/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:25,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cedexis.panthercustomer.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:17,weight:10,probes:[{method:RADAR.Methods.img,url:'http://testcdn.chinacache.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:14,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cloudfront.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:33,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cotendo.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:24,weight:10,probes:[{method:RADAR.Methods.img,url:'http://edgecast.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:18,weight:10,probes:[{method:RADAR.Methods.img,url:'http://hwcdn.net/z5t8n6p8/cds/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:19,weight:10,probes:[{method:RADAR.Methods.img,url:'http://atanarglobal.http.internapcdn.net/atanarglobal_vitalstream_com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:126,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cedexis.cdn.on.net/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:32,weight:10,probes:[{method:RADAR.Methods.script,url:'http://level3.cedexis.com/cdn5.js',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:20,weight:10,probes:[{method:RADAR.Methods.img,url:'http://limelight.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:275,weight:10,probes:[{method:RADAR.Methods.img,url:'http://netdna.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:168,weight:10,probes:[{method:RADAR.Methods.img,url:'http://ngenix.cedexis.com/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:21,weight:10,probes:[{method:RADAR.Methods.img,url:'http://cedexis.com.lg1x8.simplecdn.net/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:22,weight:10,probes:[{method:RADAR.Methods.img,url:'http://http5.mhvcdn.yacast.net/cdx.gif',timeout:6000,types:[RADAR.Types.IGNORE,RADAR.Types.RTT,]}]},{providerId:231,weight:5,probes:[{method:RADAR.Methods.img,url:'http://www.aol.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:226,weight:5,probes:[{method:RADAR.Methods.img,url:'http://www.bing.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:225,weight:5,probes:[{method:RADAR.Methods.img,url:'http://www.facebook.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:232,weight:5,probes:[{method:RADAR.Methods.img,url:'http://www.msn.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:230,weight:5,probes:[{method:RADAR.Methods.img,url:'http://qzone.qq.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:229,weight:5,probes:[{method:RADAR.Methods.img,url:'http://twitter.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:227,weight:5,probes:[{method:RADAR.Methods.img,url:'http://m.www.yahoo.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},{providerId:89,weight:10,probes:[{method:RADAR.Methods.img,url:'http://www.youtube.com/favicon.ico',timeout:6000,types:[RADAR.Types.COLD,]}]},],maxMeasurements:3},{groupName:'private',providerOwnerId:'1.10003',providers:[],maxMeasurements:0}];
/*! End Pulse config */
setTimeout(function(){var a=RADAR;try{a.initHTML().initSamples().incrSample().beginSample()}catch(b){a.diagnostics.output(b.name+": "+b.message);throw b}},RADAR.startDelay);