<!-- START JAVASCRIPT CODE
//////////////////////////////////////////////////////////////////////////////////////
// SET UP INITIAL CONDITION FOR DIFFERENT BROWSERS
//////////////////////////////////////////////////////////////////////////////////////
var ns4 = (document.layers) ? true:false;
var ie4 = (document.all)    ? true:false;
var visible;
var hidden;
if(ns4)
{
  visible = 'show';
	hidden  = 'hide';
	alert("This site is optimized for the latest Netscape Browser [ver 6.0]\n" + 
	      "You will not be able to navigate the site correctly with your current browser");
}
else if(ie4)
{
  visible = 'visible';
	hidden  = 'hidden';
}
else
{
  visible = 'visible';
	hidden  = 'hidden';
}
//////////////////////////////////////////////////////////////////////////////////////
//  REVEAL HIDDEN LAYERS AND HIDE VISIBLE ONES
//////////////////////////////////////////////////////////////////////////////////////
var lastLayer = null;
function swapLayer(current)
{
  var currentLayer;
	if(ns4) currentLayer = document.layers[current];
	else    currentLayer = document.all[current].style;
	currentLayer.visibility = visible;
	lastLayer = currentLayer;
}
//////////////////////////////////////////////////////////////////////////////////////
//  HIDE SPECIFIED LAYER
//////////////////////////////////////////////////////////////////////////////////////
function hideLayer(current)
{ 
  if(current!=null)
	{
	  if(ns4) document.layers[current].visibility = hidden;
	  else    document.all[current].style.visibility = hidden;
	}
	else if(lastLayer!=null) lastLayer.visibility = hidden;
}
//////////////////////////////////////////////////////////////////////////////////////
//  CHANGES THE POINTER OF AN IMAGE TO ANOTHER
//////////////////////////////////////////////////////////////////////////////////////
function swapImage(current, location)
{
  document.images[current].src = location;
}
//////////////////////////////////////////////////////////////////////////////////////
//  CHANGE BACKGROUND COLOR OF AN OBJECT
//////////////////////////////////////////////////////////////////////////////////////
function colorChange(current, color)
{
  if(ns4) current.backgroundColor = color;
  else    current.style.backgroundColor = color;
}
//////////////////////////////////////////////////////////////////////////////////////
//  ADD A NEW MENU ITEM TO THE CURRENT MENU
//////////////////////////////////////////////////////////////////////////////////////
function addMenuItem(whatName, whatClass, 
                     whatLink, whatOptions)
{
	if(whatOptions==null) whatOptions="";
	var output = "";
			output+= "<tr height=10>\n";
	    output+= "<td class='itembox'\n";
			output+= " onMouseOver=\"colorChange(this,'6E6632');return false;\"\n";
			output+= " onMouseOut =\"colorChange(this,'6E6632');return false;\">\n";
			output+= "  <a href='" + whatLink + "' class='" + whatClass + "'\n";
			output+= " " + whatOptions + ">" + whatName + "</a>\n";
			output+= "</td>\n";
			output+= "</tr>\n";               
	document.writeln(output);
}
//////////////////////////////////////////////////////////////////////////////////////
//  PRELOAD ALL NECESSARY IMAGES
//////////////////////////////////////////////////////////////////////////////////////
function preload()
{
  var imageArray = new Array('images/but_products1.gif', 'images/but_company1.gif', 'images/but_biz1.gif', 'images/but_contact1.gif', 'images/m_about1.gif', 'images/m_quality1.gif', 'images/m_research1.gif');

  for(var i=0;i<imageArray.length;i++)
  {
  	var anImage = new Image();
		anImage.src = imageArray[i];
  }
  hideLayer('companyM');

}
//////////////////////////////////////////////////////////////////////////////////////
//  
//////////////////////////////////////////////////////////////////////////////////////

function go1(){
if (document.pdDirectories.pdDir.options[document.pdDirectories.pdDir.selectedIndex].value != "none") {
location = document.pdDirectories.pdDir.options[document.pdDirectories.pdDir.selectedIndex].value
		}
	}

// END JAVA SCRIPT CODE -->