//<head>
//<script>


//Swipe Menu : 1.0 FX Menu : 1.0
function Is() {
  agent       = navigator.userAgent.toLowerCase();
  this.major  = parseInt(navigator.appVersion);
  this.minor  = parseFloat(navigator.appVersion);
  this.ns     = ((agent.indexOf('mozilla')   != -1) &&
                (agent.indexOf('spoofer')    == -1) &&
                (agent.indexOf('compatible') == -1) &&
                (agent.indexOf('opera')      == -1) &&
                (agent.indexOf('webtv')      == -1) &&
                (agent.indexOf('hotjava')    == -1) &&
      (agent.indexOf("msie")  == -1));
  this.ns2    = (this.ns && (this.major      ==  2));
  this.ns3    = (this.ns && (this.major      ==  3));
  this.ns4    = (this.ns && (this.major      ==  4));
  this.ns6    = (this.ns && (this.major      >=  5));
  this.ie     = ((agent.indexOf("msie")      != -1) &&
                (agent.indexOf("opera")      == -1));
  this.ie3    = (this.ie && (this.major      <   4));
  this.ie4    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 4")     != -1));
  this.ie5    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5")     != -1) &&
                (agent.indexOf("msie 5.5")   == -1) &&
                (agent.indexOf("mac")        == -1));
  this.iem5   = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5.")    != -1) &&
                (agent.indexOf("mac")        != -1));
  this.ie55   = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 5.5")   != -1));
  this.ie6    = (this.ie && (this.major      ==  4) &&
                (agent.indexOf("msie 6")     != -1 || agent.indexOf("msie 7") != -1 || agent.indexOf("msie 8") != -1));
  this.moz = (agent.indexOf("gecko")!= -1);
  this.op = (agent.indexOf("opera") != -1);
  this.nsdom  = (this.ns4  || this.ns6);
  this.win = (agent.indexOf("win") != -1);
  this.iestrict = (this.win && this.ie6 && document.compatMode == "CSS1Compat");
  this.macstrict = (this.ie5 && this.iemac && document.doctype && document.doctype.name.indexOf(".dtd") != -1);
  this.strict = (this.iestrict || this.macstrict);
  this.iemac =(this.iem5);
  this.iewin = ((this.ie5 && !this.iemac || this.ie55 || this.ie6) && this.win);
  this.dom = (this.iewin || this.ns6 || this.moz || this.op);
}
var is = new Is();
var css_px = (is.ns4 || is.ie4) ?"" : "px";

