/*! * CleanPrint * http://www.formatdynamics.com * Copyright Format Dynamics, Inc. All rights reserved, * CleanPrint and Format Dynamics are registered trademarks * US Patent 7386791 */ var FDCPLoader={vers:2,tmax:0,threshold:"50000",reporting:"true"=="true",mediaRoot:null,cssFiles:new Array(),cpjsServlet:null,cpfServlet:null,helpUrl:null,productName:"CleanPrint/Save",analytics:"true"=="true",pubKey:0,buttons:null,category:null,dynamic:false,name:null,logo:null,hint:null,page:"letter",headNode:document.getElementsByTagName("head")[0],articleUrl:window.location.href,articleId:null,isPfLink:false,load:function(){var f,l,d,k,g,c,e,b,j,a,h;a=new RegExp("url=[^&]+");if(a.test(window.location.search)){h=""+a.exec(window.location.search);FDCPLoader.articleUrl=decodeURIComponent(h.substring(4))}FDCPLoader.browserDetect.init();f=document.getElementsByTagName("body")[0];l=document.createElement("div");l.id="cpf-devices";f.appendChild(l);for(d=0;d0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){h=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";c=navigator.plugins["Shockwave Flash"+h].description.split(" ");a=c[2].split(".");d=a[0]>5?a[0]:-1}}if(!d){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");d=b.GetVariable("$version")}catch(g){}}if(!d){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d="6"}catch(g){}}if(d){f=d.match(/[\d]+/g);f.length=1;d=f.join(".")}return d&&d>0},hasXdomain:function(){try{new XDomainRequest().open("POST",FDCPLoader.cpfServlet);return true}catch(a){return false}},hasCors:function(){try{new XMLHttpRequest().open("POST",FDCPLoader.cpfServlet);return true}catch(a){return false}},browserDetect:{init:function(){this.browser=this.searchString(this.dataBrowser)||"Unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"Unknown version";this.OS=this.searchString(this.dataOS)||"Unknown OS"},searchString:function(d){var a,b,c;for(a=0;a=this.threshold){var g,c,h,f;c=(new Date).getTime();h=String(c++);g="action=logging";g+="&level="+i;g+="&vers="+this.vers;g+="&url="+encodeURIComponent(FDCPLoader.articleUrl);g+="&key="+encodeURIComponent(FDCPLoader.pubKey);g+="&cacheKill="+h;if(typeof b!="undefined"&&b!=null){g+="&msg="+encodeURIComponent(b)}if(typeof a!="undefined"&&a!=null){f=null;for(f in a){g+="&"+encodeURIComponent(f)+"="+encodeURIComponent(a[f])}}new Image().src=this.cpfServlet+"?"+g}if(b.indexOf("FD_IGNORE")!=-1){b=b.substr(10)}if(i>=40000){console.error(b)}else{if(i>=30000){console.warn(b)}else{if(i>=20000){console.info(b)}else{if(i>=10000){console.log(b)}}}}}catch(d){}},reportEvent:function(b,a,g){try{if(this.reporting){var f,c,h;c=(new Date).getTime();h=String(c++);f="action=reporting";f+="&event="+b;f+="&type="+a;f+="&key="+encodeURIComponent(FDCPLoader.pubKey);f+="&success="+g;f+="&url="+encodeURIComponent(window.location.href);f+="&cacheKill="+h;new Image().src=this.cpfServlet+"?"+f}}catch(d){}},onReady:function(d){var a,c,f=false;function b(){if(f){return}f=true;d()}if(document.getElementById("FDCPFBookmarklet")!=null){b()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false)}else{if(document.attachEvent){a=false;try{a=window.frameElement!=null}catch(g){}if(document.documentElement.doScroll&&!a){function h(){if(f){return}try{document.documentElement.doScroll("left");b()}catch(i){setTimeout(h,10)}}h()}}}if(window.addEventListener){window.addEventListener("load",b,false)}else{if(window.attachEvent){window.attachEvent("onload",b)}else{c=window.onload;window.onload=function(){c&&c();b()}}}setTimeout(b,8000)}};FDCPLoader.dynamic = true; FDCPLoader.pubKey = 'diy'; FDCPLoader.name = 'http://www.allvoices.com'; FDCPLoader.category = 'NEWS'; FDCPLoader.tmax = 60000; FDCPLoader.mediaRoot = 'http://cache-02.cleanprint.net/media/'; FDCPLoader.cpfServlet = 'http://cpf.cleanprint.net/cpf/cpf'; FDCPLoader.cpjsServlet = 'http://cache-02.cleanprint.net/cpf/cpjs'; FDCPLoader.helpUrl = 'http://cache-02.cleanprint.net/cpf/help'; FDCPLoader.cssFiles = new Array(['viewbox','http://cache-02.cleanprint.net/media/pfviewer/css/viewbox.css','screen'],['phone','http://cache-02.cleanprint.net/media/pfviewer/css/phone.css','only screen and (max-device-width:480px), only screen and (max-device-height:480px)']); FDCPLoader.onReady(function(){ FDCPLoader.load(); });