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