dojo.provide("parus.balanceIndexConsPrint");dojo.require("parus.parus8");dojo.require("parus.database");dojo.require("parus.balanceIndexConsDialog");dojo.mixin(parus,{balanceIndexConsPrint:{print:function(){var e;var d;var c;var b;var a;dojo.xhrGet({url:"../.system/session.xml",handleAs:"xml",sync:true,preventCache:true,load:function(g){if(!dojo.isIE){g.normalize()}var f=g.documentElement.getElementsByTagName("*");for(var h=0;h!=f.length;h++){if(f[h].nodeName=="querydata"){d=f[h].childNodes.item(0).nodeValue}else{if(f[h].nodeName=="handler"){c=f[h].childNodes.item(0).nodeValue}else{if(f[h].nodeName=="skipzero"){b=f[h].childNodes.item(0).nodeValue=="1"}else{if(f[h].nodeName=="hiddencols"){a=f[h].childNodes.item(0).nodeValue}else{if(f[h].nodeName=="htmldata"){e=f[h].childNodes.item(0).nodeValue}}}}}}return(g)}});if(d){parus.database.connected=c;e=parus.balanceIndexConsDialog.printRender(dojo.fromJson(d),b,a)}if(e){document.body.insertAdjacentHTML("afterBegin",e)}}}});