function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function swapMenuBar (imgName, path)
{
    document [imgName].src = path;
    return true;
}

function buttonZoom(imageName, buttonType)
{
	delay = 0;
	index = 0;
	size = 5;
	delayInc = 33;
	indexInc = 2;
	if (buttonType == 1)
	{
		for(i=0; i<size; i++)
		{
			index = index + indexInc;
			delay = delay + delayInc;
			newCommand = "swapMenuBar('" + imageName + "','/images/ms_motiv_dn" + index + ".gif')";
			setTimeout(newCommand,delay);
		}
	}
	else if (buttonType == 2)
	{
		for(i=0; i<size; i++)
		{
		
			index = index + indexInc;
			delay = delay + delayInc;
			newCommand = "swapMenuBar('" + imageName + "','/images/ms_realm_dn" + index + ".gif')";
			setTimeout(newCommand,delay);
		}
	}
	else if (buttonType == 3)
	{
		for(i=0; i<size; i++)
		{
				index = index + indexInc;
				delay = delay + delayInc;
				newCommand = "swapMenuBar('" + imageName + "','/images/ms_gouge_dn" + index + ".gif')";
				setTimeout(newCommand,delay);
		}
	}
	else if (buttonType == 4)
	{
		for(i=0; i<size; i++)
		{
				index = index + indexInc;
				delay = delay + delayInc;
				newCommand = "swapMenuBar('" + imageName + "','/images/ms_chorus_dn" + index + ".gif')";
				setTimeout(newCommand,delay);
		}
	}
        else if (buttonType == 5)
	{
		for(i=0; i<size; i++)
		{
				index = index + indexInc;
				delay = delay + delayInc;
				newCommand = "swapMenuBar('" + imageName + "','/images/ms_neptune_dn" + index + ".gif')";
				setTimeout(newCommand,delay);
		}
	}
	else
		what = true;

}

function zoomRestore(imageName, buttonType)
{
	if (buttonType == 1)
		string="swapMenuBar('" + imageName + "','/images/ms_motiv_up.gif')";
	else if (buttonType == 2)
		string="swapMenuBar('" + imageName + "','/images/ms_realm_up.gif')";
	else if (buttonType == 3)
		string="swapMenuBar('" + imageName + "','/images/ms_gouge_up.gif')";
	else if (buttonType == 4)
		string="swapMenuBar('" + imageName + "','/images/ms_chorus_up.gif')";
        else if (buttonType == 5)
		string="swapMenuBar('" + imageName + "','/images/ms_neptune_up.gif')";		
	else
		what = true;
	setTimeout(string, 200);
}
function changeClass(e, newClassName)
{
	e.className = newClassName;
}

