/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

var mDebugging=2 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain"
oCMenu.useNS4links=1 
oCMenu.checkselect=0
oCMenu.offlineUrl="file:///c:/windows/desktop/final/"
oCMenu.onlineUrl="http://www.trax-uk.co.uk/"


oCMenu.pagecheck=1
oCMenu.checkscroll=1
oCMenu.resizecheck=1
oCMenu.wait=600

oCMenu.usebar=0
oCMenu.barcolor="#cccccc" 
oCMenu.barwidth="100%" 
oCMenu.barheight="menu" 
oCMenu.barx=0 
oCMenu.bary="menu"
oCMenu.barinheritborder=0

oCMenu.rows=1
oCMenu.fromleft=0 
oCMenu.fromtop=83
oCMenu.pxbetween=0

oCMenu.menuplacement="center"

oCMenu.level[0]=new Array() 
oCMenu.level[0].width=85 
oCMenu.level[0].height=30
oCMenu.level[0].bgcoloroff="#cccccc"
oCMenu.level[0].bgcoloron="#000099" 
oCMenu.level[0].textcolor="#000099"
oCMenu.level[0].hovercolor="#ffffff" 
oCMenu.level[0].style="text-align: center; font-family: verdana,arial,helvetica; font-size:10px; font-weight:bold"
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="#666666" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=-1 
oCMenu.level[0].NS4font="verdana,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"
oCMenu.level[0].NS4fontColor="white"
oCMenu.level[0].align="bottom" 

oCMenu.level[1]=new Array() 
oCMenu.level[1].width=90
oCMenu.level[1].height=30
oCMenu.level[1].bgcoloroff="#cccccc"
oCMenu.level[1].bgcoloron="#000099"
oCMenu.level[1].textcolor="#000000"
oCMenu.level[1].hovercolor="#ffffff"
oCMenu.level[1].style="padding:2px; font-family:verdana,arial,helvetica; font-size:10px;"
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1 
oCMenu.level[1].bordercolor="#666666"
oCMenu.level[1].NS4font="verdana,arial,helvetica"
oCMenu.level[1].NS4fontSize="2"
oCMenu.level[1].NS4fontColor="black"

oCMenu.level[2]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#cccccc"
oCMenu.level[2].bgcoloron="#000099"
oCMenu.level[2].textcolor="#000000"
oCMenu.level[2].hovercolor="#ffffff"
oCMenu.level[2].style="padding:2px; font-family:Verdana, Arial, Helvetica, Sans-Serif; font-size:10px; text-align: left;"
oCMenu.level[2].align="bottom" 
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="#999999"
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].NS4font="Verdana, Arial, Helvetica, Sans-Serif"
oCMenu.level[2].NS4fontSize="1"
oCMenu.level[2].clip=1 
oCMenu.level[2].clippx=20
oCMenu.level[2].cliptim=50

oCMenu.makeMenu('top2','','&nbsp;Home','http://www.trax-uk.co.uk/index.html')
	
oCMenu.makeMenu('top3','','&nbsp;Company Profile','http://www.trax-uk.co.uk/company/index.html')
	oCMenu.makeMenu('sub30','top3','About US','http://www.trax-uk.co.uk/company/index.html')
	oCMenu.makeMenu('sub31','top3','Customers','http://www.trax-uk.co.uk/company/index.html#customers')
	
oCMenu.makeMenu('top4','','&nbsp;Technology Overview','http://www.trax-uk.co.uk/technology/index.html')
	oCMenu.makeMenu('sub39','top4','Comparing Systems','http://www.trax-uk.co.uk/technology/comp_sys.html')
	oCMenu.makeMenu('sub40','top4','OMR','http://www.trax-uk.co.uk/technology/index.html#omr')
	oCMenu.makeMenu('sub41','top4','OCR/ICR','http://www.trax-uk.co.uk/technology/index.html#icr')
	oCMenu.makeMenu('sub42','top4','Web data capture','http://www.trax-uk.co.uk/technology/index.html#web')
	oCMenu.makeMenu('sub43','top4','Email data capture','http://www.trax-uk.co.uk/technology/index.html#email')
	oCMenu.makeMenu('sub44','top4','Network data capture','http://www.trax-uk.co.uk/technology/index.html#network')
	oCMenu.makeMenu('sub45','top4','Combination systems','http://www.trax-uk.co.uk/technology/index.html#combination')

oCMenu.makeMenu('top5','','&nbsp;Products','http://www.trax-uk.co.uk/products/index.html')
	oCMenu.makeMenu('sub50','top5','General','http://www.trax-uk.co.uk/products/index.html')
	oCMenu.makeMenu('sub51','top5','Print & Scan','http://www.trax-uk.co.uk/products/printandscan.html')
		oCMenu.makeMenu('sub510','sub51','Print & Scan Concept','http://www.trax-uk.co.uk/products/printandscan.html#concept')
		oCMenu.makeMenu('sub511','sub51','Print & Scan OMR/ICR','http://www.trax-uk.co.uk/products/printandscan.html#product')
		oCMenu.makeMenu('sub512','sub51','Print & Scan OnLine','http://www.trax-uk.co.uk/products/printandscan.html#web')
		oCMenu.makeMenu('sub513','sub51','Print & Scan EMail','http://www.trax-uk.co.uk/products/printandscan.html#email')
	oCMenu.makeMenu('sub52','top5','Print & Scan OnLine','http://www.trax-uk.co.uk/products/print_and_scan_web.html')
	oCMenu.makeMenu('sub53','top5','MultiTest/<br>QuestionBank','http://www.trax-uk.co.uk/products/multitest.html')
	oCMenu.makeMenu('sub54','top5','Image/OCR Software','')
		oCMenu.makeMenu('sub540','sub54','Print & Scan ICR/OCR','http://www.trax-uk.co.uk/products/print_and_scan_image.html')
		oCMenu.makeMenu('sub541','sub54','Eyes & Hands','http://www.trax-uk.co.uk/products/eyeshands.html')		
	oCMenu.makeMenu('sub55','top5','Other Software','')
		oCMenu.makeMenu('sub550','sub55','PIP','http://www.trax-uk.co.uk/products/pip.html')
		/*	by adnan....05/10/2005
		oCMenu.makeMenu('sub551','sub55','Order Pro +','http://www.trax-uk.co.uk/products/index.html#opp')
		*/
		oCMenu.makeMenu('sub552','sub55','Bespoke Systems','http://www.trax-uk.co.uk/products/bespoke.html')
	oCMenu.makeMenu('sub56','top5','Scanner Hardware','http://www.trax-uk.co.uk/products/omr_hardware.html')

