pbXSLLibReady=!0;var pbXSLLibHeader="[AjaMyAjax XSL Lib]";
this.processXSL=function(f,b,e,a){function h(a,d){var b=!1,e=0;try{for(;!b&&e<5;)b=d.load(a),e++}catch(f){b=!1}return b?!0:(aja_empty(c),pbshowAlertMsgs&&aja_alertMsg(pbXSLLibHeader,"XSLT transformation not complete: "+a),!1)}var f=f?f:null,b=b?b:null,c=e?e:null,e=a?a:null,a=null;if(navigator.userAgent.indexOf("Chrome")!=-1||navigator.userAgent.indexOf("Safari")!=-1)alert("Not compatible with this browser");else if(!f||!c||!b)aja_empty(c),pbshowAlertMsgs&&aja_alertMsg(pbXSLLibHeader,"XSLT error, check parameters");
else if(b=e?e.indexOf(".XSL")==-1?e+".XSL":e:b.replace(".xml",".xsl"),window.XMLHttpRequest&&document.implementation&&document.implementation.createDocument){if(a=document.implementation.createDocument("","",null)){a.async=!1;if(!h(b,a)){a=null;return}try{var d=new XSLTProcessor;d.importStylesheet(a);var g=d.transformToFragment(f,document)}catch(i){aja_empty(c);pbshowAlertMsgs&&aja_alertMsg(pbXSLLibHeader,"XSLT processing error: "+b);return}aja_empty(c);if(g)if(navigator.userAgent.indexOf("Firefox")!=
-1){aja_cloak(c);document.getElementById(c).appendChild(g);d=document.getElementById(c).innerHTML;if(d.indexOf("XML Parsing Error:")==-1)d=d.replace(/&amp;/gi,"&"),d=d.replace(/&lt;/gi,"<"),d=d.replace(/&gt;/gi,">"),aja_fill(c,d);else if(pbshowAlertMsgs)throw new aja_alertMsg(pbXSLLibHeader,"Error parsing document");aja_reveal(c);d=null}else document.getElementById(c).appendChild(g);g=a=d=null}try{b&&(b=null),c&&(c=null),e&&(e=null)}finally{f=null}}else if(a=new ActiveXObject("Microsoft.XMLDOM"))if(a.async=
!1,h(b,a))try{(g=f.transformNode(a))?(aja_fill(c,g),g=null):(aja_empty(c),pbshowAlertMsgs&&aja_alertMsg(pbXSLLibHeader,"XSLT processing error: "+b))}finally{a=null}else a=null};

