function setvars() {
	x = 0;
	if (document.layers) { //NS 4.x
		doc="document.";
		stl="";
		tp=".top=";
		toppos="window.pageYOffset";
	}
	else {
		if (document.all) { // IE, Opera
			doc="";
			stl=".style";
			tp=".pixelTop=";
			toppos="document.body.scrollTop";
		}
		else {
			if (document.getElementById) { //NN7, Mozilla
				doc="document.getElementById('";
				stl = "').style.position='fixed'";
				tp = "";
				toppos = "";
				x = 1;
			}
		}
	}
}
function movemenu() {
	divid="floating";
	if (document.getElementById && x == 1) {
		eval(doc+divid+stl);
	}
	else {
	currentpos=eval(toppos);
	//alert (doc+divid+stl+tp+currentpos); 
	eval(doc+divid+stl+tp+currentpos); 
	setTimeout("movemenu()",10);
	}
} 
