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"]=150;
msi_corp_website_style["color"]="#C4151C";
msi_corp_website_style["font-size"]="11px";
msi_corp_website_style["font-weight"]="normal";
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"]="#FFFFFF";
msi_corp_website_style["border-style"]="solid";
msi_corp_website_style["line-height"]="110%";
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(
	150,					// width
	"#DADCDD",				// bgcolor
	"#E8E9EA",				// highlightcolor
	1,						// borderwidth
	"images/arrow.gif",		// imagesrc
	msi_corp_website_style
);
var msi_corp_website_prop_sub = new menuItemProp(
	150,					// width
	"#0066CC",				// bgcolor
	"#364cc6",				// highlightcolor
	"images/arrow.gif",		// imagesrc
	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;
}
