
function get_browser()
{
var bver=null;
if(document.layers)
{bver='nn4';
}
else if(document.all)
{
if(window.opera)
	{bver='opera';
	}
else
	{bver='ie4';
	}
}
else if(document.getElementById)
{
if(navigator.userAgent.indexOf('gecko')>-1)
	{bver='mozilla';
	}
else
	{bver='nn6';
	}
}
return bver;
}



function open_div(divname)
{
var div=eval("document.all."+divname);
if(div.style.visibility=='visible')
	{div.style.position='absolute';
         div.style.visibility='hidden';
	}
else
	{
	 div.style.position='relative';
	 div.style.visibility='visible';
	}
//alert('divname:'+divname+' pos:'+div.style.position+' vis:'+div.style.visibility);
}



function change_image(el)
{
if(el==null)
{
return null;
}
if(el.src.indexOf('confpl')>-1)
	{el.src='img/confmi2.gif';
	}
else
	{el.src='img/confpl.gif';
	}
}


function NewWindow(w,v,s,d)
{
eval("window.open('"+v+"','"+w+"','height="+s+",width="+d+",status=no,location=no,toolbar=no,directories=no,menubar=no');");
}


function open_icq()
{
eval("window.open('http://go.icq.com/icqgo/web/0,,,00.html','TOFI','height=446,width=158,status=no,location=no,toolbar=no,directories=no,menubar=no');");
}


