function AlignSubMenu(m,s){
	if (typeof(m)=="string")
		m=$(m);
	if (m==null) return;
	if (typeof(s)=="string")
		s=$(s);
	if (s==null) return;
	if(Browser.isIE)
		s.style.styleFloat="left";
	else
		s.style.cssFloat="left";
	s.style.margin=0;
	var mpos = Func.GetObjPos(m);
	var x=mpos.x+(mpos.width/2)-s.offsetWidth/2;
	if (document.body.offsetWidth>s.parentNode.offsetWidth)
	    x=x-(document.body.offsetWidth-s.parentNode.offsetWidth)/2;
	if (x-10<0)
		x=10;
	if (x+s.offsetWidth+10>s.parentNode.offsetWidth)
		x=x-((x+s.offsetWidth+10)-s.parentNode.offsetWidth);
    if (isIE6)//没搞懂,为啥子IE6下面会有这种现像
		s.style.marginLeft=x/2+"px";
	else
		s.style.marginLeft=x+"px";
}