	function DoHide(id){
		document.getElementById("arr_"+id).style.backgroundImage ="url(/img/rmenu_l1_c.gif)";
		document.getElementById("cat_"+id).style.display = "none";
	}
	function DoShow(id){
		document.getElementById("arr_"+id).style.backgroundImage="url(/img/rmenu_l1_o.gif)";
		document.getElementById("cat_"+id).style.display = "block";
	}
	function showcat(id){
		if(document.getElementById("cat_"+id).style.display!="none") DoHide(id);
		else DoShow(id);
	}
var oldUrl = false;
function IE5opener(url,w,h){
	w = Math.abs(w)+7; h = Math.abs(h)+27;
	scrollYes = ( w > screen.availWidth || h > screen.availHeight ) ? 1 : 0;
	addScrollbarWidth = (scrollYes) ? 17 : 0;
	w = (w > screen.availWidth) ? screen.availWidth - 40 : w + addScrollbarWidth;
	h = (h > screen.availHeight) ? screen.availHeight - 40 : h + addScrollbarWidth;
var ver =navigator.appVersion;
ver = ver.substring(ver.indexOf("MSIE")+5, ver.length);
ver = parseFloat(ver.substring(0, ver.indexOf(";")));
if(ver >=5){
	if((url != oldUrl)||(WinObj.closed)){
	WinObj = showModelessDialog(url, window, "help: no; status: no; scroll:"+
	scrollYes+"; resizable: on; dialogWidth:"+w+"px; dialogHeight:"+h+"px; margin: 0");
		oldUrl = url;
		}else{
		if(!WinObj.closed){WinObj.focus();}
		}
	}else{
	OtherOpener(url,w,h);
	}
}
function OtherOpener(url,w,h){
	w = w+18; h = h +26;
	d = new Date(); t = d.getTime();
	WinObj = window.open(url, t,"width="+w+",height="+h+",location=yes,status=yes,menubar=yes,toolbar=no,resizable=yes");
	return (WinObj!==null) ? false: true;
	}
function PopUp(url,w,h){
if( document.all ){
	IE5opener(url,w,h);
		}else{
		if(document.images){	OtherOpener(url,w,h);	}
		}
return false;
}
function show_e(){
	var a="mailto";
	a+=":";	a+="so";
	var b="ft";
	b+="@";b+="sup";
	b+="port.si";b+="bnet.ru";
	document.getElementById("s_e").href=a+b;
}
