	function MM_openBrWindow(theUrl, winName, features) {
		secondWindow=window.open(theUrl, winName, features);
	}
	
function nove_okno(mypage, okno ,w, h, windowfeatures) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2 - 38;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+","+windowfeatures;
	win = window.open(mypage, okno, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
	function vrat_index() {
		for (var i = 0; i < document.form.parametr.length; i++) {
			if (document.form.parametr.options[i].selected == true) {
				return document.form.parametr.options[i].index 
			}
		}
	return null
	}
	
function rozdel_pole(pole)
{
	var moje_pole=pole.split("|");
	return moje_pole
}

