//browser check
var brws;
if(document.layers){	brws="nn_old";
}else if(document.all){	brws="ie";
}else if(document.getElementById){
	if(navigator.appName.indexOf("Explorer")!=-1){		brws="ie";
	}else if(navigator.appName.indexOf("Netscape")!=-1){		brws="nn_new";
	}
}

function getScrollY(lngTop){		var scrollY;	
	if(brws=="ie"){
		scrollY=document.body.scrollTop;		if(scrollY<lngTop){scrollY=lngTop;}else{scrollY+=10;};
		document.getElementById("idxmenu").style.top=scrollY;
	}else if(brws=="nn_new"){
		scrollY=window.pageYOffset;		if(scrollY<lngTop){scrollY=lngTop;}else{scrollY+=10;};
		//scrollY=10;
		//document.getElementById("idxmenu").style.top=window.pageYOffset;
		document.getElementById("idxmenu").style.top=scrollY;
	}else{
		scrollY=window.pageYOffset;
		document.layers["idxmenu"].top=scrollY;
	}
}
function setScrollY(){	var scrollEvent;
	scrollEvent=setInterval("getScrollY(165)",500)
}function setScrollY2(){
	var scrollEvent;	scrollEvent=setInterval("getScrollY(140)",500)
}
