

function mmLoadMenus() {
  if (window.mm_menu_0821100249_0) return;
    window.mm_menu_0821100249_0 = new Menu("root",140,16,"Arial, Helvetica, sans-serif",10,"#000000","#FFFFFF","#CCCCCC","#000084","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0821100249_0.addMenuItem("Pharmaceuticals - Shaped","onClick=MM_showHideLayers('PharmShaped','','show','PharmRound','','hide','Batteries','','hide','Other','','hide')");
  mm_menu_0821100249_0.addMenuItem("Industrial Tooling","onClick=MM_showHideLayers('PharmShaped','','hide','PharmRound','','hide','Batteries','','hide','Other','','show')");
  mm_menu_0821100249_0.addMenuItem("Pharmaceuticals - Round","onClick=MM_showHideLayers('PharmShaped','','hide','PharmRound','','show','Batteries','','hide','Other','','hide')");
  mm_menu_0821100249_0.addMenuItem("Batteries","onClick=MM_showHideLayers('PharmShaped','','hide','PharmRound','','hide','Batteries','','show','Other','','hide')");
   mm_menu_0821100249_0.hideOnMouseOut=true;
   mm_menu_0821100249_0.bgColor='#555555';
   mm_menu_0821100249_0.menuBorder=1;
   mm_menu_0821100249_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0821100249_0.menuBorderBgColor='#777777';
// OLD - - - mm_menu_0821100249_0.writeMenus();

// NEW
//function mmLoadMenus() {
//  if (window.mm_menu_0930162956_0) return;

window.mm_menu_0930162956_0_1 = new Menu("Hata&nbsp;Presses&nbsp;&&nbsp;Accessories",128,17,"Arial, Helvetica, sans-serif",11,"#000000","#CC0033","#CCCCCC","#333333","left","middle",3,1,200,1,10,true,true,true,2,false,true);
    mm_menu_0930162956_0_1.addMenuItem("Tablet&nbsp;Presses","location='/Hata/presses.php'");
    mm_menu_0930162956_0_1.addMenuItem("Press&nbsp;Controls","location='/Hata/controls.php'");
    mm_menu_0930162956_0_1.addMenuItem("Parts&nbsp;&&nbsp;Accessories","location='/Hata/accessories.php'");
    mm_menu_0930162956_0_1.addMenuItem("Tablet&nbsp;Tester","location='/Hata/tester.php'");
     mm_menu_0930162956_0_1.hideOnMouseOut=true;
     mm_menu_0930162956_0_1.bgColor='#555555';
	 mm_menu_0930162956_0_1.position='10', '2';
     mm_menu_0930162956_0_1.menuBorder=0;
     mm_menu_0930162956_0_1.menuLiteBgColor='';
     mm_menu_0930162956_0_1.menuBorderBgColor='#000000';
	 
	 
                            window.mm_menu_0930162956_0 = new Menu("root",166,17,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#CC0033","#333333","#CCCCCC","left","middle",3,1,200,-5,7,true,true,true,2,false,true);
  mm_menu_0930162956_0.addMenuItem("Compression&nbsp;Tooling","location='/compression.php'");
  mm_menu_0930162956_0.addMenuItem("Blister&nbsp;Pack&nbsp;Tooling","location='/blister.php'");
  mm_menu_0930162956_0.addMenuItem(mm_menu_0930162956_0_1,"location='/Hata/hata.php'");
  mm_menu_0930162956_0.addMenuItem("Turrets&nbsp;&&nbsp;Parts","location='/turrets_parts.php'");
   mm_menu_0930162956_0.hideOnMouseOut=true;
   mm_menu_0930162956_0.childMenuIcon="/images/navigation/arrow_red.gif";
   mm_menu_0930162956_0.bgColor='#555555';
   mm_menu_0930162956_0.menuBorder=0;
   mm_menu_0930162956_0.menuLiteBgColor='';
   mm_menu_0930162956_0.menuBorderBgColor='#000000';

          window.mm_menu_0930165205_0 = new Menu("root",240,17,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#CC0033","#333333","#CCCCCC","left","middle",3,1,200,-5,7,true,true,true,2,false,true);
  mm_menu_0930165205_0.addMenuItem("Elizabeth&nbsp;Carbide&nbsp;Die&nbsp;Co.,&nbsp;Inc.","location='/Locations/ecarbide.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth-Hata&nbsp;International","location='/Locations/ehatai.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth&nbsp;Carbide&nbsp;of&nbsp;North&nbsp;Carolina","location='/Locations/ecarbidenc.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth&nbsp;Carbide&nbsp;Components","location='/Locations/ecarbidecomponents.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth-EPMO","location='/Locations/elizEPMO.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth-Scheu&nbsp;&&nbsp;Kniss","location='/Locations/elizSK.php'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth&nbsp;Carbide&nbsp;of&nbsp;Europe","location='/divisions.php#ece'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth-Hata&nbsp;Japan&nbsp;Ltd.","location='/divisions.php#hatajapan'");
  mm_menu_0930165205_0.addMenuItem("Elizabeth - China","location='/divisions.php#china'");
   mm_menu_0930165205_0.hideOnMouseOut=true;
   mm_menu_0930165205_0.bgColor='#555555';
   mm_menu_0930165205_0.menuBorder=0;
   mm_menu_0930165205_0.menuLiteBgColor='#555555';
   mm_menu_0930165205_0.menuBorderBgColor='#000000';
   
   
   // About Us
   window.mm_menu_1001103207_0 = new Menu("root",100,17,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#CC0033","#333333","#CCCCCC","left","middle",3,1,200,-5,7,true,true,true,2,false,true);
  mm_menu_1001103207_0.addMenuItem("History","location='/history.php'");
  mm_menu_1001103207_0.addMenuItem("Mission","location='/mission.php'");
  mm_menu_1001103207_0.addMenuItem("ISO9001:2000","location='/PressReleases/ECD_ISO9001.php'");
   mm_menu_1001103207_0.hideOnMouseOut=true;
   mm_menu_1001103207_0.bgColor='#555555';
   mm_menu_1001103207_0.menuBorder=0;
   mm_menu_1001103207_0.menuLiteBgColor='';
   mm_menu_1001103207_0.menuBorderBgColor='#000000';
  

      window.mm_menu_1001103202_0 = new Menu("root",200,150,"Arial, Helvetica, sans-serif",11,"#FFFFFF","#CC0033","#333333","#CCCCCC","left","middle",3,1,200,-5,7,true,true,true,2,false,true);
  mm_menu_1001103202_0.addMenuItem("<form&nbsp;method='get'&nbsp;action='http://search.atomz.com/search/'><input&nbsp;size='15'&nbsp;name='sp-q'><input&nbsp;name='submit'&nbsp;type='submit'&nbsp;value='Search'><br><input&nbsp;type='hidden'&nbsp;name='sp-a'&nbsp;value='sp100320a0'><input&nbsp;type='hidden'&nbsp;name='sp-p'&nbsp;value='all'><input&nbsp;type='hidden'&nbsp;name='sp-f'&nbsp;value='ISO-8859-1'></form>");
   mm_menu_1001103202_0.hideOnMouseOut=true;
   mm_menu_1001103202_0.bgColor='#555555';
   mm_menu_1001103202_0.menuBorder=0;
   mm_menu_1001103202_0.menuLiteBgColor='';
   mm_menu_1001103202_0.menuBorderBgColor='#000000';

// NEW part - - mm_menu_1001103202_0.writeMenus();
//From old
mm_menu_0821100249_0.writeMenus();


} // mmLoadMenus()

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// mouseovers
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		location_over = newImage("p-images/location-over.gif");
		history_over = newImage("p-images/history-over.gif");
		elizatips_over = newImage("p-images/elizatips-over.gif");
		mission_over = newImage("p-images/mission-over.gif");
		tablet_tester_over = newImage("p-images/tablet-tester-over.gif");
		contacts_over = newImage("p-images/contacts-over.gif");
		punches_dies_over = newImage("p-images/punches-dies-over.gif");
		rotary_tablet_over = newImage("p-images/rotary-tablet-over.gif");
		home_over = newImage("p-images/home-over.gif");
		div_contact_over = newImage("p-images/div-contact-over.gif");
		preloadFlag = true;
	}
}

// Preload Images
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];}}
}

