 

			
	
			
	
				
		function fixLinkValueGraphic_Button_Retro(strLinkValue, bExistingPage, bImportedFileLink)
		{
			
			if(!bExistingPage)
			{
				return strLinkValue;
			}
			
			
			
			
			return strRelativePathToRoot + strLinkValue;
		}
	
	
				
		function isCurrentPageGraphic_Button_Retro(strLinkValue, bExistingPage) 
		{	
			
			if(!bExistingPage)
			{
				return false;
			}
			
			strLinkValue = strLinkValue.toLowerCase();
			return (strRelativePagePath == strLinkValue);	
		}
	
				
		 
			function textMouseOnGraphic_Button_Retro(textObj) 
			{ 
				textObj.style.color='#FFFFFF'; 
				textObj.style.fontWeight='normal';
				textObj.style.textDecoration='none';
				textObj.style.fontStyle='normal';
			}  
			function textMouseOffGraphic_Button_Retro(textObj) 
			{ 
				textObj.style.color='#000000'; 
				textObj.style.fontWeight='normal';
				textObj.style.textDecoration='none';
				textObj.style.fontStyle='normal';
			}
				
	
	
				
		function getOnClickGraphic_Button_Retro(strLinkValue, strLinkTarget) 
		{ 
			var strOnClick = "";
		
			strOnClick = ' onClick="';
			
			
			if(strLinkTarget == '_blank')
			{
				strOnClick = 'onClick="window.open(\'' + strLinkValue + '\');"';
			}
			else
			{
					
				strOnClick = 'onClick="parent.location = \'' + strLinkValue + '\';"';
			}
			
			return strOnClick;
		}	
		
			
		

		
		var nImageWidth =   104;
		var nImageHeight =  33;
									
		
		var nGeneralPadding = 10;				
						
		
		var nButtonsPerRow = 6;  
			
		
		var nVerticalSpacing = 16;
		var nHorizontalSpacing = 10;
	
				
		
			
			function mouseOnGraphic_Button_Retro(tdCell) 
			{
				tdCell.style.backgroundImage = 'url( http://www.homestead.com/~media/elements/LayoutClipart/../LayoutClipart/Buttons/Steel_Gray_Button._Selected )';
			}
			function mouseOffGraphic_Button_Retro(tdCell)
			{
				tdCell.style.backgroundImage = 'url( http://www.homestead.com/~media/elements/LayoutClipart/../LayoutClipart/Buttons/Steel_Gray_Button.gif )';
			}
		
		
			
				
		function getMouseOverHandlerGraphic_Button_Retro(bIsCurrentPage) 
		{
				
			
					
				if (bIsCurrentPage) return '';
			
			
			var strMouseOver = "";
			var strMouseOut = "";
			
				
				strMouseOver += ' mouseOnGraphic_Button_Retro(this);';
				strMouseOut += ' mouseOffGraphic_Button_Retro(this);';
			
			
				
				strMouseOver += ' textMouseOnGraphic_Button_Retro(this);';
				strMouseOut += ' textMouseOffGraphic_Button_Retro(this);';
			
					 								
			return ' onMouseOver="' + strMouseOver + '" onMouseOut="' + strMouseOut + '"';
		}	
		
					
		function getStyleGraphic_Button_Retro(strImg, strFontColor, bIsCurrentPage) 
		{
			
			var strStyle = ' style="';
			
			strStyle += 'cursor:hand;';	
			strStyle += 'color:' + strFontColor + ';';
			strStyle += 'background-image:url(' + strImg + ');';
			strStyle += 'background-repeat:no-repeat;';
			strStyle += 'background-position:center ';
			
			
			strStyle += 'center; ';			
					
			if(bIsCurrentPage)
			{
				strStyle += 'font-weight: normal; ';
				strStyle += 'text-decoration: none; ';
				strStyle += 'font-style: normal; ';
			}
			else
			{
				strStyle += 'font-weight: normal; ';
				strStyle += 'text-decoration: none; ';
				strStyle += 'font-style: normal; ';
			}

			
			strStyle += '" ';
			
			return strStyle;
		}
			
				
		function getHTMLGraphic_Button_Retro(strDisplayName, strLinkValue, strLinkTarget, nLinkNum, bLastLink, bExistingPage, bImportedFileLink) 
		{
			
			var nColIndex = 0;
			
			var strImg = "http://www.homestead.com/~media/elements/LayoutClipart/../LayoutClipart/Buttons/Steel_Gray_Button.gif";
			
			
			var bIsCurrentPage = isCurrentPageGraphic_Button_Retro(strLinkValue, bExistingPage);
			
			
			strLinkValue = fixLinkValueGraphic_Button_Retro(strLinkValue, bExistingPage, bImportedFileLink);
			
			
			if (bIsCurrentPage) 
			{
				
					strImg = "http://www.homestead.com/~media/elements/LayoutClipart/../LayoutClipart/Buttons/Steel_Gray_Button._Selected";
				
				
				strFontColor = "#FFFFFF";
			} 
			else 
			{
				strFontColor = "#000000";
			}
				
				
			var bNetscape = false;
			var strAppName = navigator.appName;
			var appVer = parseFloat(navigator.appVersion);
								
			if ( (strAppName == "Netscape") &&
				(appVer >= 4.0 && appVer < 5) ) {  
				bNetscape = true;
			}
			
			
			var strHTML = '';
			
			
			if (nLinkNum == 1) {
				strHTML += '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">';
			}
						
			
			  
		
			
			
				strHTML += '<TR>';
				
						
			
			
			strHTML += '<TD NOWRAP HEIGHT="' + nImageHeight + '"';
						
			strHTML += ' ALIGN="center" VALIGN="MIDDLE"';
			
			if(!bNetscape)
			{
				
				var strStyle = getStyleGraphic_Button_Retro(strImg, strFontColor, bIsCurrentPage); 
				strHTML += strStyle;
			}
			else
			{
				
				if(bIsCurrentPage)
				{
					strHTML += ' CLASS="navBackgroundSelectedGraphic_Button_Retro"';
				}
				else
				{
					strHTML += ' CLASS="navBackgroundGraphic_Button_Retro"';
				}
			}
			
			if(!bNetscape)
			{		
				
				var strOnClick = getOnClickGraphic_Button_Retro(strLinkValue, strLinkTarget); 
					
				
				var strMouseOver = getMouseOverHandlerGraphic_Button_Retro(bIsCurrentPage);
								
				strHTML += strOnClick + strMouseOver;
			}
			 
			if(bNetscape)
			{
				strHTML += ' width="' + nImageWidth + '"';
			}
						
			strHTML += '>';  		
									
			
			var strFormattingStart = ''; 
			var strFormattingEnd = '';
			
			if (bNetscape)
			{
				if(bIsCurrentPage)
				{
					
					
					
				}
				else
				{
					
					
					
				}
			}
					
			

			if(!bNetscape)
			{
				var nDivWidth = nImageWidth;
				
				
				strHTML += '<DIV ';
				strHTML += ' STYLE="width:' + nDivWidth + 'px';
				
				
				strHTML += '">'; 
			}
			
			
			if(bNetscape)
			{
				

				
				strHTML += '<A HREF="' + strLinkValue + '" TARGET="';

					
				if(strLinkTarget == '_self')
				{
					strLinkTarget = '_parent';
				}
				
				strHTML += strLinkTarget + '">'; 
			}	
			
						
			
			strHTML += '<FONT';
			strHTML += ' FACE="Helvetica"';
			strHTML += ' CLASS="Helvetica10"'; 
			
			
			if(bNetscape)
			{
				strHTML += ' COLOR="' + strFontColor + '"';
			}
		
			strHTML += '>'; 
						
			strHTML += strFormattingStart + strDisplayName + strFormattingEnd;
						
			
			strHTML += '</FONT>';

						
			if(!bNetscape)
			{
				strHTML += '</DIV>';
			}
					
			
			if(bNetscape)
			{
				
				
				strHTML += '</A>';
			}		
					
			
			strHTML += '</TD>';
		
			
			
				strHTML += '</TR>';

				
				
				
					if(!bLastLink)
					{
						strHTML += '<TR><TD>';
						strHTML += '<IMG SRC="/tp.gif" HEIGHT="' + nVerticalSpacing + '" WIDTH="1" BORDER="0" ALT="">';
						strHTML += '</TD></TR>';
					}
				
			
			
			
			
			
			
			if (bLastLink) 
			{
				strHTML += '</TABLE>';
			}
			
			return strHTML;
		}	
		
									
				
		function navElementGraphic_Button_Retro()
		{
			
			if(typeof counterGraphic_Button_Retro == "undefined")
			{
				counterGraphic_Button_Retro = 1;
			}
			else
			{
				counterGraphic_Button_Retro += 1;
			}
			var navID = counterGraphic_Button_Retro;
			
			
			if (navigator.userAgent.indexOf("Mozilla/3") != -1)
			{
				var msg = 'Sorry, since you are using an old version of Netscape, you may not be able to access all the pages in this Web site.';	
				document.write(msg);
			}
			else 
			{
				
document.write(getHTMLGraphic_Button_Retro("Home", "Index.html", "", 1,false,true,false));document.write(getHTMLGraphic_Button_Retro("Contact&nbsp;us", "Contact_Us.html", "", 2,false,true,false));document.write(getHTMLGraphic_Button_Retro("Products", "Our_Products.html", "", 3,false,true,false));document.write(getHTMLGraphic_Button_Retro("Reamer", "Reamer.html", "", 4,true,true,false));
			}
		}
			
								
				
		function netscapeDivCheckGraphic_Button_Retro()
		{
			
				 			
						
				
			var strAppName = navigator.appName;
			var appVer = parseFloat(navigator.appVersion);
								
			if ( (strAppName == "Netscape") &&
				(appVer >= 4.0 && appVer < 5) ) {  
				document.write("</DIV>");
			}
		}
	
				
		var counterGraphic_Button_Retro;
			
			
				
		navElementGraphic_Button_Retro();
			
				
		netscapeDivCheckGraphic_Button_Retro();
			
	
