function delimiter(actNum, claName){
	rnd=Math.random(); act=1;
	document.write("<span id='me_"+rnd+"'></span>");
	divs=document.getElementById("me_"+rnd).parentNode.getElementsByTagName("div");
	for(i=0; i<divs.length; i++){if(act==actNum){act=1; divs[i].className+=claName;}else{act++;}}
}
function openCh(obj){
	objS=obj.parentNode.getElementsByTagName("div")[0].style;
	if(objS.display=="none"){objS.display="block";}else{objS.display="none";}
	return false;
}
function polosi(JQ){
	JQ=jQuery(JQ);
	for(i=0; i<JQ.length; i++){
		trs=JQ[i].getElementsByTagName("tr");
		tf=true;
		for(j=0; j<trs.length; j++){
			if(tf){trs[j].style.backgroundColor="#ededed"; tf=false;}else{tf=true;}
			if(j==0){trs[j].style.backgroundColor="#cdcdcd";}
		}
	}
}
function sitemap(exist){
	for(i=0; i<exist.length; i++){
		if(exist.get(i).parentNode.parentNode.parentNode.className=='info'){
			jQuery(exist.get(i)).children("li").children("a").addClass("main_partitions");
		}
	}
}