function mmLoadMenus() {
  if (!window.mm_menu_0826100315_0) 
  {
  	window.mm_menu_0826100315_0 = new Menu("root",128,20,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#CC3333","#FF3333","left","middle",4,0,500,-5,7,true,false,true,4,false,false);
  	mm_menu_0826100315_0.addMenuItem("Company&nbsp;Profile","location='history.html'");
	mm_menu_0826100315_0.addMenuItem("Management&nbsp;Team","location='management.html'");
	mm_menu_0826100315_0.addMenuItem("Mission&nbsp;Statement","location='statement.html'");
    	mm_menu_0826100315_0.hideOnMouseOut=true;
  	mm_menu_0826100315_0.hideOnMouseOut=true;
  	mm_menu_0826100315_0.bgColor='#FFFFFF';
  	mm_menu_0826100315_0.menuBorder=0;
  	mm_menu_0826100315_0.menuLiteBgColor='#FFFFFF';
  	mm_menu_0826100315_0.menuBorderBgColor='#FFFFFF';
  	mm_menu_0826100315_0.writeMenus();
 }
/* if (!window.mm_menu_0826100315_1) 
 {
   	window.mm_menu_0826100315_1 = new Menu("root",128,20,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#CC3333","#FF3333","left","middle",4,0,500,-5,7,true,false,true,4,false,false);
   	mm_menu_0826100315_1.addMenuItem("Company&nbsp;Profile","location='history.html'");
   	mm_menu_0826100315_1.addMenuItem("Management&nbsp;Team","location='management.html'");
   	mm_menu_0826100315_1.hideOnMouseOut=true;
   	mm_menu_0826100315_1.bgColor='#FFFFFF';
   	mm_menu_0826100315_1.menuBorder=0;
   	mm_menu_0826100315_1.menuLiteBgColor='#FFFFFF';
   	mm_menu_0826100315_1.menuBorderBgColor='#FFFFFF';
  	mm_menu_0826100315_1.writeMenus();
 }
 if (!window.mm_menu_0826100315_2) 
 {
    	window.mm_menu_0826100315_2 = new Menu("root",128,20,"Verdana, Arial, Helvetica, sans-serif",10,"#FFFFFF","#FFFFFF","#CC3333","#FF3333","left","middle",4,0,500,-5,7,true,false,true,4,false,false);
    	mm_menu_0826100315_2.addMenuItem("Company&nbsp;Profile","location='history.html'");
    	mm_menu_0826100315_2.addMenuItem("Management&nbsp;Team","location='management.html'");
  	mm_menu_0826100315_2.addMenuItem("Mission&nbsp;Statement","location='statement.html'");
    	mm_menu_0826100315_2.hideOnMouseOut=true;
    	mm_menu_0826100315_2.bgColor='#FFFFFF';
    	mm_menu_0826100315_2.menuBorder=0;
    	mm_menu_0826100315_2.menuLiteBgColor='#FFFFFF';
    	mm_menu_0826100315_2.menuBorderBgColor='#FFFFFF';
   	mm_menu_0826100315_2.writeMenus();
}*/
 
} // mmLoadMenus()

function preload()
{
  MM_preloadImages('images/ms_abt_dn.gif','images/ms_bike_dn.gif','images/ms_surf_dn.gif','images/ms_skate_dn.gif','images/ms_snow_dn.gif','images/ms_wake_dn.gif','images/ms_golf_dn.gif','images/ms_fitness_dn.gif','images/ms_access_dn.gif',
  'images/ms_contact_dn.gif','images/ms_home_dn.gif','images/ms_siteMap_dn.gif','images/ms_motiv_dn2.gif','images/ms_motiv_dn4.gif','images/ms_motiv_dn6.gif','images/ms_motiv_dn8.gif','images/ms_motiv_dn10.gif','images/ms_realm_dn2.gif','images/ms_realm_dn4.gif',
  'images/ms_realm_dn6.gif','images/ms_realm_dn8.gif','images/ms_realm_dn10.gif','images/ms_gouge_dn2.gif','images/ms_gouge_dn4.gif','images/ms_gouge_dn6.gif','images/ms_gouge_dn8.gif','images/ms_gouge_dn10.gif','images/ms_chorus_dn2.gif',
  'images/ms_chorus_dn4.gif','images/ms_chorus_dn6.gif','images/ms_chorus_dn8.gif','images/ms_chorus_dn10.gif','images/ms_neptune_dn2.gif','images/ms_neptune_dn4.gif','images/ms_neptune_dn6.gif','images/ms_neptune_dn8.gif','images/ms_neptune_dn10.gif');
}

//function changeTRclass(e)
//{
//	if (e.className == 'rowformat2')
//	{
//		e.className = 'rowformat5';
//	}
//	else if (e.className == 'rowformat3')
//	{
//		e.className = 'rowformat6';
//	}
//	else if (e.className == 'rowformat5')
//	{
//		e.className = 'rowformat2';
//	}
//	else if (e.className == 'rowformat6')
//	{
//		e.className = 'rowformat3';
//	}
//	else
//	{}
//}