MinW=760;
Star2w=-210;
Star2l=-5;
UMenu=-115;
LUMCode=0;
if (navigator.appVersion.indexOf("MSIE")!=-1) dspl1='inline'; else dspl1='inline-block';
function ResizeWidth(Star2u) {
	var wdth=Star2w + document.body.offsetWidth;
	if (wdth<MinW) wdth=MinW;
	elem=getid('mmenu');
	var mmenu=UMenu+wdth-15;
	elem.style.width=mmenu;
	var pstn=''+wdth+' '+Star2u;
	document.body.style.backgroundPosition=pstn;
	var elem=getid('star2');
	wdth+=Star2l;
	elem.style.left=wdth;
	wdth+=UMenu;
	elem=getid('umenu');
	elem.style.width=wdth;
	elem=getid('lvl0m');
	elem.style.width='100%';
}
function DwnMenu(code) {
	if (LUMCode!=code) {
		var elem;
		if (LUMCode>0) UpMenu();
		if (code>0) {
			elem=getid('u0h'+code);
			elem.style.display=dspl1;
			elem=getid('u0a'+code);
			elem.style.display='none';
			elem=getid('umb0');
			elem.style.display='none';
		}
		elem=getid('umb'+code);
		elem.style.display='block';
		LUMCode=code;
	}
}
function UpMenu() {
	if (LUMCode>0) {
		var elem=getid('u0h'+LUMCode);
		elem.style.display='none';
		elem=getid('u0a'+LUMCode);
		elem.style.display=dspl1;
		elem=getid('umb'+LUMCode);
		elem.style.display='none';
		elem=getid('umb0');
		elem.style.display='block';
		LUMCode=0;
	}
}