// Netscape browser reload for page resize
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



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];}
}


// Jump Pulldown Menus
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


// Popup window for leaving the site
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}


// Navigation Menu

   document.WM = new Object();

   document.WM.hirelist = new Object();

   document.WM.hirelist.expandos = new Array();

   document.WM.hirelist.heights = new Array();

   document.WM.hirelist.names = new Array();

   

   function WM_toggle(id) {

     if (document.all){

       if(document.all[id].style.display == 'none'){

         document.all[id].style.display = '';

       } else {

         document.all[id].style.display = 'none';

       }

     } else if (document.getElementById){

       if(document.getElementById(id).style.display == 'none'){

         document.getElementById(id).style.display = 'block';

       } else {

         document.getElementById(id).style.display = 'none';

       }

     } else if(document.layers) {

         if(parseInt(id + 1)){

   	  ditem = id + 1;

         } else {

   	  ditem = document.WM.hirelist.names[id];

         }

         if(document.WM.hirelist.expandos[ditem].clip.bottom == 0) {

   	     document.WM.hirelist.expandos[ditem].clip.bottom = document.WM.hirelist.heights[ditem];

         } else {

   	  document.WM.hirelist.expandos[ditem].clip.bottom = 0;

         }

         WM_align();

     }

   }

   

   function WM_align() {

       var i,j,stupid_netscape_array_infinate_loop_error;

       stupid_netscape_array_infinate_loop_error = document.WM.hirelist.expandos.length;

       for(i=0; i<stupid_netscape_array_infinate_loop_error; i++) {

   		j = i + 1;

   		if(document.WM.hirelist.expandos[j]){

   	    	if(document.layers) {

   				document.WM.hirelist.expandos[j].top = document.WM.hirelist.expandos[i].top + document.WM.hirelist.expandos[i].clip.bottom;

   	   		}

   		}

       }

   }

   

   function WM_initialize_toolbar(){

       if(document.layers) {

   		for(i=0; i<document.layers['container'].document.layers.length; i++){

   	    	document.WM.hirelist.expandos[i] = document.layers['container'].document.layers[i];

   	    	document.WM.hirelist.names[document.layers['container'].document.layers[i].name] = i;

   	    	document.WM.hirelist.heights[i] = document.WM.hirelist.expandos[i].clip.bottom;

   		}

   		for (p=0;p<document.WM.hirelist.expandos.length;p=p+2){

   	    	WM_toggle(p);

   		}

   		document.layers['container'].visibility = 'visible';

       } else if (document.all){

   		for(i = 0; i < document.all('container').all.length; i++){

   		    document.all('container').all[i].style.position = 'relative';

   		    if(document.all('container').all[i].className == 'menu'){

   			document.all('container').all[i].style.display = 'none';

   		    }

   		}

   		document.all('container').style.visibility = 'visible';	

       } else if (document.getElementsByTagName && document.getElementById){

   		var contained = document.getElementById('container').getElementsByTagName('div');

   		for(i = 0; i < contained.length; i++){

   		    contained[i].style.position = 'relative';

   		    if(contained[i].getAttribute('class') == 'menu'){

   			contained[i].style.display = 'none';

   		    }

   		}

   		document.getElementById('container').style.visibility = 'visible';

       }

   }
   
       function WM_imageToggle(daImage, src1, src2, netscape_container){

      var objStr,obj;

      // Check to make sure that images are supported in the DOM.

  	  myImage = document.images[daImage];

      if(document.layers){

          myImage = document.layers['container'].document.layers[netscape_container].document.images[daImage];

      }

      if(document.images){

        // Check to see whether you are using a name, number, or object

          if(myImage.src == src1){

   	  	myImage.src = src2;

          } else {

    	  	myImage.src = src1;

          }

      }

    }


// END Nav menu
   
