<!-- // START MENU CODE

// NOTE: If you use a ' add a slash before it like this \'
// MENU VER 2.0 IE 7.0 COMPATIBLE
// MENU VER 2.01 IE 8.0, 7.0 COMPATIBLE

StartMenu()

// MENU OPTIONS - you will find more options in the corporatestyle.css
MFL		= 0; 					// MENU DISTANCE FROM EDGE
MFT		= 138; 					// MENU DISTANCE FROM TOP
ALIGN	= "left"				// MENU LEFT OR RIGHT
TMH		= 22;					// TOP MENU HEIGHT
TMFS	= "8";					// TOP MENU FONT SIZE
TMFW	= "bold";				// TOP MENU FONT WEIGHT bold/normal
TMFF	= "arial, verdana, helvetica, sans";	// TOP MENU FONT FACE
TMC		= "000000";				// TOP MENU OFF FONT COLOR
TMBC	= "948B6D";				// TOP MENU OFF BACKGROUND COLOR
TMBI	= "http://www.4tsi.com/picts/menu.gif";		// TOP MENU OFF BACKGROUND IMAGE
TMHC	= "000000";				// TOP MENU HOVER TEXT COLOR
TMHBC	= "C0C0C0";				// TOP MENU HOVER BACKGROUND COLOR
TMHBI	= "http://www.4tsi.com/picts/menuon.gif";	// TOP MENU HOVER BACKGROUND IMAGE
TMBL	= "000000";				// TOP LEVEL BOTTOM LINE COLOR
MO		= TMH-2;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift = 0;					// SHIFT SUBMENU RIGHT


// START SUBMENU OPTIONS - you will find more options in the corporatestyle.css
SMH		= 22;					// SUB MENU HEIGHT
SMFS	= "9";					// SUB MENU FONT SIZE
SMFW	= "normal";				// SUB MENU FONT WEIGHT bold/normal
SMFF	= "arial,MS Sans Serif,sans-serif";	// SUB MENU FONT FACE
SMC		= "000000";				// SUB MENU OFF FONT COLOR
SMBC	= "FFFFFF";				// SUB MENU OFF BACKGROUND COLOR
SMHC	= "000000";				// SUB MENU HOVER TEXT COLOR
SMHBC	= "DBD7C9";				// SUB MENU HOVER BACKGROUND COLOR

SubMenu()


// START MENU NUMBER 1 COPY AND PASTE A GROUP TO ADD A NEW TOP LEVEL SEE NOTE BELOW
Top_Width[0]=95; Sub_Menu_Width[0]=165;
m[0]='Company Info';n[0]='http://www.4tsi.com/index.html';st[0]="";s[0]=""
+l+"http://www.4tsi.com/index.html"+r+" Home "+c
+l+"http://www.4tsi.com/aboutus.htm"+r+" About Us "+c
+l+"http://www.4tsi.com/roster.html"+r+" Associate Roster "+c
+l+"http://www.4tsi.com/jobs.html"+r+" Employment Opportunities "+c
//+l+"http://www.4tsi.com/blog"+r+" TSI Solution's Blog "+c

Top_Width[1]=130; Sub_Menu_Width[1]=200;
m[1]='Pneumatic Products';n[1]='http://www.4tsi.com/products.html';st[1]="";s[1]=""
+l+"http://www.4tsi.com/pneumatics.html"+r+" Pneumatic Valves "+c
+l+"http://www.4tsi.com/cylinders.html"+r+" Pneumatic Actuators"+c
+l+"http://www.4tsi.com/airprep.html"+r+" Air Preparation"+c
+l+"http://www.4tsi.com/airpiping.html"+r+" Air Piping "+c
+l+"http://www.4tsi.com/aluminum.html"+r+" Aluminum Framing Products "+c
+l+"http://www.4tsi.com/shocks.html"+r+" Shock Absorbers &amp; Gas Springs"+c
+l+"http://www.4tsi.com/tubings.html"+r+" Tubing and Fittings "+c
+l+"http://www.4tsi.com/vacuum.html"+r+" Vacuum Products "+c
+l+"http://www.4tsi.com/waveguidedehydrator.html"+r+" Waveguide Dehydrator "+c

