/*!
 * @package test-ajax
 * @type js
 *
 * @file ../test_ajax_1_22.js
 *
 * @author UNIQ (technicals@uniqinfo.ru)
 */
function test_pass(a){if(a.responseText=="OK"){apply_ajax()}}function apply_ajax(){for(i=0;i<document.links.length;i++){if((document.links[i].href.search(/\/message\.php/i)>0)&&(document.links[i].href.search(/E35CA95592524585/i)==-1)&&(document.links[i].href.search(/34EBE0F5237D2B89/i)==-1)&&(document.links[i].href.search(/A117DE3D896582DD/i)==-1)&&(document.links[i].href.search(/DE757960C4C720AD/i)==-1)&&(document.links[i].href.search(/CB04561AF74145B7/i)==-1)&&(document.links[i].href.search(/07971F58E7CED1A8/i)==-1)&&(document.links[i].href.search(/3015CFD4769DCA31/i)==-1)){document.links[i].href=document.links[i].href.replace(/message\.php/g,"");document.links[i].href=document.links[i].href.replace(/CST/g,"RCST");document.links[i].href=document.links[i].href+="&messages=1";document.links[i].target="";document.links[i].onclick=function(){return true}}}}function test_ajax(){if(test_ajax_res=="-1"){var a=new Ajax.Request("/test_ajax.php?t=1",{onComplete:test_pass,parameters:"cmd=test_ajax"})}if(test_ajax_res=="1"){apply_ajax()}}if(!window.scriptVersions){window.scriptVersions=[]}window.scriptVersions.push(["test_ajax",1.21]);
