/*if (IE) {
	cookieY = getCookie('coordinatFpY');
	cookieX = getCookie('coordinatFpX');
	Ymax = document.body.clientHeight
	Xmax=document.body.clientWidth
	YOffset=(cookieY)?cookieY:(document.body.clientHeight/2-226)
	XOffset=(cookieX)?cookieX:0
}
if (NS||NS6) {
	cookieY = getCookie('coordinatFpY');
	cookieX = getCookie('coordinatFpX');
	Ymax = window.innerHeight
	Xmax = window.innerWidth
	YOffset=(cookieY)?cookieY:(window.innerHeight/2-210)
	XOffset=(cookieX)?cookieX:0
}

waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
//menuIsStatic="yes"; //this sets whether menu should stay static on the screen
*/

if (IE) {
	YOffset=document.body.clientHeight/2-226
	Ymax = document.body.clientHeight
}
if (NS||NS6) {
	YOffset=window.innerHeight/2-210
	Ymax = window.innerHeight
}

XOffset=0;
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuIsStatic="yes"; //this sets whether menu should stay static on the screen

if (NS||NS6) {
	menuIsStatic="no";
/*	window.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP);
	window.onmousedown= startDrag;
	window.onmouseup= endDrag;
	window.onmousemove= moveIt;	 */
}
if (IE){
	menuIsStatic="yes"; //this sets whether menu should stay static on the screen
	document.onmousedown=drags
	document.onmouseup=new Function("dragapproved=false")
}

function saveCookie(){
	if (IE) {
		setCookie('coordinatFpX', z.style.left, 1);
		setCookie('coordinatFpY', z.style.top, 1);
	}
}

//window.onunload = saveCookie

buildNewMenu();