Top_Width[2]=120; Sub_Menu_Width[2]=200;
m[2]='Electrical Products';n[2]='http://www.4tsi.com/products.html';st[2]="";s[2]=""
+l+"http://www.4tsi.com/drives.html"+r+" Drives "+c
+l+"http://www.4tsi.com/electrical.html"+r+" Sensor Products"+c
+l+"http://www.4tsi.com/vision.html"+r+" Machine Vision Systems "+c
+l+"http://www.4tsi.com/hmi.html"+r+" HMI "+c
+l+"http://www.4tsi.com/network.html"+r+" Network I/O Products"+c
+l+"http://www.4tsi.com/cordsets.html"+r+" Cordsets "+c
+l+"http://www.4tsi.com/robotics.html"+r+" Robotics "+c
+l+"http://www.4tsi.com/safety.html"+r+" Safety &amp; Guarding Products "+c
+l+"http://www.4tsi.com/aluminum.html"+r+" Aluminum Framing Products "+c

Top_Width[3]=115; Sub_Menu_Width[3]=200;
m[3]='Safety Solutions';n[3]='http://www.4tsi.com/aboutussafety.htm';st[3]="";s[3]=""
+l+"http://www.4tsi.com/aboutussafety.htm"+r+" About TSI Safety Solutions "+c
+l+"http://www.4tsi.com/safetycapabilities.htm"+r+" TSI Safety Solutions Capabilities "+c
+l+"http://www.4tsi.com/safety.html"+r+" Safety and Guarding Products "+c
+l+"http://www.4tsi.com/8020gallery_safety.html"+r+" Safety Applications Gallery "+c
+l+"http://www.4tsi.com/safetytips.htm"+r+" Safety Tips "+c
+l+"http://www.4tsi.com/contact_safety.htm"+r+" Contact Us / Request Information"+c

Top_Width[4]=120; Sub_Menu_Width[4]=200;
m[4]='In-stock Catalogs';n[4]='http://tsisolutions.thomasnet.com/category';st[4]="";s[4]=""
+l+"http://tsisolutions.thomasnet.com/category/all-categories-wilkerson-online-catalog?"+r+" Wilkerson In-stock Catalog "+c
+l+"http://tsisolutions.thomasnet.com/category/all-categories-legris-online-catalog-2?"+r+" Legris In-stock Catalog "+c
+l+"http://tsisolutions.thomasnet.com/category/all-categories-mac-valves?"+r+" MAC In-stock Catalog "+c

Top_Width[5]=95; Sub_Menu_Width[5]=185;
m[5]='Mac Advantage';n[5]='http://www.4tsi.com/mac_advantage-introduction.html';st[5]="";s[5]=""

Top_Width[6]=115; Sub_Menu_Width[6]=185;
m[6]='Media &amp; Videos';n[6]='http://www.4tsi.com/media.html';st[6]="";s[6]=""
+l+"http://www.4tsi.com/gallery2.htm"+r+" Value Add Gallery "+c
+l+"http://www.4tsi.com/8020gallery_guarding.html"+r+" 80/20 Applications Gallery "+c
+l+"http://www.4tsi.com/videos_8020.html"+r+" 80/20 Informational Videos "+c
+l+"http://www.4tsi.com/videos_bimba.html"+r+" Bimba Product Videos "+c
+l+"http://www.4tsi.com/videos_phd.html"+r+" PHD Material Handling Videos "+c
+l+"http://www.4tsi.com/videos_yamaha.html"+r+" Yamaha &quot;In Action&quot; Videos "+c

Top_Width[7]=85; Sub_Menu_Width[7]=120;
m[7]='Value-Add';n[7]='http://www.4tsi.com/valueadd.html';st[7]="";s[7]=""
+l+"http://www.4tsi.com/valueadd.html"+r+" Value Add Services "+c
+l+"http://www.4tsi.com/gallery2.htm"+r+" Value Add Gallery "+c
+l+"http://www.4tsi.com/engineeringsupport.html"+r+" Engineering Support "+c

//Top_Width[7]=145; Sub_Menu_Width[7]=235;
 //m[7]='Overstocked Items';n[7]='http://www.4tsi.com/overstock.html';st[7]="";s[7]=""
//+l+"http://www.4tsi.com/Bimbaoverstock.htm"+r+" Bimba Cylinders and Accessories "+c
//+l+"http://www.4tsi.com/trdoverstock.htm"+r+" NFPA Tie-Rod Cylinders and Accessories "+c
//+l+"http://www.4tsi.com/airvalveoverstock.html"+r+" Air Valves and Accessories "+c
//+l+"http://www.4tsi.com/fittingsoverstock.html"+r+" Fittings/Tubing "+c

