	  <!--


		// Setup variables for DHTML menu.
		var isDHTML = 0;
		var isID = 0;
		var isAll = 0;
		var isLayers = 0;


		if (document.getElementById) {isID = 1; isDHTML = 1;}
		else {
		if (document.all) {isAll = 1; isDHTML = 1;}
		else {
		browserVersion = parseInt(navigator.appVersion);
		if ((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)) {isLayers = 1; isDHTML = 1;}
		}}

		function findDOM(objectID,withStyle) {
			if (withStyle == 1) {
				if (isID) { return (document.getElementById(objectID).style) ; }
				else { 
					if (isAll) { return (document.all[objectID].style); }
				else {
					if (isLayers) { return (document.layers[objectID]); }
				};}
			}
			else {
				if (isID) { return (document.getElementById(objectID)) ; }
				else { 
					if (isAll) { return (document.all[objectID]); }
				else {
					if (isLayers) { return (document.layers[objectID]); }
				};}
			}
		}


		function OpenSmWindow(URL,wide,high,scr)
			{ 
			var thewindow2=window.open(URL,"thewindow","menubar=yes,width=" + wide + ",height=" + high + ",toolbar=yes,scrollbars=" + scr + ",location=no,directories=no,resizable=yes"); 
			thewindow2.focus();

			}


		function preloadimages(){
		var myimages=new Array()
		for (i=0;i<preloadimages.arguments.length;i++){
		myimages[i]=new Image()
		myimages[i].src= "mainimages/" + preloadimages.arguments[i]
		}
		}


		// Function to highlight mouseover on a selected item
		//
		// item = name of div of item
		//
		// sursheet = stylesheet to swap in for surr
		//
		function SwapClass(item,ovsheet)
		{
		if (!document.layers) {
		changer=findDOM(item,0);
		changer.className = ovsheet;
		}
		}

		function swapandchangecursor(swapitem,swapsheet,cursoritem,cursorvalue)
		{
			if (!document.layers) {
				var changer;
				changer=findDOM(swapitem,0);
				changer.className = swapsheet;
				changer=findDOM(cursoritem,1);
				changer.cursor = cursorvalue;
			}
		}

		// Adjust a specified item (div) name to the left the number
		// specified using the left, and top arguments as a baseline.
		function adjustlefttop(itemname,vleft,vtop,leftdeduct)
		{
			var changer;
			changer=findDOM(itemname,1);
			changer.left = vleft-leftdeduct;
			changer.top = vtop;
		}

		// Initialize the motion page swirl ui based on resolution.
		// In non 1024x768 configuration everything moves left to fit
		// on the screen.
		function initmotionpage()
		{	
			var uideduct = 0;
			var imagededuct = 0;
			var changer;
			if (detectres()=='800x600' || detectres()=='640x480')
			{
				uideduct = 50;
				imagededuct = 80;
			}

			adjustlefttop('motion_swirl',260,250,uideduct);
			adjustlefttop('introducingtext',360,305,uideduct);
			adjustlefttop('indexing',240,250,uideduct);
			adjustlefttop('stepdirection',500,210,uideduct);
			adjustlefttop('powersupplies',530,340,uideduct);
			adjustlefttop('servocontrol',400,410,uideduct);
			adjustlefttop('bldcspeedcontrol',230,410,uideduct);
			adjustlefttop('BLDCimage',670,230,imagededuct);
			adjustlefttop('StepandDirectionImage',670,230,imagededuct);
			adjustlefttop('ServoControlImage',670,230,imagededuct);
			adjustlefttop('IndexingImage',670,230,imagededuct);
			adjustlefttop('PowerSuppliesImage',670,230,imagededuct);
			
		}

		function bookmark(url, description)
		{
		netscape="Netscape Users hit CTRL+D to add a bookmark to this site."
		if (navigator.appName=='Microsoft Internet Explorer')
		{
		window.external.AddFavorite(url, description);
		}
		else if (navigator.appName=='Netscape')
		{
		alert(netscape);
		}
		}

		// Reload page for resize if Netscape 4.X
		function reloadPage() {
			if (innerWidth != origWidth || innerHeight != origHeight) 
			location.reload();
			}

		// Detect Netscape 4.X and setup vars.
		if (document.layers) 
		{
			onresize = reloadPage;
			origWidth = innerWidth;
			origHeight = innerHeight;
			visible = 'show';
			hidden = 'hide';
			}
		 else if (document.all || document.getElementById) 
		 {
			  visible = 'visible';
			  hidden = 'hidden'; 
			  }

		// Define pixel locations of top and left of very first menu and menu
		// item height.
		var menutop = 94; 

