<!-- // START MENU CODE

// NOTE: If you use a ' add a slash before it like this \'

// MENU VER 2.0 IE 7.0 COMPATIBLE

StartMenu()


// MENU OPTIONS - you will find more options in the corporatestyle.css

MFL		= 0; 					// MENU DISTANCE FROM EDGE
MFT		= 0; 					// MENU DISTANCE FROM TOP
ALIGN		= "left"				// MENU LEFT OR RIGHT
TMH		= 27;					// TOP MENU HEIGHT
TMFS		= "8";					// TOP MENU FONT SIZE
TMFW		= "bold";				// TOP MENU FONT WEIGHT bold/normal
TMFF		= "verdana, arial, helvetica, sans";	// TOP MENU FONT FACE
TMC		= "CFCFE0";				// TOP MENU OFF FONT COLOR
TMBC		= "242440";				// TOP MENU OFF BACKGROUND COLOR
TMBI		= "picts/menu.gif";			// TOP MENU OFF BACKGROUND IMAGE
TMHC		= "000000";				// TOP MENU HOVER TEXT COLOR
TMHBC		= "C0C0C0";				// TOP MENU HOVER BACKGROUND COLOR
TMHBI		= "picts/menuon.gif";			// TOP MENU HOVER BACKGROUND IMAGE
MO		= TMH+0;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift	= 0;					// SHIFT SUBMENU RIGHT



// START SUBMENU OPTIONS - you will find more options in the corporatestyle.css


SMH		= -1;					// SUB MENU HEIGHT
SMFS		= "9";					// SUB MENU FONT SIZE
SMFW		= "bold";				// SUB MENU FONT WEIGHT bold/normal
SMFF		= "verdana, arial, MS Sans Serif, sans-serif";	// SUB MENU FONT FACE
SMC		= "666666";				// SUB MENU OFF FONT COLOR
SMBC		= "FFFFFF";				// SUB MENU OFF BACKGROUND COLOR
SMSC        = "DdDdEe"              // SUB MENU SELECTED COLOR
SMHC		= "000000";				// SUB MENU HOVER TEXT COLOR
SMHBC		= "D2D2E1";				// SUB MENU HOVER BACKGROUND COLOR


document.write("<span class='printhide'>")

SubMenu()


var thisPage = new pathFile();

var j=0;

Top_Width[j]=170; Sub_Menu_Width[j]=170;
m[j]='MONITORING';n[j]='insite.htm';st[j]="";s[j]=""
+Sub("insite.htm",j)+r+" InSite&#8482; Monitoring System "+c	
+Sub("insite.htm#tab2",j)+r+" How it Works "+c
+Sub("insite.htm#tab3",j)+r+" Components "+c
+Sub("inbox.htm#tab1",j)+r+" InBox&#8482; Wireless Data Acquisiiton Modules "+c	

j=1;
											
Top_Width[j]=170; Sub_Menu_Width[j]=170;
m[j]='SENSORS';n[j]='sensors.htm';st[j]="";s[j]=""
+Sub("sensors.htm",j)+r+" InCheck MEMS Sensors "+c		
+Sub("sensors.htm#tab2",j)+r+" Specifications "+c		
+Sub("sensors.htm#tab3",j)+r+" Installation"+c	
+Sub("sensors.htm#tab4",j)+r+" Get Quote "+c

j=2;

Top_Width[j]=170; Sub_Menu_Width[j]=170;
m[j]='SERVICES';n[j]='engineering.htm';st[j]="";s[j]=""
+Sub("engineering.htm",j)+r+" Engineering Consulting Services"+c
+Sub("inweb.htm",j)+r+" InWeb&#8482; Software"+c								
+Sub("monitoring.htm",j)+r+" Hosted Predictive Maintenance "+c
//+Sub("consulting.htm",j)+r+" Consulting "+c
//+Sub("sitemap.htm")+r+" InCheck Blog "+c

j=3;

Top_Width[j]=170; Sub_Menu_Width[j]=170;
m[j]='GET STARTED';n[j]='insite.htm#tab4';st[j]="";s[j]=""
+Sub("insite.htm#tab4",j)+r+" Pilot Program "+c	
+Sub("sensors.htm#tab4",j)+r+" Get Sensor Quote "+c					
//+Sub("vibration.htm")+r+" Online Vibration Analysis "+c						
//+Sub("technology.htm")+r+" Application and Data Hosting "+c	

j=4;

Top_Width[j]=170; Sub_Menu_Width[j]=170;
m[j]='COMPANY';n[j]='contact.htm';st[j]="";s[j]=""			
+Sub("contact.htm",j)+r+" Contact "+c  							
+Sub("about.htm",j)+r+" About InCheck Technologies "+c	
//+Sub("news.htm",j)+r+" Company News "+c
//+Sub("http://blog.inchecktech.com' target='blank",j)+r+" Blog "+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;




// ----------------------------------------------------------------
// YOU DO NOT NEED TO EDIT BELOW THIS LINE 2006 Allwebco Design
// ----------------------------------------------------------------





MENU=m.length



for (i=0; i < MENU; i++){


// START WRITING TOP LEVEL MENUS


document.write("<div style='z-index:100; 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++){
	



document.write("<div id='SUB"+i+"' class='menu_DIV' style='z-index:100; 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>")


}

document.write("</span>")

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
}
//WRITE PNG LOGO GRAPHIC FOR NON-IE BROWSER
//if(!BWD.ie)
//{
//document.write("<div class='printhide' align='left' width=800 height=100 style='position:absolute; top:60; left:0; z-index:100;'>")
//document.write("<img src='picts/logo_whiteglow.png' > </div>")
//}
} 

function pathFile() {
	var patharr = window.location.pathname.split("/");
	this.pageName = patharr[patharr.length - 1];
	this.tabTxt =  window.location.hash;
	this.fullName = this.pageName + this.tabTxt;
}


function Sub(filename, ti) {
	
	var TBN

	if (filename.indexOf("#") == -1 || thisPage.pageName != filename.split("#")[0]) TBN = "showBlurb('#tab1');";
	else TBN = "showBlurb('"+'#' +filename.split('#')[1]+ "');"; 
		
//	var BGC = (thisPage.fullName==filename?SMSC:SMBC);
	var BGC = SMBC;
	l="<a class='menu_SUB' style='color:#"+SMC+"; height:"+SMH+"; background-color:#"+BGC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+BGC+"';this.style.color='"+SMC+"'\" onclick=\" "+TBN+ "o["+ti+"].HideMenu(); \" href='";
	return l + filename
}

function SubMenu()
{

//document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' background='picts/menu-background.gif' 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("+'picts/menu-background.gif'+"); background-color:#"+TMBC+";z-level:-2'></div>")


l="<a class='menu_SUB' style='color:#"+SMC+"; height:"+SMH+"; 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='";

//style='

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||document.body.innerWidth||0;this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||document.body.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 -->