Top_Width[8]=110; Sub_Menu_Width[8]=200;
m[8]='Help &amp; Support';n[8]='http://www.4tsi.com/contact.htm';st[8]="";s[8]=""
+l+"http://www.4tsi.com/contact.htm"+r+" Contact Us/Literature Request "+c
+l+"http://www.4tsi.com/directions.html"+r+" Directions "+c
+l+"http://www.4tsi.com/mdndistributors.html"+r+" MDN Distributors "+c
+l+"http://www.4tsi.com/links.html"+r+" Links "+c
+l+"http://www.4tsi.com/sitemap.html"+r+" Site Map "+c
+l+"http://www.4tsi.com/contact.htm"+r+" Request a Catalog "+c
+l+"http://www.4tsi.com/resources.html"+r+" Resource Library "+c
+l+"http://www.4tsi.com/news.html"+r+" Pneus (News) Archive "+c
+l+"http://www.4tsi.com/pdflibrary.html"+r+" PDF Document Library "+c
+l+"http://www.4tsi.com/PDFs/TSI Credit Application GA.pdf"+r+" Credit Application "+c
+l+"http://www.4tsi.com/engineeringsupport.html"+r+" Engineering Support "+c
+l+"http://www.4tsi.com/pneusem.html"+r+" Pneumatics Training Seminars "+c
+l+"http://www.4tsi.com/vision.html#seminar"+r+" Banner Vision Seminars "+c
//+l+"http://www.4tsi.com/network101.html"+r+" Networking 101 Workshop "+c

// IF YOU ADD ANOTHER TOP LEVEL MENU YOU MUST ADD TO THE BOTTOM OF THIS LIST
ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;
ADJ[5]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4])+MFL;
ADJ[6]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5])+MFL;
ADJ[7]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5]+Top_Width[6])+MFL;
ADJ[8]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5]+Top_Width[6]+Top_Width[7])+MFL;
ADJ[9]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4]+Top_Width[5]+Top_Width[6]+Top_Width[7]+Top_Width[8])+MFL;

// ----------------------------------------------------------------
// YOU DO NOT NEED TO EDIT BELOW THIS LINE 2008 Allwebco Design
// ----------------------------------------------------------------


MENU=m.length

for (i=0; i < MENU; i++){


// START WRITING TOP LEVEL MENUS


document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";width:"+Top_Width[i]+"' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")



document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\" href='"+n[i]+"'>"+m[i]+"</a></div>")



}


for (i=0; i < MENU; i++){

// START WRITING SUB MENUS


document.write("<div id='SUB"+i+"' class='menu_DIV' style='position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")


}



function StartMenu()
{

var D6=window,Y7=document;
function DETECT()
{
this.ver=navigator.appVersion;
this.agent=navigator.userAgent;
this.dom=Y7.getElementById?1:0;
this.opera5=this.agent.indexOf("Opera 5")>-1;
this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6||this.ie7||this.ie8;
this.mac=this.agent.indexOf("Mac")>-1;
this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;
this.ns4=(Y7.layers && !this.dom)?1:0;
this.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);
return this
}
BWD=new DETECT();z=0;b=0;
spn="";
if(BWD.opera5||BWD.ns6)
{
b=2
};
if(BWD.ie)
{
spn=" width: 100%"
}else{
z=6
}

} 


function SubMenu()
{

document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' BGCOLOR='#'+TMBC+''><tr><td>");
// document.write("<img src='picts/spacer.gif' width='100%' height='"+TMH+"'><br>");
document.write("</td></tr></table>");

document.write("<div width='100%' style='height:"+TMH+";position:absolute;top:"+MFT+";width:100%;background-image: url("+TMBI+"); background-color:#"+TMBC+";z-level:-2'></div>")


l="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";

r="'>";
c="</a>";


m=new Array();n=new Array();s=new Array();Sub_Menu_Width=new Array();su=new Array();st=new Array();Top_Width=new Array();ADJ=new Array()

}


function lib_obj(obj,nest){nest=(!nest) ? "":'document.'+nest+'.';this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;this.ref=BWD.dom||BWD.ie4?document:this.css.document;this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;return this}
function lib_doc_size(){this.x=0;this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;this.x50=this.x2/2;this.y50=this.y2/2;return this;}
lib_obj.prototype.ShowMenu = function(){this.css.visibility="visible"}
lib_obj.prototype.HideMenu = function(){this.css.visibility="hidden"}
function libinit(){page=new lib_doc_size();o=new Array();for (i=0; i < MENU; i++){o[i]=new lib_obj('SUB'+i);o[i].HideMenu()}}
libinit()


// END MENU CODE -->