//		menuleft replaced with function to determine X pos
//		if (browser =='IE4' || browser =='IE5')
//		{
//			var menuleft = 582; }
//		else if (browser.indexOf('NS4') !=-1)
//		{
//			var menuleft = 690;	}
//		else if (browser.indexOf('NS') !=-1)
//		{
//			var menuleft = 682;	}
//		else
//		{
//			var menuleft = 692;	}

		var itemheight=19;


		var isover=0;			// Flag variable designating when over a link 

		var times=0;			// Number of times Bar Hide has run, set for 4.  This 
								// gives time to get to the next item on the menu before
								// hiding it.
		
		var lastparent = null;	// holds last parent.
		var lastitems = 0;		// holds number of items in last parent.

		var lastover = null;    // name of last div we were over so we can reset it on out.
		
		// findPosX / findPosY scripts taken from 
		// http://www.quirksmode.org/js/findpos.html# - much thanks.
		function findPosX(obj)
		{
			var curleft = 0;
			if (obj.offsetParent)
			{
				while (obj.offsetParent)
				{
					curleft += obj.offsetLeft
					obj = obj.offsetParent;
				}
			}
			else if (obj.x)
				curleft += obj.x;
			return curleft;
		}

		function findPosY(obj)
		{
			var curtop = 0;
			if (obj.offsetParent)
			{
				while (obj.offsetParent)
				{
					curtop += obj.offsetTop
					obj = obj.offsetParent;
				}
			}
			else if (obj.y)
				curtop += obj.y;
			return curtop;
		}


		// Function to show a menu.
		//
		// mparent = name of the div of the menu item
		//
		// nitems = number of menu items in this menu.
		//
		// offset = pixels to move from the top for this menu.
		//
		// width = width of this menu
		function BarShow(mparent,nitems,offset,itemwidth,obj) {

			var itemxpos = findPosX(obj);

			if (lastparent)
				{
				isover=0;
				times=4
				BarHide(lastparent,lastitems);
				isover=1;
				times=0
				}

			// set vars for top of menu and add offset.  the tophold var will
			// increase to move the menu down as we loop.
			var tophold = menutop + offset;
			//var lefthold = menuleft;
			var lefthold = itemxpos-28;

				// Begin main loop through div items.
				for (i=0; i < nitems ; i++)
				{
				  menuitem = findDOM(mparent + i,1);
				  if (menuitem.visibility != visible) 
					{
					  menuitem.top = tophold;
					  menuitem.left = lefthold+1;
					  menuitem.width = itemwidth;
					  menuitem.visibility = visible; 

					  tophold=tophold+itemheight; 
					}
				}

			lastparent = mparent;
			lastitems = nitems;
		}

		// Function to hide a menu.  
		//
		// mparent = name of the div of the menu item
		//
		// nitems = number of menu items in this menu.
		//
		// offset = pixels to move from the left for this menu.

		function BarHide(mparent,nitems) {

			// This line added to temporarily disable left menu
			//return true;

			if (isover == 1) return false;

			if (times<4)
			{
			  var L = "BarHide(" + "'" + mparent + "'" + "," + nitems + ")";
			  setTimeout(L,100);
			  times=times+1
			}
			else
			{
			  for (i=0; i < nitems ; i++)
				{
				menuitem = findDOM(mparent + i,1);
				menuitem.top = menutop;
				menuitem.visibility = hidden; 
				}
				times=0;
				isover=0;
			}

		}

		// Function to highlight mouseover on a selected item (changes 2 layers)
		//
		// surr = name of div of item
		//
		// link = name of div passed for link text
		//
		// sursheet = stylesheet to swap in for surr
		//

		function Over(item,sursheet)
		{
		if (!document.layers) {
		changer=findDOM(item,0);
		changer.className = sursheet;
		}
		}
		

		// Function to reset mouseover to default on de-selected item (changes 2 layers back)
		//
		// item = name of div of item

		function Out(item)
		{
		if (!document.layers) {
		changer=findDOM(item,0);
		changer.className = 'submenu';
		}

		}

		// Open Page with supplied url
		function OpenPage(URL)
		{
		window.location.href = URL;
		}

		// Open popup window
		function OpenWindow(URL)
		{ 
			windowwidth =780;
			if (browser.indexOf('NS') != -1)
			{
				var windowwidth=780 }
			else
			{
				var windowwidth=720 };		

			var thewindow=window.open(URL,"thewindow","menubar=yes,width=" + windowwidth + ",height=500,toolbar=yes,scrollbars=yes,location=yes,directories=no,resizable=yes"); 
			thewindow.focus();
		}

		function detectres()
		{
			x = screen.width ; 
			y = screen.height

			if ((x >= 800) && (x <= 1000)) {x = 800}
			if ((y >= 600) && (y <= 700))  {y = 600}
			if (x >= 1001)  {x = 1024}
			if (y >= 701)  {y = 768}

		  return x + "x" + y;

		}
				//-->