/*
Height depending working modes for MS IE, Opera and Mozilla Gecko browsers
*/
/*
	var nua, d, IE, OP, Gecko, Mac, IEnu, IE5x, IE6x, Gecko_rv, clHeight, clWidth; 
	d=document;
	nua = navigator.userAgent;
	IE = (nua.toUpperCase().indexOf('MSIE')!=-1);  
	OP = (nua.toLowerCase().indexOf('opera')!=-1);
	Gecko = (nua.toLowerCase().indexOf('gecko')!=-1);
	rv_pos=nua.toLowerCase().indexOf('rv');
	Gecko_rv=nua.substr((rv_pos+3),3);
	ie_pos = nua.toUpperCase().indexOf('MSIE');
	IE4x = (IEnu<5.0);
	IE5x = (IEnu>=5.0);
	IE6x = (IEnu>=6.0);
	
if (document.getElementById)
{

clHeight = document.documentElement.clientHeight ? 
		document.documentElement.clientHeight : document.body.clientHeight;
	clWidth = document.documentElement.clientWidth ? 
		document.documentElement.clientWidth : document.body.clientWidth;
	
}
*/
/*
Floating Menu script-  Roy Whittle (http://www.javascript-fx.com/)
Script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use

I have shortened the script taking off all altenatives, 
which concern support for MS IE 4.x and Netscape 4.x browsers. 
I have also replaced some long statements into variables 'clHeight' and 'clWidth'.

The original code can be found from
http://www.javascript-fx.com/scriptclips/float/float_menu_dtd.html
*/

/*
if ((!OP && IE5x) || (Gecko && (Gecko_rv>=1.3)))	{
	
if (clHeight>425) 
	{

function JSFX_FloatDiv(id, sx, sy)
{
var el=d.getElementById(id);
	window[id + "_obj"] = el;
	el.cx = el.sx = sx;el.cy = el.sy = sy;
	el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
	el.float=function()
	{
		var pX, pY;
		pX = (this.sx >= 0) ? 0 :
		document.documentElement && clWidth;
		pY = document.documentElement && document.documentElement.scrollTop ? 
		document.documentElement.scrollTop : document.body.scrollTop;
		if(this.sy<0) 
		pY += document.documentElement && clHeight;
		this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;
		this.sP(this.cx, this.cy);
		setTimeout(this.id + "_obj.float()", 40);
	}
	return el;
}
JSFX_FloatDiv("dynamicMenus",       0,   0).float();
}
}
*/

