function colorDaRows(){
	//Можно воровать (You can shamelessly borrow following code)
	try{
		//Mozilla, Opera, Safari and other standarts-aware browsers
		xpathXprsn="//table[@class='list' or @class='listBig']/tbody/tr[(position() mod 2) = 0]";
		xpathResult = document.evaluate(xpathXprsn, document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null );
		for ( var i=0 ; i < xpathResult.snapshotLength; i++ )
		{
			xpathResult.snapshotItem(j).className="trPainted";
		}
	}
	catch(exception){
		//IE (can't selectNodes() in the document()???)
		var tables=document.getElementsByTagName("table");
		for(i=0; i<tables.length; i++) {
			if(tables[i].className =="list" || tables[i].className =="listBig"){
				var tbody=tables[i].getElementsByTagName("tbody");
				tbody=tbody[0];
				var trs=tbody.getElementsByTagName("tr");
				for(j=0; j<trs.length; j++) {
					if(((j+1)%2)==0){
						trs[j].className="trPainted";
					}
				}
			}
		}
	}
}
function survey_pop(url)
{
	survey_win=window.open(url,'name','height=650,width=700,scrollbars=yes,toolbar=no');
	if (window.focus) {survey_win.focus()};
}
function clearNode (node) {
	while (node.hasChildNodes())
	{
		node.removeChild(node.childNodes[0]);
	}
}