function funcl(k)
{
	statcom(k, 'q', 'skach') ;
} 
function clcom2(lid, rd) 
{ 
	if (rabfr.document.getElementById('prov'))
		{
			if (rabfr.document.getElementById('prov').innerHTML!=rd)
			{	setTimeout('clcom2("'+lid+'", '+rd+')', 300); 	}
			else	{	clcom3(lid);	}
		}
		else	{ setTimeout('clcom2("'+lid+'", '+rd+')', 300);	}
	
}

function clcom3(lid) 
{
	d=document;  //alert('1111');
	if (d.getElementById('qseg')) {d.getElementById('qseg').innerHTML = rabfr.document.getElementById('onlinem').innerHTML;} 
	if (d.getElementById('qmes')) {d.getElementById('qmes').innerHTML = rabfr.document.getElementById('onlinem2').innerHTML;}
	if (d.getElementById('qvsego')) {d.getElementById('qvsego').innerHTML = rabfr.document.getElementById('onlinem3').innerHTML;}
}

function statcom(link, lid, fil) 
{
	d=document;
	lid=''+lid; d2=d.getElementById(lid);
	rd=Math.round(Math.random() * 1000000); d.getElementById('rabfr').src='/page/'+fil+'/'+link+'/?'+rd;
	//alert ('/page/'+fil+'/'+link+'/?'+rd);
	setTimeout('clcom2("'+lid+'", '+rd+')', 100);
}

