var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
	var loc=""
	if (document.body){
		var tt = document.body.innerHTML.toLowerCase();
		var last = tt.indexOf("vibenav3_aug.js\"");
		if (last>0){
			var first = tt.lastIndexOf("\"", last);
			if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
		}
	}
}

document.write("<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"><tr>");
tr(false);
writeButton(loc+"","/about-us","/vibenav3_b1",161,20,"","",0);
writeButton(loc+"","/services","/vibenav3_b2",161,20,"","",0);
//writeButton(loc+"","infopage.htm","/vibenav3_b3",161,20,"","",0);
writeButton(loc+"","/learn-about/basic-understanding-of-machinery-vibration","/vibenav3_b40",161,20,"","",0);
writeButton(loc+"","/learn-about/advanced-vibration-analysis","/vibenav3_b43",161,20,"","",0);
writeButton(loc+"","/learn-about/shaft-currents","/vibenav3_b44",161,20,"","",0);
writeButton(loc+"","/learn-about/axial-fans","/vibenav3_b47",161,20,"","",0);
writeButton(loc+"","/learn-about/positioner-calibration","/vibenav3_b48",161,20,"","",0);
writeButton(loc+"","/testing-instruments-and-tools","/vibenav3_b4",161,20,"Testing Instruments &amp; Tools","",0);
writeButton(loc+"","/flux-drive","/vibenav3_b45",161,20,"Fluxdrive Agent","",0);
writeButton(loc+"","/spanco-gantry-cranes","/vibenav3_b41",161,20,"","",0);
writeButton(loc+"","/vibration-meters/balmac","/vibenav3_b7",161,20,"BALMAC Meters","",0);
writeButton(loc+"","/vibration-switches/balmac","/vibenav3_b9",161,20,"BALMAC switches","_self",0);
//writeButton(loc+"","http://www.azimadli.com","/vibenav3_b10",161,20,"DLI ENGINEERING products","",0);
writeButton(loc+"","/laser-alignment/easy-laser","/vibenav3_b14",161,20,"LASER Alignment","",0);
writeButton(loc+"","/vibration-switches/murphy","/vibenav3_b15",161,20,"MURPHY Vibration Switches","",0);
writeButton(loc+"","/industrial-fans/lau","/vibenav3_b16",161,20,"LAU Industrial Fans","",0);
writeButton(loc+"","/industrial-fans/joy-axivane","/vibenav3_b17",161,20,"JOY AXIVANE fans","",0);
writeButton(loc+"","/industrial-fans/flaktwoods-varofoil","/vibenav3_b18",161,20,"WOODS VAROFOIL fans","",0);
/*writeButton(loc+"","sheldons_aerovent.htm","vibenav3_b19",161,20,"SHELDONS AXICO fans","",0);*/
writeButton(loc+"","/combine-doctor-international","/vibenav3_b21",161,20,"Combine Doctor Int.","",0);
writeButton(loc+"","/lubrication-and-grease/metalon","/vibenav3_b22",161,20,"METALON Lubricants","",0);
writeButton(loc+"","/ac-dc-industrial-motors/baldor-reliance","/vibenav3_b23",161,20,"AC/DC Industral Motors","",0);
writeButton(loc+"","/inpro-seal","/vibenav3_b25",161,20,"INPRO SEAL","",0);
writeButton(loc+"","/lubrication-and-grease/kluber","/vibenav3_b26",161,20,"Kluberelectric Grease","",0);
writeButton(loc+"","/training","/vibenav3_b27",161,20,"VIBESCORP Training","",0);
writeButton(loc+"","/contact-us","/vibenav3_b28",161,20,"CONTACT VIBESCORP","",0);
writeButton(loc+"","/site-map","/vibenav3_b46",161,20,"Site Map","",0);
tr(true);
document.write("</tr></table>")
loc="";

function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}

function turn_over(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_over"].src;
	}
}

function turn_off(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_off"].src;
	}
}

function reg(gname,name)
{
if (document.images)
	{
	document[name+"_off"] = new Image();
	document[name+"_off"].src = loc+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc+gname+"_over"+gtype;
	}
}

function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}

function writeButton(urld, url, name, w, h, alt, target, hsp)
{
	gname = name;
	while(typeof(document[name])!="undefined") name += "x";
	reg(gname, name);
	tr(true);
	document.write("<td>");
	if (alt != "") alt = " alt=\"" + alt + "\"";
	if (target != "") target = " target=\"" + target + "\"";
	if (w > 0) w = " width="+w; else w = "";
	if (h > 0) h = " height="+h; else h = "";	
	if (url != "") url = " href=\"" + urld + url + "\"";
	
	document.write("<a " + url + evs(name) + target + ">");	
	
	if (hsp == -1) hsp =" align=right";
	else if (hsp > 0) hsp = " hspace="+hsp;
	else hsp = "";
	
	document.write("<img src=\""+loc+name+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=0></a></td>");
	tr(false);
}

