<!--

	/***************************************************************   
		 PreLoader MENU IMAGE Script Name = [default menu]
	***************************************************************/
		PreLoader('CatalogOn','ShellExt/Themes/MBu_Catalog_on.gif');
		PreLoader('CatalogOff','ShellExt/Themes/MBu_Catalog_off.gif');
		PreLoader('FeaturesOn','ShellExt/Themes/MBu_Features_on.gif');
		PreLoader('FeaturesOff','ShellExt/Themes/MBu_Features_off.gif');
		PreLoader('SymbolOn','ShellExt/Themes/MBu_Symbol_on.gif');
		PreLoader('SymbolOff','ShellExt/Themes/MBu_Symbol_off.gif');
		PreLoader('SelectingOn','ShellExt/Themes/MBu_Selecting_on.gif');
		PreLoader('SelectingOff','ShellExt/Themes/MBu_Selecting_off.gif');
		PreLoader('SpecificationsOn','ShellExt/Themes/MBu_Specifications_on.gif');
		PreLoader('SpecificationsOff','ShellExt/Themes/MBu_Specifications_off.gif');
		PreLoader('MaintainOn','ShellExt/Themes/MBu_Maintain_on.gif');
		PreLoader('MaintainOff','ShellExt/Themes/MBu_Maintain_off.gif');
		PreLoader('NorthAmericaOn','ShellExt/Themes/MBu_NorthAmerica_on.gif');
		PreLoader('NorthAmericaOff','ShellExt/Themes/MBu_NorthAmerica_off.gif');
		PreLoader('ApplicationsOn','ShellExt/Themes/MBu_Applications_on.gif');
		PreLoader('ApplicationsOff','ShellExt/Themes/MBu_Applications_off.gif');


		PreLoader('HomeOn','ShellExt/Themes/MHBu_Home_on.gif');
		PreLoader('HomeOff','ShellExt/Themes/MHBu_Home_off.gif');
		PreLoader('ProductOn','ShellExt/Themes/MHBu_Product_on.gif');
		PreLoader('ProductOff','ShellExt/Themes/MHBu_Product_off.gif');
		PreLoader('TheoryOn','ShellExt/Themes/MHBu_Theory_on.gif');
		PreLoader('TheoryOff','ShellExt/Themes/MHBu_Theory_off.gif');
		PreLoader('ContactOn','ShellExt/Themes/MHBu_Contact_on.gif');
		PreLoader('ContactOff','ShellExt/Themes/MHBu_Contact_off.gif');
		PreLoader('EnglishOn','ShellExt/Themes/MHBu_English_on.gif');
		PreLoader('EnglishOff','ShellExt/Themes/MHBu_English_off.gif');




var loaded=false
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = "ie";

	this.v = parseInt(navigator.appVersion)
	this.ns = (this.b=="ns" && this.v==4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ie = ((this.b=="ie" && this.v>=4)||(this.b=="ns" && this.v>=5))
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	this.moz = (this.b=="ns" && this.v>=5)

	if (this.ie5) this.v = 5
	this.min = (this.ns||this.ie)

	if(!this.ns) this.ie=true;
}

is = new BrowserCheck()

// Show/Hide script
function show_Object(id) { 
 if (loaded)
 {
    if (is.ns) document.layers[id].visibility = "show"
        else if (is.ie4) document.all[id].style.visibility = "visible"
		else if (is.ie)	document.getElementById(id).style.visibility = 'visible'
 }
}


function PreLoader(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()')
		eval(imgObj+'.src = "'+imgSrc+'"')
	}
}

function changeImage(layer,imgName,imgObj) {
	if (document.images) {
		if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')
		else document.images[imgName].src = eval(imgObj+".src")
	}
}

 // Description.. javascript:openWindow('Url.asp',560,360,1,0,0,0);
function openWindow(ContentUrl,theWidth,theHeight,theScroll,theStatus,theMenubar,theResizable) {
	var CoordX = (screen.width / 2) - (theWidth / 2);
	var CoordY = (screen.height / 2) - (theHeight / 2);
	var openNewWindow = window.open(ContentUrl, 'PMD', 'Left='+CoordX+',Top='+CoordY+',Width='+theWidth+',Height='+theHeight+',ScrollBars='+theScroll+',Status='+theStatus+',Menubar='+theMenubar+',Resizable='+theResizable+'');
}
// Description.. javascript:PopupModalDialog('Url.asp',700,520,1);
function PopupModalDialog(ContentUrl,theWidth,theHeight) {
	var showWindow = window.showModalDialog (ContentUrl,'PMD','dialogWidth='+theWidth+'px;dialogHeight='+theHeight+'px;Scrollbars=Yes;Center=1;Status=No;Help=No');
}

function favority(favName,favUrl) {

	var myWebName;
	var myAddress;
	myWebName = favName;
	myAddress = favUrl;

	if (navigator.appName!="Netscape"){
	window.external.AddFavorite(myAddress, myWebName);
	}else{
	window.location = myAddress;
	}
}

function getMmColor(theMmID,theMmColor) {
	document.getElementById(theMmID).style.backgroundColor=theMmColor;
}

function smENG() {
	document.mENG.submit();
}

function smCHT() {
	document.mCHT.submit();
}


	var onDotImg = new Image();
	onDotImg.src = "images/icon_On.gif"
	var offDotImg = new Image();
	offDotImg.src = "images/icon_Off.gif"

function onDot(DotID) {
document.images[DotID].src = onDotImg.src;
}

function offDot(DotID) {
document.images[DotID].src = offDotImg.src;
}

function get_support(strName,strdoname) {
	top.location.href='mailto:' + strName + '@' + strdoname
}
//-->