function menuObj(obj, par, nst, p) {
    page = new Object();
    page.width = (is.ns6 || is.ns4 || is.moz) ? innerWidth : document.body.clientWidth;
    page.height = (is.ns6 || is.ns4 || is.moz) ? innerHeight : document.body.clientHeight;
    if (!is.ns4) {
        this.lyr = (is.dom || is.iemac) ? document.getElementById(obj) : document.all[obj];
    } else {
        this.lyr = (!nst) ? document.layers[obj] : document.layers[nst].document.layers[obj];
    }
    this.sty = (!is.ns4) ? this.lyr.style : this.lyr;
    this.parent = par;
    this.obj = obj + "SwipeLayer";
    eval(this.obj + "= this");
}
menuObj.prototype.timer = null;
menuObj.prototype.wipe = 0;
menuObj.prototype.ieOver = false;
if (is.iemac){
menuObj.prototype.offX = Function('oX = this.lyr.offsetLeft -6+-(mAtt.border)+0; return oX');
menuObj.prototype.offY = Function('oY = this.lyr.offsetTop-2+-(mAtt.border)+0+(1);return oY;');
} else {
menuObj.prototype.offX = Function('oX = (is.dom || is.ie4) ? this.lyr.offsetLeft  : parseInt(this.sty.left);return oX');
menuObj.prototype.offY = Function('oY = (is.dom || is.ie4) ? this.lyr.offsetTop  : parseInt(this.sty.top);return oY;');
}
menuObj.prototype.offW = Function('oW = (!is.ns4) ? this.lyr.offsetWidth : this.lyr.clip.width; return oW;')
menuObj.prototype.offH = Function('oH = (!is.ns4) ? this.lyr.offsetHeight : this.lyr.clip.height; return oH;')
menuObj.prototype.maxWipe = function() {
	if(is.iemac) return this.offH()+10;
	if(is.dom || is.ie4) return 110;
   	if(is.ns4) return (sAtt.height*this.lyr.document.layers.length)+20;
}
wipeMenu.prototype.addMain = function(name, hasSub, txt, url) {
	menuName = this.name, wipePos = this.pos, mAtt = this.mAtt, sAtt = this.sAtt;
	var pf = Math.ceil(((mAtt.height-mAtt.font_size)/2)-2);
	var pd = "padding:0px 6px 0px 6px;";
	var iefilt = (is.ie55 || is.ie6) ?"filter:progid:DXImageTransform.Microsoft.Fade()" : ((is.ie4 && !is.iemac || is.ie5&& !is.iemac) && !is.iemac) ?"filter:alpha(opacity=100);" : "";
	var styStr2 = "position:absolute; visibility:hidden; -moz-opacity:0; border:solid 1px "+sAtt.border_color+"; border-width:"+sAtt.border+"px 0px 0px 0px; cursor:default; "+iefilt;
	if(this.main[name]) return;
	if(is.ns4) {
		var mainMenu = new Layer(mAtt.width);
		var styStr = "text-decoration:none; font-weight:"+mAtt.font_weight+"; z-index:20; color:"+mAtt.fg_off+"; padding:"+((mAtt.height/2)-(mAtt.font_size/2)-1)+"px 0px 0px 0px; font-size:"+mAtt.font_size+"px; font-family:"+mAtt.font+";"
		mainMenu.document.write('<div align="'+mAtt.align+'" style="'+pd+'"><a href="'+url+'" style="'+styStr+'">'+txt+'</a></div>');
		mainMenu.document.close();
		var mainMenu1 = new Layer(mAtt.width);
		mainMenu.captureEvents(Event.MOUSEUP);
		mainMenu.resizeTo(mAtt.width,mAtt.height);
		if(mAtt.bg_off.indexOf("url") != -1) {
			mainMenu.background.src = mAtt.bg_off.substring(4,mAtt.bg_off.length-1);
			mainMenu.background.src = mAtt.bg_off.substring(4,mAtt.bg_off.length-1);
		} else mainMenu.bgColor = mAtt.bg_off;
		mainMenu.visibility = "visible";
		}
	if(is.dom || is.iemac) {
		var mainMenu = document.createElement("DIV");
		var wf = (is.ns6 || is.moz || is.strict) ? 12+(mAtt.border*2) : 0;
		var pf2 = (mAtt.height%2 == 0) ? 1 : 0;
		var styStr = "position:absolute; font-weight:"+mAtt.font_weight+"; z-index:20; width:"+(mAtt.width-wf)+"px; border:solid "+mAtt.border+"px "+mAtt.border_color+"; color:"+mAtt.fg_off+";  text-align:"+mAtt.align+"; font-size:"+mAtt.font_size+"px; font-family:"+mAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+mAtt.bg_off+"; cursor:pointer; cursor:hand;"
		mainMenu.innerHTML = txt;
		mainMenu.id = name+menuName;
		mainMenu.style.cssText = styStr;
		mainMenu.setAttribute("style", styStr);
		document.body.appendChild(mainMenu);
	}
	if(is.ie4) {
		var wf = 6;
		var styStr = "position:absolute; width:"+(mAtt.width-wf)+"px; font-weight:"+mAtt.font_weight+"; z-index:20; border:solid "+mAtt.border+"px "+mAtt.border_color+"; color:"+mAtt.fg_off+"; text-align:"+mAtt.align+"; font-size:"+mAtt.font_size+"px; font-family:"+mAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+mAtt.bg_off+"; cursor:pointer; cursor:hand;"
		var mM = '<div id="'+name+menuName+'" style="'+styStr+'">'+txt+'</div>';
		document.body.insertAdjacentHTML("beforeEnd", mM);
		var mainMenu = document.all[name+menuName];
	}
	
	/*
	alert("is.dom = " + is.dom + ", is.ie = " + is.ie + ", is.iemac = " + is.iemac + ", is.major = " + is.major + ", is.minor = " + is.minor + 
		  	", is.ns = " + is.ns + ", is.ns2 = " + is.ns2 + ", is.ns3 = " + is.ns3 + ", is.ns4 = " + is.ns4 + ", is.ns5 = " + is.ns5 + ", is.ns6 = " + is.ns6 + 
			", is.ie3 = " + is.ie3 + ", is.ie4 = " + is.ie4 + ", is.ie5 = " + is.ie5 + ", is.iem5 = " + is.iem5 + ", is.ie55 = " + is.ie55 +
			", is.ie6 = " + is.ie6 + ", is.moz = " + is.moz + ", is.nsdom = " + is.nsdom + ", is.win = " + is.win + ", is.iestrict = " + is.iestrict +
			", is.macstrict = " + is.macstrict + ", is.iemac = " + is.iemac + ", is.iewin = " + is.iewin + ", is.iedom = " + is.iedom + ", is.op = " + is.op);
	*/
	
	mainMenu.onmouseover = new Function('if('+hasSub+')'+menuName+'.subs["'+name+'"].show("'+wipePos+'"); over_out(this, "'+mAtt.bg_on+'", "'+mAtt.fg_on+'")');
	mainMenu.onmouseout = new Function('if('+hasSub+')'+menuName+'.subs["'+name+'"].hide();over_out(this, "'+mAtt.bg_off+'", "'+mAtt.fg_off+'")');
	mainMenu.onmousedown = new Function('location.href = "'+url+'"');
	this.main[name] = new menuObj(mainMenu.id);
	this.mainNum[this.mainNum.length] = this.main[name];
	if(!hasSub) return;
	if(is.ns4) {
		var subC = new Layer(sAtt.width);
		subC.resizeTo(sAtt.width,0);
		subC.visibility = "hidden";
	}
	if(is.dom || is.iemac) {
		var subC = document.createElement("DIV");
		subC.id = name+menuName+"Sub";
		var wf = (is.ns6 || is.moz) ? 4 : 0;
		subC.style.cssText = styStr2;
		subC.setAttribute("style", styStr2);
		document.body.appendChild(subC);
	}
	if(is.ie4) {
		var sC = '<div id="'+name+menuName+'Sub" style="'+styStr2+'"></div>';
		document.body.insertAdjacentHTML("beforeEnd", sC);
		var subC = document.all[name+menuName+"Sub"];
	}
	this.subs[name] = new menuObj(subC.id, this.main[name]);
	subC.onmouseover = new Function(menuName+'.subs["'+name+'"].show("'+wipePos+'");');
	subC.onmouseout = new Function(menuName+'.subs["'+name+'"].hide();');
}
wipeMenu.prototype.addSub = function(name, parent, txt, url) {
	var pf2 = (mAtt.height%2 == 0) ? 1 : 0;
	var pf = Math.ceil(((sAtt.height-sAtt.font_size)/2)-2);
	var pd = "padding:0px 6px 0px 6px;";
	if(is.ns4) {
		var tempsub = new Layer(sAtt.width, this.subs[parent].lyr);
		var styStr = "text-decoration:none; font-weight:"+sAtt.font_weight+"; color:"+sAtt.fg_off+"; padding:"+((sAtt.height/2)-(sAtt.font_size/2)-2)+"px 0px 0px 0px; font-size:"+sAtt.font_size+"px; font-family:"+sAtt.font+";"
		tempsub.document.write('<div align="'+sAtt.align+'" style="'+pd+'"><a href="'+url+'" style="'+styStr+'">'+txt+'</a></div>');
		tempsub.document.close();
		tempsub.captureEvents(Event.MOUSEUP);
		tempsub.resizeTo(sAtt.width,sAtt.height);
		tempsub.moveTo(0,(sAtt.height*(this.subs[parent].lyr.document.layers.length-1)));
		if(sAtt.bg_off.indexOf("url") != -1) {
			tempsub.background.src = sAtt.bg_off.substring(4,sAtt.bg_off.length-1);
			tempsub.background.src = sAtt.bg_off.substring(4,sAtt.bg_off.length-1);
		} 
		else tempsub.bgColor = sAtt.bg_off;
		tempsub.visibility = "inherit";
	}
	if(is.dom || is.iemac) {
		var tempsub = document.createElement("DIV");
		var wf = (is.ns6 || is.moz || is.strict) ? 12+(sAtt.border*2) : 0;
		var styStr = "width:"+(sAtt.width-wf)+"px; font-weight:"+sAtt.font_weight+"; border:solid "+sAtt.border+"px "+sAtt.border_color+"; border-top-width:0px; color:"+sAtt.fg_off+";  text-align:"+sAtt.align+"; font-size:"+sAtt.font_size+"px; font-family:"+sAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+sAtt.bg_off+"; cursor:pointer; cursor:hand;"
		tempsub.id = name+menuName+"SubItem";
		tempsub.innerHTML = txt;
		tempsub.style.cssText = styStr;
		tempsub.setAttribute("style", styStr);
		this.subs[parent].lyr.appendChild(tempsub);
	}
	if(is.ie4) {
		var wf =  12;
		var styStr = "width:"+(sAtt.width-wf)+"px; font-weight:"+sAtt.font_weight+"; border:solid "+sAtt.border+"px "+sAtt.border_color+"; border-top-width:0px; color:"+sAtt.fg_off+"; text-align:"+sAtt.align+"; font-size:"+sAtt.font_size+"px; font-family:"+sAtt.font+"; padding:"+pf+"px 6px "+(pf+pf2)+"px 6px; background:"+sAtt.bg_off+"; cursor:pointer; cursor:hand;"
		var ts = '<div id="'+name+menuName+'SubItem" style="'+styStr+'">'+txt+'</div>';
		this.subs[parent].lyr.insertAdjacentHTML("beforeEnd", ts);
		tempsub = document.all[name+menuName+"SubItem"];
	}
		tempsub.onmouseover = new Function('over_out(this, "'+sAtt.bg_on+'", "'+sAtt.fg_on+'")');
		tempsub.onmouseout = new Function('over_out(this, "'+sAtt.bg_off+'", "'+sAtt.fg_off+'")');
		tempsub.onmousedown = new Function('location.href = "'+url+'"');
}
menuObj.prototype.show = function(p) {
 if(p == "v" && is.iemac) {
   this.sty.left = this.parent.offX()+mAtt.width+css_px;
  this.sty.top = this.parent.offY()+(mAtt.height%2);
   } else if  (p == "h") {
   this.sty.left = this.parent.offX()+css_px;
   this.sty.top = this.parent.offY()+this.parent.offH()+css_px;
  } else {
  this.sty.left = this.parent.offX()+this.parent.offW()+css_px;
  this.sty.top = this.parent.offY()+css_px;
  }
 if(!is.ie55 && !is.ie6) this.sty.visibility = "visible";
 this.sty.zIndex = "20";
 if(is.ie55 || is.ie6) this.ieDoShow();
 else this.doShow();
}
menuObj.prototype.doShow = function() {
	clearTimeout(this.timer);
	var inc = (is.iewin) ?12 : (is.ns6) ?8 : 10;
	if(is.iewin) this.lyr.filters["alpha"]["opacity"] = this.wipe;
	if(is.ns6) this.lyr.style.MozOpacity = this.wipe/100;
	if(is.ns4 || is.iemac) this.clipIt(0, this.offW(), this.wipe, 0);
	this.wipe += inc;
	if(this.wipe <= this.maxWipe()) this.timer = setTimeout(this.obj + ".doShow()", 40);
}
menuObj.prototype.ieDoShow = function() {
	clearTimeout(this.timer);
	if(this.ieOver && this.sty.visibility == "visible") return;
	this.lyr.filters[0].apply();
	this.lyr.style.visibility = "visible";
	this.lyr.filters[0].play(0.3);
	this.ieOver = true;
}
menuObj.prototype.ieHide = function() {
	this.timer = setTimeout(this.obj + ".ieDoHide()", 200);
}
menuObj.prototype.ieDoHide = function() {
	this.ieOver = false;
	this.lyr.filters[0].apply();
	this.lyr.style.visibility = "hidden";
	this.lyr.filters[0].play(0.3);
}
menuObj.prototype.hide = function() {
	if(is.ie55 || is.ie6) {
		this.ieHide();
		return;
	}
	clearTimeout(this.timer);
	var inc = (is.iewin) ?12 : (is.ns6) ?8 : 20;
	if(is.iewin) this.lyr.filters["alpha"]["opacity"] = this.wipe;
	if(is.ns6) this.lyr.style.MozOpacity = this.wipe/100;
	if(is.ns4 || is.iemac) this.clipIt(0, this.offW(), this.wipe-10, 0);
	this.wipe -= inc;
	if(this.wipe >= 0) this.timer = setTimeout(this.obj + ".hide()", 40);
	else this.sty.visibility = "hidden";
}
function over_out(obj, bg, fg) {
	if(is.ns4) {
		if(bg.indexOf("url") != -1) obj.background.src = bg.substring(4,bg.length-1)
		else obj.background.src = "", obj.bgColor = bg;
	}
	else {
		if(bg.indexOf("url") != -1) obj.style.backgroundImage = bg;
		else obj.style.backgroundColor = bg;
		obj.style.color = fg;
	}
}
menuObj.prototype.clipIt = function(t,r,b,l) {
	if(!is.ns4) this.sty.clip = "rect("+t+"px, "+r+"px, "+b+"px, "+l+"px)";
	else {
		this.sty.clip.top = t;
		this.sty.clip.right = r;
		this.sty.clip.bottom = b;
		this.sty.clip.left = l;
	}
}
wipeMenu.prototype.buildMenu = function(x,y,spacing) {
	this.mainNum[0].sty.left = x+css_px;
	this.mainNum[0].sty.top = y+css_px;
	if(!is.ns4 && spacing == 0) var spacing = -this.mAtt.border;
	for(i = 1; i < this.mainNum.length; i++) {
		if(this.pos == "h") {
			this.mainNum[i].sty.left = this.mainNum[i-1].offX()+this.mainNum[i-1].offW()+spacing+css_px;
			this.mainNum[i].sty.top = this.mainNum[i-1].offY()+css_px;
		} else {
			this.mainNum[i].sty.left = this.mainNum[i-1].offX()+css_px;
			this.mainNum[i].sty.top = this.mainNum[i-1].offY()+this.mainNum[i-1].offH()+spacing+css_px;
	}
	}
}

