	    var menuTopPos = 253;
 	    var phoneTopPos = 199;
	    var menu;
	    var menuName = "";
	    var menuActivate = false;
	    var menuCurrent = 0;
	    var xMousePos = 0;
	    var yMousePos = 0;
	    var WindowWidth = 0;
	    var windowHeight = 0;
	    var showTime = false;
	    var showLoc = false;
	    var isFirefox;
	    var phoneWidth=0;
	    var keypane = 'splash';
	    var MENUWIDTH = 0;
	    var PHONEHEIGHT = 0;
	    var PHONEWIDTH = 336;
	    keypane += 'pane';
	    dotOn = new Image(20,20);
	    dotOn.src = 'http://www.hfifluidpowerproducts.com/Images/dot.gif';
	    dotOff = new Image(20,20);
	    dotOff.src = 'http://www.hfifluidpowerproducts.com/Images/menu_dot.gif';

	    function GetMouse()
	    {
		if (!e)
                    var e = window.event||window.Event;
		

		if (isFirefox)
			captureMousePositionFireFox(e);
		else
			captureMousePositionIE(e);
	    }

	    function GetSize() 
	    {
  		var viewportwidth;
 		var viewportheight;
 
 		// the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 
 		if (typeof window.innerWidth != 'undefined')
 		{
      			viewportwidth = window.innerWidth;
      			viewportheight = window.innerHeight;
 		}
 
		// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

 		else if (typeof document.documentElement != 'undefined'
     			&& typeof document.documentElement.clientWidth !=
     			'undefined' && document.documentElement.clientWidth != 0)
 		{
       			viewportwidth = document.documentElement.clientWidth;
       			viewportheight = document.documentElement.clientHeight;
 		}
		
 
 		// older versions of IE
 
 		else
 		{
       			viewportwidth = document.getElementsByTagName('body')[0].clientWidth;
       			viewportheight = document.getElementsByTagName('body')[0].clientHeight;
 		}

  		windowWidth = viewportwidth;
		windowHeight = viewportheight;
		
	    }
		    
	    function captureMousePositionIE(e)
	    {
	        if(window.event)
	        { 
	            xMousePos = window.event.x+document.body.scrollLeft;
                    yMousePos = window.event.y+document.body.scrollTop;
                    xMousePosMax = document.body.clientWidth+document.body.scrollLeft;
                    yMousePosMax = document.body.clientHeight+document.body.scrollTop;
                
                }
    
            }
        
            function captureMousePositionFireFox(e)
	    {
			
                if (!e)
                    var e = window.event||window.Event;

                xMousePos = e.clientX + document.documentElement.scrollLeft;
                yMousePos = e.clientY + document.documentElement.scrollTop;

            }	   

	   
	    
		
	    function AdjustMenuPos()
	    {
			GetSize();
            CI = setInterval("CheckMenu()", 50);

	        var ua = navigator.userAgent.toLowerCase();
			//alert(ua);
            isFirefox = (ua.indexOf('firefox/') != -1);
			isFirefox3 = (ua.indexOf('firefox/3') != -1);		
			isIE6 = (ua.indexOf('msie 6.0') != -1);
			isIE7 = (ua.indexOf('msie 7.0') != -1);
            isChrome = (ua.indexOf('chrome') != -1);
		
		if (document.getElementById('map'))
		loadMap();

		if (isIE6)
		{
			MENUWIDTH = 20;
			PHONEHEIGHT = 10;
			PHONEWIDTH = 346;
	  	}
		else if (isIE7)
		{
			MENUWIDTH =  (windowWidth - 800) / 2;
			PHONEHEIGHT = 10;
			PHONEWIDTH = 346;
		}
		else if (isFirefox3)
		{
			MENUWIDTH = ((windowWidth - 800) / 2) - 5;
			PHONEHEIGHT = 10;
			PHONEWIDTH = 341;
	  	}
		else if (isFirefox)
		{
			MENUWIDTH = ((windowWidth - 800) / 2) - 6;
			PHONEHEIGHT = 10;
			PHONEWIDTH = 341;
	  	}
		else 
		{
			MENUWIDTH = ((windowWidth - 800) / 2) - 6;
			PHONEHEIGHT = 10;
			PHONEWIDTH = 340;
	  	}
		document.getElementById("phone").style.top = PHONEHEIGHT;
			      
	    }
	       
				
	    function CheckMenu()
	    {	        
	        pos = windowWidth - PHONEWIDTH;
	        document.getElementById("phone").style.left = pos +  "px";
	            
	        if (document.documentElement.scrollTop > PHONEHEIGHT)
	                document.getElementById("phone").style.top = document.documentElement.scrollTop + "px";
	        else 
	                document.getElementById("phone").style.top = PHONEHEIGHT + "px";
	    }
	    
	    function AddToCart(item)
	    {
	       
	       var qty = document.forms["formx"].elements["addqty" + item].value;	                  
	      
	       document.forms[0].elements['partToAdd'].value= item;
	       document.forms[0].elements['qtyToAdd'].value = qty;
	       document.forms[0].submit(); 
	        
	    }

            function SendSubmit()
            {
               document.forms[0].submit();
            }
	        
	    
	    
	    function UseCustForCall()
	    {
	        var injection = "\n\n**********************************************\n\nCall For Customer " + document.forms[0].elements['CCallSel'].value;
	       injection += "\n\n"; 
	        document.forms[0].elements['creort'].value += injection; 
	        document.forms[0].elements['creort'].focus();
	         document.forms[0].elements['creort'].value = document.forms[0].elements['creort'].value;
	    } 
