var isNav, isIE;
if(parseInt(navigator.appVersion) >= 4)
{
	if(navigator.appName=="Netscape") isNav=true;
	else isIE=true;
}
var msi_corp_website_style=new Array();
msi_corp_website_style["width"]=170;
msi_corp_website_style["color"]="#046ACF";
msi_corp_website_style["font-size"]="11px";
msi_corp_website_style["font-weight"]="bold";
msi_corp_website_style["font-style"]="normal";
msi_corp_website_style["font-family"]="Arial";
msi_corp_website_style["border-width"]=1;
msi_corp_website_style["border-color"]="#D4D5D6";
msi_corp_website_style["border-style"]="solid";
msi_corp_website_style["line-height"]="normal";
msi_corp_website_style["cursor"]="hand";
if(isIE) msi_corp_website_style['padding']=4;
else if(isNav) msi_corp_website_style['padding']=4;

var msi_corp_website_prop=new menuItemProp(
	170,									// width
	"#9BD9FF",								// bgcolor
	"#00eeff",								// highlightcolor
	1,										// borderwidth
	msi_corp_website_style
);

function getIExko(obj)
{
	if(obj==document.body) return obj.offsetLeft
	else return obj.offsetLeft+getIExko(obj.offsetParent);
}
function getIEyko(obj)
{
	if(obj==document.body) return obj.offsetTop
	else return obj.offsetTop+getIEyko(obj.offsetParent);
}
function Show(Name,MenuName)
{
	var MItem=document.getElementById('IDM_'.concat(Name));
	var width;
	if(isIE) width=MItem.offsetWidth;
	else if(isNav)
	{
		if(isNN6)
		{
			width=152;
		}
		else
		{
			width=152
		}
	}
	openRootMenu(MenuName,getIExko(MItem)+width+1,getIEyko(MItem)-23,0,Name);
}
function gotolink(str)
{
	window.location=str;
	window.status=str;
}
