<!--
function openWnd2(url, w, h)
{
if (navigator.appName.indexOf("Explorer") >= 0) var wndHandle=window.open(url,"nwWin"," width="+w.toString()+", height="+h.toString()+", scrollbars=no, toolbar=no, menubar=no, history=no, resizable");
else var wndHandle=window.open(url,"s","height="+h.toString()+",width="+w.toString()+",resizable,scrollbars=yes");
}
function openWnd3(url, w, h)
{
if (navigator.appName.indexOf("Explorer") >= 0) var wndHandle=window.open(url,"nwWin"," width="+w.toString()+", height="+h.toString()+", scrollbars=no, toolbar=no, menubar=no, history=no, resizable=no, left=500");
else var wndHandle=window.open(url,"s","height="+h.toString()+",width="+w.toString()+",resizable,scrollbars=yes");
}

function fopenURL(url)
{
var w;
w=window.open(url,"nw","toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes,width=950,height=700");
w.focus();
return false;
}

function openWin(url,name,width,height) 
{
var options = "width=" + width + ",height=" + height + "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no";
new_window = window.open(url, name, options); window.self.name = "main"; new_window.focus();
return false;
}

function shownews(nObjectID)
{
var w=window.open(nObjectID.href,'news','toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes,width=810,height=700');
w.focus();
return false;
}

var itsloaded = 0;
function _doUnload()
{
if (itsloaded == 1)
	doUnload();
}

function searchvalid()
{
i=1;
if (document.forms.searchform.searchstr.value.length<2){i=0; alert('Ââåäèòå ñòðîêó ïîèñêà');}	
if (i==1) return true; else return false;	
}

function SetVisible(node,bVisible)
{
	if (node) {
		if (bVisible) {
			if (node.style.display!='inline') node.style.display = 'inline'
		} else
			if (node.style.display!='none')	node.style.display = 'none'
	}
}