oCMenu.makeMenu('top6','','&nbsp;Services','http://www.trax-uk.co.uk/services/index.html')
	oCMenu.makeMenu('sub060','top6','General','http://www.trax-uk.co.uk/services/index.html')
	oCMenu.makeMenu('sub061','top6','Bureau','http://www.trax-uk.co.uk/services/servdesc.html')
	oCMenu.makeMenu('sub062','top6','Consultancy','http://www.trax-uk.co.uk/services/index.html#consultancy')
	oCMenu.makeMenu('sub063','top6','Printing','http://www.trax-uk.co.uk/services/index.html#printing')
	oCMenu.makeMenu('sub064','top6','Training','http://www.trax-uk.co.uk/services/index.html#training')
	oCMenu.makeMenu('sub065','top6','Web Design','http://www.trax-uk.co.uk/services/index.html#webdesign')

oCMenu.makeMenu('top7','','&nbsp;News','http://www.trax-uk.co.uk/news/index.html')
	oCMenu.makeMenu('sub070','top7','Articles','http://www.trax-uk.co.uk/news/index.html')
	oCMenu.makeMenu('sub071','top7','Events','http://www.trax-uk.co.uk/news/events.html')

oCMenu.makeMenu('top8','','&nbsp;Support','http://www.trax-uk.co.uk/support/reg.html')
	oCMenu.makeMenu('sub080','top8','Register your Product','http://www.trax-uk.co.uk/support/reg.html')
	oCMenu.makeMenu('sub081','top8','Support Form','http://www.trax-uk.co.uk/support/form.php')
	oCMenu.makeMenu('sub082','top8','Patches and Updates','http://www.trax-uk.co.uk/updates/download.asp')
	oCMenu.makeMenu('sub083','top8','FAQs','http://www.trax-uk.co.uk/updates/faqs.asp')
	oCMenu.makeMenu('sub084','top8','Contact Details','http://www.trax-uk.co.uk/support/index.html')
	oCMenu.makeMenu('sub085','top8','Hints & Tips','http://www.trax-uk.co.uk/support/hintsntips.html')
	oCMenu.makeMenu('sub086','top8','User Login','http://www.trax-uk.co.uk/users/index.asp')

oCMenu.makeMenu('top9','','&nbsp;Contact Us','http://www.trax-uk.co.uk/contact/index.php')
	oCMenu.makeMenu('sub090','top9','Contact Form','http://www.trax-uk.co.uk/contact/index.php')
	oCMenu.makeMenu('sub091','top9','Contact Details','http://www.trax-uk.co.uk/contact/location.html')
	/*oCMenu.makeMenu('sub092','top9','Location','http://www.trax-uk.co.uk/contact/location.html#location')*/

oCMenu.makeMenu('top10','','&nbsp;Interactive','http://www.trax-uk.co.uk/interactive/index.html')
	oCMenu.makeMenu('sub100','top10','Web Surveys','http://www.trax-uk.co.uk/interactive/index.html')
	/*	by adnan........05/10/2005
	oCMenu.makeMenu('sub101','top10','WebEx','http://www.webassessment.co.uk/')
	*/

oCMenu.makeMenu('top11','','&nbsp;Accounting Solutions','http://www.traxuk.com')
	
oCMenu.makeStyle(); oCMenu.construct()

function cm_checkScrolled(obj){
	if(bw.ns4 || bw.ns6) obj.scrolledY=obj.win.pageYOffset
	else obj.scrolledY=obj.win.document.body.scrollTop
	if(obj.scrolledY!=obj.lastScrolled){
		if(!obj.useframes){
			//self.status=obj.scrolledY
			if(obj.scrolledY>119){
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.scrolledY)}
				if(obj.usebar) obj.oBar.moveY(obj.scrolledY)
			}else{
				for(i=0;i<obj.l[0].num;i++){var sobj=obj.l[0].o[i].oBorder; sobj.moveY(obj.fromtop)}
				if(obj.usebar) obj.oBar.moveY(obj.fromtop)
			}

		}
		obj.lastScrolled=obj.scrolledY; page.y=obj.scrolledY; page.y2=page.y2orig+obj.scrolledY
		if(!obj.useframes || bw.ie){ clearTimeout(obj.tim); obj.isover=0; obj.hideSubs(1,0)}
	}
	if((bw.ns4 || bw.ns6) && !obj.useframes) setTimeout("cm_checkScrolled("+obj.name+")",200)
}