	    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 MENUHEIGHT = "242px";
	    var PHONEHEIGHT = 0;
	    var PHONEWIDTH = 336;
		var MENULENGTH = "796px";
	    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 CloseMenuF()
	    {		
		
		document.getElementById("menuOverlay1").style.display="none";
		document.getElementById("menuOverlay2").style.display="none";
		document.getElementById("menuOverlay3").style.display="none";
		document.getElementById("menuOverlay4").style.display="none";
	    }

	    function CloseMenu()
	    {
		GetMouse();
		
		if(
		   ((yMousePos > 242) && (yMousePos < 292)) ||
		   ((yMousePos > -20) && (yMousePos < 140))
		)
		   return;
		
		

		document.getElementById("menuOverlay1").style.display="none";
		document.getElementById("menuOverlay2").style.display="none";
		document.getElementById("menuOverlay3").style.display="none";
		document.getElementById("menuOverlay4").style.display="none";
	    }

        
	    function ShowMenuItem(item)
	    {	    	
		
		document.getElementById("menuOverlay1").style.display="none";
		document.getElementById("menuOverlay2").style.display="none";
		document.getElementById("menuOverlay3").style.display="none";
		document.getElementById("menuOverlay4").style.display="none";
		document.getElementById("menuOverlay" + item).style.left = ((MENUWIDTH - 0) + "px");
		document.getElementById("menuOverlay" + item).style.width = MENULENGTH;
		document.getElementById("menuOverlay" + item).style.top = MENUHEIGHT;
		document.getElementById("menuOverlay" + item).style.display="block";
		
	        
	    }
	    
	    function HideMenuItem(item)
	    {
		
		return;
				    
	    }
		
	    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);
			    isIE8 = (ua.indexOf('msie 8.0') != -1);
                isChrome = (ua.indexOf('chrome') != -1);
    		
		    if (document.getElementById('map'))
		    loadMap();

		    if (isIE6)
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2);
			    PHONEHEIGHT = 199;
			    PHONEWIDTH = 346;
			    MENULENGTH = "792px";
			    MENUHEIGHT = "258px";
	  	    }
		    else if (isIE7)
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2);
			    PHONEHEIGHT = 199;
			    PHONEWIDTH = 346;
			    MENULENGTH = "792px";
			    MENUHEIGHT = "258px";
		    }
		    else if (isIE8)
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2);
			    PHONEHEIGHT = 199;
			    PHONEWIDTH = 346;
			    MENULENGTH = "792px";
			    MENUHEIGHT = "258px";
		    }
		    else if (isFirefox3)
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2) - 8;
			    PHONEHEIGHT = 195;
			    PHONEWIDTH = 341;
			    MENULENGTH = "794px";
			    MENUHEIGHT = "256px";
	  	    }
		    else if (isFirefox)
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2) - 8;
			    PHONEHEIGHT = 195;
			    PHONEWIDTH = 341;
			    MENULENGTH = "794px";
			    MENUHEIGHT = "256px";
	  	    }
		    else 
		    {
			    MENUWIDTH = ((windowWidth - 800) / 2) - 8;
			    PHONEHEIGHT = 195;
			    PHONEWIDTH = 341;
			    MENULENGTH = "794px";
			    MENUHEIGHT = "256px";
	  	    }
		    document.getElementById("phone").style.top = PHONEHEIGHT;


		    var THISURL = window.location.href;
		    var tst1 = THISURL.split("SearchSite.aspx");
		    if (tst1[1])
			    return;

		    var spc1 = THISURL.split("?searchField=");
    	    
	        if (spc1[1] != null)
	        {
	            if (spc1[1].length > 2)
		        {		   	
			        var location = "http://www.hfifluidpowerproducts.com/Pages/SearchSite.aspx?searchField=" + spc1[1];
	                   // window.location.href=location;
		        }
		    }
	    }
	       
				
	    function CheckMenu()
	    {
	        
	         	        
	        pos = ((windowWidth - 800) / 2) + 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 SubmitFilterCrossReference()
	    {
	        var loc = "http://www.hfifluidpowerproducts.com/hydraulic-filter-cross-reference-and-interchange.aspx?IDXPart=";
	        loc += document.getElementById('IDXPart').value;
	        if (document.getElementById('IDXMatch').value == 1)
	            loc += "&IDXMatch=on";
	        location.href = loc;
	    }
	    
	    function AddToCart(item)
	    {
	       
	       var qty = document.forms["formx"].elements["addqty" + item].value;	                  
	      
	       document.forms[0].elements['partToAdd'].value = document.forms[0].elements['partToAdd'].value + " -> ";
	        document.forms[0].elements['partToAdd'].value = document.forms[0].elements['partToAdd'].value + document.forms[0].elements['ADD_DESC'].value;
	      
	       document.forms[0].submit(); 
	        
	    }

            function SendSubmit()
            {
               document.forms[0].submit();
            }
	        
	    function RunSearch()
	    { 
	       var location = "http://www.hfifluidpowerproducts.com/Pages/SearchSite.aspx?searchField=" +
			document.forms[0].elements['searchField'].value;
	       window.location.href=location;
	    }
	    
	    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;
	    } 