function fetch(x){
var pid = [x];

if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0"){
location.href="inset.htm?product="+pid+"&eof=true";
}
else if (navigator.appName == "Netscape" && navigator.appVersion >= "5.0"){
location.href="inset.htm?product="+pid+"&eof=true";
}
else {
location.href=pid+".htm";
}}


if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0")
//if (navigator.appName == "Fuzzy Bunny Rabbit" && navigator.appVersion >= "4.0")
{

/********************************************************************************
Calling the write functions and setting variables
********************************************************************************/


//Variables to set

oFoldMenu=new foldoutMenuObj('oFoldMenu')
oFoldMenu.substay=true //Should the sub menus stay folded?  
oFoldMenu.sub2stay=true //Should the sub2 menus stay folded?
oFoldMenu.sub3stay=true //Should the sub3 menus stay folded? 
oFoldMenu.sub4stay=true //Should the sub4 menus stay folded?
oFoldMenu.sub5stay=true //Should the sub5 menus stay folded?  
oFoldMenu.sub6stay=true //Should the sub6 menus stay folded?  

oFoldMenu.menubetween=16 //The pixel value between the foldoutmenus


oFoldMenu.left=0 //The left position of the menu 
oFoldMenu.top=0 //The top position of the menu 
oFoldMenu.width=193 //The width of the menu
oFoldMenu.maxheight=600 //The maxheight of the menu, be sure to set this one high enough

//Setting styles
oFoldMenu.clFold="" //Regular styles for the topDivs
oFoldMenu.clSub="left:2" //Styles for the subDivs
oFoldMenu.clSub2="left:6" //Styles for the sub2Divs
oFoldMenu.clSub3="left:35" //Styles for the sub3Divs
oFoldMenu.clSub4="left:45" //Styles for the sub4Divs
oFoldMenu.clSub5="left:65" //Styles for the sub5Divs

oFoldMenu.clCont="position:relative;" //The cont layer, set position to relative if you want to try and have it inside a layer or whatever
oFoldMenu.clFoldLinks="font-family:Arial, Helvetica; font-size:11px; text-decoration:none; color:White" //The style for the toplinks
oFoldMenu.clSubLinks="font-family:Arial, Helvetica; font-size:10px; text-decoration:none; color:#d9ab4d" //The style for the sublinks
oFoldMenu.clSub2Links="font-family:Arial, Helvetica; font-size:10px; text-decoration:none; color:White" //The style for the sub2links
oFoldMenu.clSub3Links="font-family:Arial, Helvetica; font-size:10px; text-decoration:none; color:White" //The style for the sub3links
oFoldMenu.clSub4Links="font-family:Arial, Helvetica; font-size:10px; text-decoration:none; color:White" //The style for the sub4links
oFoldMenu.clSub5Links="font-family:Arial, Helvetica; font-size:10px; text-decoration:none; color:White" //The style for the sub5links

//Do not change this line!
oFoldMenu.makeStyle()


//Making menus

/*ARGUMENTS:   oFoldMenu.make('type','text','url','target','offimage','onimage','fc')
type = what type of menu this item is (top,sub,sub2,sub3,sub4,sub5)
text = the text for the item
lnk = the link for the item (not needed if submenus)
target = the target for the link (not needed if no target or no link)
offimage = the default "arrow" image for this element (if you spesify no text, you can use the image only)
onimage = the image to swap to when clicked (not needed if you don't want a swap image)
fc = if you want the item to execute another javascript function aswell use this
opn = if you want this particilar item to be opened on load set this to 1 (0,1)
*/


	
//PMC
oFoldMenu.make('top','Precision Mechanical Components',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Gears, Sprockets &amp; Pulleys','gears.htm','','images/square.gif')
		oFoldMenu.make('sub','Couplings &amp; Clutches','clutches.htm','','images/square.gif')
		oFoldMenu.make('sub','Shafting &amp; Bearings','bearings.htm','','images/square.gif')
		oFoldMenu.make('sub','Hardware &amp; Fasteners','inset.htm?product=fasteners&eof=true','','images/square.gif')

	
//Linear Motion Products
oFoldMenu.make('top','Linear Motion Products',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Acme Screws','acmescrews.htm','','images/square.gif')
		oFoldMenu.make('sub','Ball Screws','ballscrew.htm','','images/square.gif')
		oFoldMenu.make('sub','General Purpose Lead Screw','gplead.htm','','images/square.gif')
		oFoldMenu.make('sub','Anti-Backlash Lead Screw','backlash.htm','','images/square.gif')
		oFoldMenu.make('sub','Linear Motion Products','LinearMotionProducts.htm','','images/square.gif')
		oFoldMenu.make('sub','Linear Motion Solutions','LinearMotionSolutions.htm','','images/square.gif')



//Precision Hardware
oFoldMenu.make('top','Precision Hardware',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Spacers','inset.htm?product=spacers&eof=true','','images/square.gif')
		oFoldMenu.make('sub','Standoffs','inset.htm?product=standoffs&eof=true','','images/square.gif')
		oFoldMenu.make('sub','Handles','inset.htm?product=handles&eof=true','','images/square.gif')



//Latches and Latching Systems
oFoldMenu.make('top','Latches &amp; Latching Systems',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Compression Latches','compression_latches.htm','','images/square.gif')
		oFoldMenu.make('sub','Pawl/Cam Action Latches','pawl_latches.htm','','images/square.gif')
		oFoldMenu.make('sub','Push to Close','ptc_latches.htm','','images/square.gif')
		oFoldMenu.make('sub','Draw Latches','draw_latches.htm','','images/square.gif')
		oFoldMenu.make('sub','Multi-Point Latching Systems','multipoint_latches.htm','','images/square.gif')

		// oFoldMenu.make('sub','Access Hardware','inset.htm?product=access&eof=true','','images/square.gif','','onclick=fetch(access);')
		// oFoldMenu.make('sub','Compression, Panel &amp Slam Latches','latches.htm','','images/square.gif')
		// oFoldMenu.make('sub','Hinges, Catches &amp; Pulls','hinges.htm','','images/square.gif')
		// oFoldMenu.make('sub','Rotary Action &amp; General Purpose','rotary.htm','','images/square.gif')


//Access Hardware, Hinges, Handles and Pulls
oFoldMenu.make('top','Access HW, Hinges, Handles &amp; Pulls',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Captive Fasteners','captive_access.htm','','images/square.gif')
		oFoldMenu.make('sub','Quarter-turn Fasteners','qturn_access.htm','','images/square.gif')
		oFoldMenu.make('sub','Drive (Blind) Rivets','driverivets_access.htm','','images/square.gif')
		oFoldMenu.make('sub','Hinges','hinges_access.htm','','images/square.gif')
		oFoldMenu.make('sub','Handles &amp; Pulls','handles_access.htm','','images/square.gif')




//Casters
oFoldMenu.make('top','Casters &amp; Mobility Products',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Faultless Casters','inset.htm?product=faultless&eof=true','','images/square.gif')
		oFoldMenu.make('sub','Rhombus Casters','rhombus.htm','','images/square.gif')



//Wire thread
oFoldMenu.make('top',' Wire Thread Inserts',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Recoil','inset.htm?product=recoil&eof=true','','images/square.gif')



//Cable Ties
oFoldMenu.make('top','Cable Ties &amp; Retaining Rings',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Cable Ties','inset.htm?product=cableties&eof=true','','images/square.gif')
		oFoldMenu.make('sub','Cable Tie Tools','inset.htm?product=cabletools&eof=true','','images/square.gif')
		oFoldMenu.make('sub','Retaining Rings','retainingrings.htm','','images/square.gif')
		oFoldMenu.make('sub','Retaining Ring Tools','retainingtools.htm','','images/square.gif')


//Electronic HW
oFoldMenu.make('top','Electronic Hardware',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Electronic Components','ecomponents.htm','','images/square.gif')
		oFoldMenu.make('sub','Terminals &amp; Connectors','terminals.htm','','images/square.gif')


//Assembly HW
oFoldMenu.make('top','Assembly Hardware',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Lockwashers','lockwasher.htm','','images/square.gif')
		oFoldMenu.make('sub','Washers','washers.htm','','images/square.gif')
		oFoldMenu.make('sub','Screws','screws.htm','','images/square.gif')
		oFoldMenu.make('sub','Nuts','nuts.htm','','images/square.gif')
		oFoldMenu.make('sub','Socket Products','socket.htm','','images/square.gif')
		oFoldMenu.make('sub','Military Specs','military.htm','','images/square.gif')



//Customer Specials
oFoldMenu.make('top','Customer Specials',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Customer Specials','specials.htm','','images/square.gif')

//MFG Listing
oFoldMenu.make('top','Manufacturer Listing',0,0,'images/arrow.gif','images/arrow1.gif')
		oFoldMenu.make('sub','Manufacturer Listing','listing.htm','','images/square.gif')



oFoldMenu.construct()

}



//Begin other browser coding
else {



                  document.write('<font face="Arial" size="1">Precision Mechanical Components<br>');
                  document.write('<a href="gears.htm">Gears, Sprockets &amp; Pulleys</a><br>');
                  document.write('<a href="clutches.htm">Couplings &amp; Clutches</a><br>');
                  document.write('<a href="bearings.htm">Shafting &amp; Bearings</a><br>');
                  document.write('<a href="fasteners.htm" onclick=fetch("fasteners");return false;>Hardware &amp; Fasteners<br>');
                  document.write('</a><br>');


                  document.write('Linear Motion Products<br>');
                  document.write('<a href="acmescrews.htm">Acme Screws</a><br>');
                  document.write('<a href="ballscrew.htm">Ball Screws</a><br>');
                  document.write('<a href="gplead.htm">General Purpose Lead Screw</a><br>');
                  document.write('<a href="backlash.htm">Anti-backlash Lead Screw<br>');
                  document.write('<a href="LinearMotionProducts.htm">Linear Motion Products<br>');
                  document.write('<a href="LinearMotionSolutions.htm">Linear Motion Solutions<br>');
                  document.write('</a><br>');

                  document.write('Precision Hardware<br>');
                  document.write('<a href="spacers.htm" onclick=fetch("spacers");return false;>Spacers</a><br>');
                  document.write('<a href="standoffs.htm" onclick=fetch("standoffs");return false;>Standoffs</a><br>');
                  document.write('<a href="handles.htm" onclick=fetch("handles");return false;>Handles<br>');
                  document.write('</a><br>');

		/**************
  		  document.write('Latches &amp; Access Hardware<br>');
                  document.write('<a href="access.htm" onclick=fetch("access");return false;>Access Hardware</a><br>');
                  document.write('<a href="latches.htm">Compression, Panel &amp; Slam Latches</a><br>');
                  document.write('<a href="hinges.htm">Hinges, Catches &amp; Pulls</a><br>');
                  document.write('<a href="rotary.htm">Rotary Action &amp; General Purpose<br>');
                  document.write('</a><br>');
		***************/


  		  document.write('Latches &amp; Latching Systems<br>');
                  document.write('<a href="compression_latches.htm">Compression Latches</a><br>');
                  document.write('<a href="pawl_latches.htm">Pawl/Cam Latches</a><br>');
                  document.write('<a href="ptc_latches.htm">Push to Close Latches</a><br>');
                  document.write('<a href="draw_latches.htm">Draw Latches</a><br>');
                  document.write('<a href="multipoint_latches.htm">Multi-point Latching Systems<br>');
                  document.write('</a><br>');


  		  document.write('Access Hardware, Hinges, Handles &amp; Pulls<br>');
                  document.write('<a href="captive_access.htm">Captive Fasteners</a><br>');
                  document.write('<a href="qturn_access.htm">Quarter-turn Fasteners</a><br>');
                  document.write('<a href="driverivets_access.htm">Drive (Blind) Rivets</a><br>');
                  document.write('<a href="hinges_access.htm">Hinges</a><br>');
                  document.write('<a href="handles_access.htm">Handles &amp; Pulls<br>');
                  document.write('</a><br>');


                  document.write('Casters &amp; Mobility Products<br>');
                  document.write('<a href="faultless.htm" onclick=fetch("faultless");return false;>Faultless Casters</a><br>');
                  document.write('<a href="rhombus.htm">Rhombus Casters<br>');
                  document.write('</a><br>');

                  document.write('Wire Thread Inserts<br>');
                  document.write('<a href="recoil.htm" onclick=fetch("recoil");return false;>Recoil<br>');
                  document.write('</a><br>');


                  document.write('Cable Ties &amp; Retaining Rings<br>');
                  document.write('<a href="cableties.htm" onclick=fetch("cableties");return false;>Cable Ties</a><br>');
                  document.write('<a href="cabletools.htm" onclick=fetch("cabletools");return false;>Cable Tie Tools</a><br>');
                  document.write('<a href="retainingrings.htm">Retaining Rings</a><br>');
                  document.write('<a href="retainingtools.htm">Retaining Ring Tools<br>');
                  document.write('</a><br>');

                  document.write('Electronic Hardware<br>');
                  document.write('<a href="ecomponents.htm">Electronic Components</a><br>');
                  document.write('<a href="terminals.htm">Terminals &amp; Connectors<br>');
                  document.write('</a><br>');

                  document.write('Assembly Hardware<br>');
                  document.write('<a href="lockwasher.htm">Lockwashers</a><br>');
                  document.write('<a href="washers.htm">Washers</a><br>');
                  document.write('<a href="screws.htm">Screws</a><br>');
                  document.write('<a href="nuts.htm">Nuts</a><br>');
                  document.write('<a href="socket.htm">Socket Products</a><br>');
                  document.write('<a href="military.htm">Military Specs<br>');
                  document.write('</a><br>');


                  document.write('Customer Specials<br>');
                  document.write('<a href="specials.htm">Customer Specials<br>');
                  document.write('</a><br>');

                  document.write('Manufacturer Listing<br>');
                  document.write('<a href="listing.htm">Manufacturer Listing</a></font><br>');



}