function wipeMenu(menu, p, ma, sa) {
    this.name = menu;
    this.pos = p;
    this.mAtt = ma;
    this.sAtt = (!sa) ? ma : sa;
    this.main = [];
    this.mainNum = [];
    this.subs = [];
}
function macGo(){
  if (is.iemac) {history.go(0);}
}
  if(document.layers) { 
  var pX = innerWidth;
  var pY = innerHeight; 
	onresize= function(){ 
		if(pX!= innerWidth || pY!= innerHeight) history.go(0);
	}
}
image1 = new Image()
image1.src = "images/main-back.jpg"
image2 = new Image()
image2.src = "images/main-back.jpg"
image3 = new Image()
image3.src = "images/sub-back.jpg"
image4 = new Image()
image4.src = "images/sub-back.jpg"
//M2Preload
image5 = new Image()
image5.src = "images/menu2-main-back.jpg"
image6 = new Image()
image6.src = "images/menu2-main-back.jpg"
image7 = new Image()
image7.src = "images/menu2-sub-back.jpg"
image8 = new Image()
image8.src = "images/menu2-sub-back.jpg"
//FinishM2

function initSwipeMenu() {
	hMenu1Att = new Array();
	hMenu1Att["width"] = 168,
	hMenu1Att["height"] = 17,
	hMenu1Att["align"] = "left";
	hMenu1Att["font"] = "Arial";
	hMenu1Att["font_size"] = 11;
	hMenu1Att["font_weight"] = "normal";
	hMenu1Att["bg_off"] = "url(images/main-back.jpg)";
	hMenu1Att["bg_on"] = "url(images/main-back.jpg)";
	hMenu1Att["fg_off"] = "#000066";
	hMenu1Att["fg_on"] = "#FF0000";
	hMenu1Att["border"] = 1;
	hMenu1Att["border_color"] = "#000099";

	hMenu1SubAtt = new Array();
	hMenu1SubAtt["width"] = 170,
	hMenu1SubAtt["height"] = 17,
	hMenu1SubAtt["align"] = "left";
	hMenu1SubAtt["font"] = "Arial";
	hMenu1SubAtt["font_size"] = 11;
	hMenu1SubAtt["font_weight"] = "normal";
	hMenu1SubAtt["bg_off"] = "url(images/sub-back.jpg)";
	hMenu1SubAtt["bg_on"] = "url(images/sub-back.jpg)";
	hMenu1SubAtt["fg_off"] = "#000066";
	hMenu1SubAtt["fg_on"] = "#FF0000";
	hMenu1SubAtt["border"] = 1;
	hMenu1SubAtt["border_color"] = "#000099";

hMenu1 = new wipeMenu("hMenu1", "v", hMenu1Att, hMenu1SubAtt);
//MenuTypeEnd

/*
//xMenu1
hMenu1.addMain("Menu1", true, "Incremental Encoders", "#");
//xMenu1End
//xMenu2

hMenu1.addMain("Menu2", true, "&nbsp;&nbsp;Shaft Models", "#");
hMenu1.addSub("Menu2Sub1", "Menu2", "Models 711-721 Classic Cubes", "modelcubes.html");
hMenu1.addSub("Menu2Sub2", "Menu2", "Model 15S - &oslash;1.5\"", "model15s.html");
hMenu1.addSub("Menu2Sub3", "Menu2", "Model 755A - &oslash;1.5\"", "model755a-shaft.html");
hMenu1.addSub("Menu2Sub4", "Menu2", "Model 702 - &oslash;2.0\"", "model702-shaft.html");
hMenu1.addSub("Menu2Sub5", "Menu2", "Model 725 - &oslash;2.5\"", "model725-shaft.html");
hMenu1.addSub("Menu2Sub6", "Menu2", "Model 758 - &oslash;58mm", "model758-shaft.html");
//xMenu2End
//xMenu3
hMenu1.addMain("Menu3", true, "&nbsp;&nbsp;Thru-Bore/Motor Mount Models", "#");
hMenu1.addSub("Menu3Sub1", "Menu3", "Model 15T/H - &oslash;1.5\"", "model15th.html");
hMenu1.addSub("Menu3Sub2", "Menu3", "Model 755A - &oslash;1.5\"", "model755a-bore.html");
hMenu1.addSub("Menu3Sub3", "Menu3", "Model 260 - &oslash;2.0\"", "model260.html");
hMenu1.addSub("Menu3Sub4", "Menu3", "Model 702 - &oslash;2.0\"", "model702-bore.html");
hMenu1.addSub("Menu3Sub5", "Menu3", "Model 121 - &oslash;2.1\"", "model121.html");
hMenu1.addSub("Menu3Sub6", "Menu3", "Model 225 - &oslash;2.25\"", "model225.html");
hMenu1.addSub("Menu3Sub7", "Menu3", "Model 775 - &oslash;4.3\"", "model775.html");
hMenu1.addSub("Menu3Sub8", "Menu3", "Model 776 - &oslash;4.3\"", "model776.html");
hMenu1.addSub("Menu3Sub9", "Menu3", "Model 770 - &oslash;6.5\"", "model770.html");
hMenu1.addSub("Menu3Sub10", "Menu3", "Model 771 - &oslash;9.0\"", "model771.html");
hMenu1.addSub("Menu3Sub11", "Menu3", "Model 755A - NEMA 23/34", "model755a-nema23-34.html");
hMenu1.addSub("Menu3Sub12", "Menu3", "Model 702 - Motor Mount", "model702-motor.html");
//xMenu3End
//xMenu4
hMenu1.addMain("Menu4", true, "Absolute Encoders", "#");
//xMenu4End
//xMenu5
hMenu1.addMain("Menu5", true, "&nbsp;&nbsp;Shaft Models", "#");
hMenu1.addSub("Menu5Sub1", "Menu5", "Model 925 - &oslash;2.5\"", "model925.html");
hMenu1.addSub("Menu5Sub2", "Menu5", "Model 958 - &oslash;58mm", "model958.html");
//xMenu5End
//xMenu6
hMenu1.addMain("Menu6", true, "&nbsp;&nbsp;Thru-Bore Models", "#");
hMenu1.addSub("Menu6Sub1", "Menu6", "Model 960 - &oslash;2.0\"", "model960.html");
//xMenu6End
//xMenu7
hMenu1.addMain("Menu7", true, "Linear Encoders", "#");
hMenu1.addSub("Menu7Sub1", "Menu7", "Model LCE - Cable Encoder", "modellce.html");
hMenu1.addSub("Menu7Sub2", "Menu7", "Model TR1 - Tru-Trac", "modeltr1.html");
hMenu1.addSub("Menu7Sub3", "Menu7", "Model TR2 - Tru-Trac", "modeltr2.html");
//xMenu7End
//xMenu8
hMenu1.addMain("Menu8", true, "Stainless Steel Encoders", "#");
hMenu1.addSub("Menu8Sub1", "Menu8", "Model 802S - &oslash;2.0\"", "model802s.html");
hMenu1.addSub("Menu8Sub2", "Menu8", "Model 858S - &oslash;58mm", "model858s.html");
hMenu1.addSub("Menu8Sub3", "Menu8", "Model 865T - &oslash;4.3\"", "model865t.html");
//xMenu8End
//xMenu9
hMenu1.addMain("Menu9", true, "Encoder Accessories", "#");
hMenu1.addSub("Menu9Sub1", "Menu9", "RX/TX Repeaters/Converters/Splitters", "rxtx.html");
hMenu1.addSub("Menu9Sub2", "Menu9", "Connectors/Cables", "acccc.html");
hMenu1.addSub("Menu9Sub3", "Menu9", "Shaft Couplings", "accsc.html");
hMenu1.addSub("Menu9Sub4", "Menu9", "Protective Covers", "accpc.html");
hMenu1.addSub("Menu9Sub5", "Menu9", "Hub/Flanges", "acchf.html");
hMenu1.addSub("Menu9Sub6", "Menu9", "Mounting Brackets", "accmb.html");
hMenu1.addSub("Menu9Sub7", "Menu9", "Measuring Wheels", "accmw.html");
hMenu1.addSub("Menu9Sub8", "Menu9", "Linear Cable Adapter", "acclca.html");
hMenu1.addSub("Menu9Sub9", "Menu9", "Anti-Rotation Mounts", "accar.html");
//xMenu9End
//xMenu10
hMenu1.addMain("Menu10", true, "Direct Replacements", "http://www.encoder.com/direct-replacements.html");
//XtraMenusEnd
////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Removed call to build left-hand menu.
//
////////////////////////////////////////////////////////////////////////////////////////////////////////
//hMenu1.buildMenu(0,278,0);
*/

//Additional
	hMenu2Att = new Array();
	hMenu2Att["width"] = 96,
	hMenu2Att["height"] = 22,
	hMenu2Att["align"] = "center";
	hMenu2Att["font"] = "Arial";
	hMenu2Att["font_size"] = 11;
	hMenu2Att["font_weight"] = "normal";
	hMenu2Att["bg_off"] = "url(../images/menu2-main-back.jpg)";
	hMenu2Att["bg_on"] = "url(../images/menu2-main-back.jpg)";
	hMenu2Att["fg_off"] = "#000066";
	hMenu2Att["fg_on"] = "#FF0000";
	hMenu2Att["border"] = 0;
	hMenu2Att["border_color"] = "#000099";

	hMenu2SubAtt = new Array();
	hMenu2SubAtt["width"] = 120,
	hMenu2SubAtt["height"] = 17,
	hMenu2SubAtt["align"] = "center";
	hMenu2SubAtt["font"] = "Arial";
	hMenu2SubAtt["font_size"] = 11;
	hMenu2SubAtt["font_weight"] = "normal";
	hMenu2SubAtt["bg_off"] = "url(../images/menu2-sub-back.jpg)";
	hMenu2SubAtt["bg_on"] = "url(../images/menu2-sub-back.jpg)";
	hMenu2SubAtt["fg_off"] = "#000066";
	hMenu2SubAtt["fg_on"] = "#FF0000";
	hMenu2SubAtt["border"] = 1;
	hMenu2SubAtt["border_color"] = "#000099";

hMenu2 = new wipeMenu("hMenu2", "h", hMenu2Att, hMenu2SubAtt);
//SystemEnd
//Home Page
hMenu2.addMain("Menu0", true, "HOME", "http://www.encoder.co.uk/default.asp");
//yMenu1
hMenu2.addMain("Menu1", true, "PRODUCTS", "http://www.encoder.co.uk/products/productlist.asp");
hMenu2.addSub("Menu1Sub1", "Menu1", "Full Product Line", "http://www.encoder.co.uk/products/productlist.asp");
hMenu2.addSub("Menu1Sub2", "Menu1", "Download Catalogue", "http://www.encoder.co.uk/products/downloadcat.asp");
hMenu2.addSub("Menu1Sub3", "Menu1", "Request Price List", "http://www.encoder.co.uk/products/requestcat.asp");
hMenu2.addSub("Menu1Sub4", "Menu1", "New Products", "http://www.encoder.co.uk/products/new_products.asp");
hMenu2.addSub("Menu1Sub5", "Menu1", "Data Sheet Download", "http://www.encoder.co.uk/products/datasheet_download.asp");
hMenu2.addSub("Menu1Sub6", "Menu1", "Typical Usage", "http://www.encoder.co.uk/products/typical_usage.asp");
//hMenu2.addSub("Menu1Sub2", "Menu1", "Encoder Accessories", "quickreference.html#accessories");
//hMenu2.addSub("Menu1Sub3", "Menu1", "Selection Guide", "selectguide.html");
//hMenu2.addSub("Menu1Sub4", "Menu1", "Product Descriptions", "products.html");
//hMenu2.addSub("Menu1Sub5", "Menu1", "Custom Solutions", "customprod.html");
//hMenu2.addSub("Menu1Sub6", "Menu1", "Direct Replacements", "direct-replacements.html");
//hMenu2.addSub("Menu1Sub7", "Menu1", "Expert Cross Reference Service", "xref.html");
//yMenu1End
//yMenu2
//hMenu2.addMain("Menu2", true, "APPLICATIONS", "#");
//hMenu2.addSub("Menu2Sub1", "Menu2", "Typical Usage", "typusage.html");
//hMenu2.addSub("Menu2Sub2", "Menu2", "Featured Application", "featuredapp.html");
//hMenu2.addSub("Menu2Sub3", "Menu2", "Application Archives", "apparchives.html");
//yMenu2End
//yMenu3
hMenu2.addMain("Menu3", true, "ORDERING", "http://www.encoder.co.uk/ordering/ordering.asp");
//hMenu2.addSub("Menu3Sub1", "Menu3", "How to Order", "ordering.html");
//hMenu2.addSub("Menu3Sub2", "Menu3", "Sales", "sales.html");
//yMenu3End
//yMenu4
hMenu2.addMain("Menu4", true, "SUPPORT", "http://www.encoder.co.uk/support/customer-service.asp");
hMenu2.addSub("Menu4Sub1", "Menu4", "Customer Service", "http://www.encoder.co.uk/support/customer-service.asp");
hMenu2.addSub("Menu4Sub2", "Menu4", "Technical Support", "http://www.encoder.co.uk/support/technical-support.asp");
hMenu2.addSub("Menu4Sub3", "Menu4", "Repairs", "http://www.encoder.co.uk/support/repairs.asp");
hMenu2.addSub("Menu4Sub4", "Menu4", "Warranty & Returns", "http://www.encoder.co.uk/support/warranty.asp");
hMenu2.addSub("Menu4Sub5", "Menu4", "Glossary of Terms", "http://www.encoder.co.uk/support/supportglossary.asp");
//hMenu2.addSub("Menu4Sub6", "Menu4", "Technical Bulletins", "techbltn.html");
//hMenu2.addSub("Menu4Sub7", "Menu4", "Installation Guide", "http://www.encoder.com/literature/installation-wiring-guide.pdf");
//hMenu2.addSub("Menu4Sub8", "Menu4", "Literature Library", "litlib.html");
//hMenu2.addSub("Menu4Sub9", "Menu4", "Request Literature", "lit-form.html");
//hMenu2.addSub("Menu4Sub10", "Menu4", "Drawing Library", "drawlib.html");
//yMenu4End
//yMenu5
hMenu2.addMain("Menu5", true, "LOCATIONS", "http://www.encoder.co.uk/support/contactus.asp");
//hMenu2.addSub("Menu5Sub1", "Menu5", "News Archives", "news-archives.html");
//hMenu2.addSub("Menu5Sub2", "Menu5", "Tradeshows", "tradeshows.html");
//hMenu2.addSub("Menu5Sub3", "Menu5", "New Products", "newprods.html");
//hMenu2.addSub("Menu5Sub4", "Menu5", "Press Releases", "pressrel.html");
//hMenu2.addSub("Menu5Sub5", "Menu5", "Articles", "articles.html");
//yMenu5End
//AdditionalEnd
hMenu2.buildMenu(116,84,0);
}
//SwipeMenuEnd

//</script>
//</head>
//<body onLoad="initSwipeMenu()" onUnload="macGo()">
//<div id="imageHolder2" name="SMBzz" style="position:absolute; width:1px; z-index:0; visibility: hidden; left:0px; top:0px"> 
//  <img src="images/menu2-main-back.jpg" width="1" height="1"> <img src="images/menu2-main-back.jpg" width="1" height="1"> 
//  <img src="images/menu2-sub-back.jpg" width="1" height="1"> <img src="images/menu2-sub-back.jpg" width="1" height="1"> 
//</div>
