/*****************************************************************************
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.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?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.ie7||this.ie8
	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.ie8 || this.ie7 || 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=1

oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""

oCMenu.useclick=0 //If you want the menu to be activated and deactivated onclick only set this to 1. - Value: 0 || 1

oCMenu.useNS4links=1  
oCMenu.NS4padding=2 
oCMenu.checkselect=1


oCMenu.offlineUrl="http://www.electroflowcontrols.com/"
oCMenu.onlineUrl="http://www.electroflowcontrols.com/"

oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=800

//Background bar properties
oCMenu.usebar=0
oCMenu.barcolor=""
oCMenu.barwidth="menu"
oCMenu.barheight="menu"
oCMenu.barx="menu"
oCMenu.bary="menu"
oCMenu.barinheritborder=0

//Placement properties
oCMenu.rows=1
oCMenu.fromleft=130
oCMenu.fromtop=80
oCMenu.pxbetween=1
oCMenu.menuplacement=1


//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array()
oCMenu.level[0].width="8%"
oCMenu.level[0].height=28
oCMenu.level[0].bgcoloroff="transparent"
//oCMenu.level[0].bgcoloron="white"
oCMenu.level[0].bgcoloron="#ccecff"
oCMenu.level[0].textcolor="#ffffff"
oCMenu.level[0].hovercolor="#006eb6"
//oCMenu.level[0].hovercolor="#006eb6"
oCMenu.level[0].style="padding:1px; font-family:verdana,tahoma,arial,helvetica; font-size:12px; font-weight:bold"
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="black"
oCMenu.level[0].offsetX=-80
oCMenu.level[0].offsetY=25
oCMenu.level[0].NS4font="arial,verdana,tahoma,helvetica"
oCMenu.level[0].NS4fontSize="1"

/*New: Added animation features that can be controlled on each level.*/
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=10
oCMenu.level[0].cliptim=0

oCMenu.level[0].filter=0 //VALUE: 0 || "filter specs"
oCMenu.level[0].align="right" //Value: "top" || "bottom" || "left" || "right" 

oCMenu.level[1]=new Array()
oCMenu.level[1].width=190
oCMenu.level[1].height=20
oCMenu.level[1].bgcoloroff="#ccecff"
oCMenu.level[1].bgcoloron="#006eb6"
oCMenu.level[1].textcolor="#006eb6"
oCMenu.level[1].hovercolor="#ccecff"
oCMenu.level[1].style="padding:2px; font-family:verdana,tahoma,arial,helvetica; font-size:10px; font-weight:bold"
oCMenu.level[1].align="left" 
oCMenu.level[1].offsetX=-320
oCMenu.level[1].offsetY=5
oCMenu.level[1].border=1
oCMenu.level[1].bordercolor="#ccecff"
oCMenu.level[1].NS4font="verdana,tahoma,arial,helvetica"
oCMenu.level[1].NS4fontSize="1"

oCMenu.level[2]=new Array()
oCMenu.level[2].width=140
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#006eb6"
oCMenu.level[2].bgcoloron="#ccecff"
oCMenu.level[2].textcolor="#ccecff"
oCMenu.level[2].hovercolor="#000000"
oCMenu.level[2].style="padding:2px; font-family:verdana,tahoma,arial,helvetica; font-size:9px; font-weight:bold"
oCMenu.level[2].align="left" 
oCMenu.level[2].offsetX=120
oCMenu.level[2].offsetY=5
oCMenu.level[2].border=1
oCMenu.level[2].bordercolor="white"
oCMenu.level[2].NS4font="verdana,tahoma,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"

oCMenu.level[3]=new Array()
oCMenu.level[3].width=oCMenu.level[2].width
oCMenu.level[3].height=20
oCMenu.level[3].bgcoloroff="eaeaea"
oCMenu.level[3].bgcoloron="white"
oCMenu.level[3].textcolor="gray"
oCMenu.level[3].hovercolor="black"
oCMenu.level[3].style="padding:2px; font-family:verdana,tahoma,arial,helvetica; font-size:9px; font-weight:bold"
oCMenu.level[3].align="left" 
oCMenu.level[3].offsetX=78
oCMenu.level[3].offsetY=5
oCMenu.level[3].border=1
oCMenu.level[3].bordercolor="gray"
oCMenu.level[3].NS4font="verdana,tahoma,arial,helvetica"
oCMenu.level[3].NS4fontSize="1"

oCMenu.level[4]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[4].width=oCMenu.level[0].width
oCMenu.level[4].height=20
oCMenu.level[4].bgcoloroff="#ffff80"
oCMenu.level[4].bgcoloron="red"
oCMenu.level[4].textcolor="black"
oCMenu.level[4].style="padding:2px; font-family:verdana,tahoma,arial,helvetica; font-size:9px; font-weight:normal"
oCMenu.level[4].align="left" 
oCMenu.level[4].offsetX=78
oCMenu.level[4].offsetY=5
oCMenu.level[4].border=1
oCMenu.level[4].bordercolor="gray"
oCMenu.level[4].NS4font="verdana,tahoma,arial,helvetica"
oCMenu.level[4].NS4fontSize="1"



/*Variables for each menu item: (** means that they have to be spesified!)
name: The name of the item. This must be unique for each item. Do not use spaces or strange charachters in this one! **
parent: The name of the menuitem you want this to "connect" to. This will be a submenu of the item that have the name you place in here. ** for all other then the topitems
text: The text you want in the item. ** (except if you use images) 
link: The page you want this item to link to.
target: The target window or frame you want the link to go to (Default is same window if you're not using frames, and the mainframe if you're using frames)
width: The width of the element. If not spesified it will get the default width spesified above.
height: The height of the element. If not spesified it will get the default height spesified above.
img1: The "off" image for element if you want to use images.
img2: The image that appears onmouseover if using images.
bgcoloroff: The background color for this item. If not spesified it will get the default background color spesified above.
bgcoloron: The "on" background color for this item. If not spesified it will get the default "on" background color spesified above.
textcolor: The text color for this item. If not spesified it will get the default text color spesified above.
hovercolor: The "on" text color for this item. If not spesified it will get the default "on" text color spesified above. Netscape4 ignores this
onclick: If you want something to happen when the element is clicked (different from going to a link) spesifiy it here.
onmouseover: This will happen when you mouseover the element. Could be status text, another imageswap or whatever.
onmouseout: This will happen when you mouseout the element.

Remember you can have as many levels/sublevels as you want. Just make sure you spesify the correct "parent" for each item.
To set styles for each level see above.
*/

oCMenu.makeMenu('top0','','&nbsp;Home','index.htm','','')

oCMenu.makeMenu('top1','','&nbsp;Company','','','')
	oCMenu.makeMenu('sub11','top1','Profile','profile.htm','','')
	oCMenu.makeMenu('sub12','top1','People','people.htm','','')
//	oCMenu.makeMenu('sub13','top1','Meet the Team','','','')
//		oCMenu.makeMenu('sub131','sub13','Business Development','busdev.htm','','')
//		oCMenu.makeMenu('sub132','sub13','Project Engineers','projeng.htm','','')
//		oCMenu.makeMenu('sub133','sub13','Design','design.htm','','')
//		oCMenu.makeMenu('sub134','sub13','Production','production.htm','','')
//	oCMenu.makeMenu('sub14','top1','Vacancies','vacancies.htm','','')
	oCMenu.makeMenu('sub15','top1','Facilities','facilities.htm','','')
	oCMenu.makeMenu('sub16','top1','Locations','locations.htm','','')
//		oCMenu.makeMenu('sub161','sub16','Under Construction','','','')
	oCMenu.makeMenu('sub17','top1','Certification','cert.htm','','')
//		oCMenu.makeMenu('sub171','sub17','Under Construction','','','')

oCMenu.makeMenu('top2','','&nbsp;Products','','','')
	oCMenu.makeMenu('sub21','top2','Overview','products.htm','','')
	oCMenu.makeMenu('sub22','top2','Drilling Instrumentation','DI/DI.htm','','')
		oCMenu.makeMenu('sub221','sub22','Screen Based','DI/DI_Screen.htm','','')
		oCMenu.makeMenu('sub222','sub22','Single Units','DI/DI_Single.htm','','')
		oCMenu.makeMenu('sub223','sub22','Pump Stroke Counter','DI/DI_PSC.htm','','')
		oCMenu.makeMenu('sub224','sub22','Pit Volume Totaliser','DI/DI_PVT.htm','','')
		oCMenu.makeMenu('sub225','sub22','EExd Zone 1 Screen','DI/DI_EExdZone1TFT.htm','','')
//		oCMenu.makeMenu('sub226','sub22','Enquiry Form','enquiry_DI.htm','','')

oCMenu.makeMenu('sub23','top2','Choke Control Instrumentation','wci/wci.htm','','')
		oCMenu.makeMenu('sub231','sub23','Choke Control','wci/wci_ChokeControl.htm','','')
		oCMenu.makeMenu('sub232','sub23','Finescale Gauges','wci/wci_FSG.htm','','')
		oCMenu.makeMenu('sub233','sub23','Liquid Seal Monitor','wci/wci_LSM.htm','','')
		oCMenu.makeMenu('sub234','sub23','High Pressure High Temp','wci/wci_HPHT.htm','','')
		oCMenu.makeMenu('sub235','sub23','BOP Control','wci/wci_BOP.htm','','')
		oCMenu.makeMenu('sub236','sub23','Glycol Injection Unit','wci/wci_GlycolInjectionUnit.htm','','')
                oCMenu.makeMenu('sub237','sub23','Overboard Valve Control','wci/wci_overboardvalvecontrol.htm','','')
		oCMenu.makeMenu('sub238','sub23','Leak Off Test (FIT LOT)','wci/wci_FITLOT.htm','','')
		oCMenu.makeMenu('sub239','sub23','Zone 1 Temp Sensor','wci/wci_tempzone1.htm','','')

	oCMenu.makeMenu('sub24','top2','Drill Cabin Consoles','dcc/dcc.htm','','')
//		oCMenu.makeMenu('sub241','sub24','Datasheets','dcc.htm#Datasheets','','')
//		oCMenu.makeMenu('sub242','sub24','Schematics','dcc.htm#Schematics','','')
//		oCMenu.makeMenu('sub243','sub24','Photos','dcc.htm#Photos','','')
//		oCMenu.makeMenu('sub244','sub24','Client Reference List','dcc_client_ref.htm','','')
//		oCMenu.makeMenu('sub245','sub24','Certification','dcc.htm#Certification','','')
//		oCMenu.makeMenu('sub246','sub24','Enquiry Form','enquiry_dcc.htm','','')

	oCMenu.makeMenu('sub25','top2','CCTV','cctv/cctv.htm','','')
		oCMenu.makeMenu('sub251','sub25','TV Systems','cctv/cctv_TVS.htm','','')
		oCMenu.makeMenu('sub252','sub25','TV Components','cctv/cctv_TVC.htm','','')
//		oCMenu.makeMenu('sub253','sub25','Photos','cctv.htm#Photos','','')
//		oCMenu.makeMenu('sub254','sub25','Client Reference List','cctv_client_ref.htm','','')
//		oCMenu.makeMenu('sub255','sub25','Certification','cctv.htm#Certification','','')
//		oCMenu.makeMenu('sub256','sub25','Enquiry Form','enquiry_cctv.htm','','')

	oCMenu.makeMenu('sub26','top2','Rig Instrumentation','ri/rmi.htm','','')
		oCMenu.makeMenu('sub261','sub26','Bulk Tank Monitoring','ri/ri_Bulk.htm','','')
		oCMenu.makeMenu('sub262','sub26','Drillers Intercom','ri/ri_DrillersIntercom.htm','','')
		oCMenu.makeMenu('sub263','sub26','Fire Gas Detection','ri/ri_FG.htm','','')

	oCMenu.makeMenu('sub27','top2','Marine Instrumentation','ri/rmi.htm','','')
		oCMenu.makeMenu('sub271','sub27','Ballast Tank Monitoring','mi/mi_Ballast.htm','','')
		oCMenu.makeMenu('sub272','sub27','Pre Load Tank Monitoring','mi/mi_PLT.htm','','')
		oCMenu.makeMenu('sub273','sub27','Anchor Monitoring',',mi/mi_AMS.htm','','')
		oCMenu.makeMenu('sub274','sub27','Environment Monitoring','mi/mi_Environment.htm','','')
		oCMenu.makeMenu('sub275','sub27','Leg Length Monitoring','mi/mi_llm.htm','','')
		oCMenu.makeMenu('sub276','sub27','Riser Angle Monitoring','mi/mi_RAM.htm','','')
		oCMenu.makeMenu('sub277','sub27','Rack Phase Difference','mi/mi_RPD.htm','','')
	
	oCMenu.makeMenu('sub28','top2','Production Systems','prod/prod.htm','','')
                oCMenu.makeMenu('sub281','sub28','Emergency Shut Down','prod/prod_ESD.htm','','')
                oCMenu.makeMenu('sub282','sub28','Downhole Valve Control','prod/prod_DHV.htm','','')
                oCMenu.makeMenu('sub283','sub28','Acid Neutralising System','prod/prod_acid.htm','','')
                oCMenu.makeMenu('sub284','sub28','Well Test Data Acquisition','prod/prod_DAWellTest.htm','','')
//              oCMenu.makeMenu('sub285','sub28','Water Purification','prod_purewater.htm','','')
//              oCMenu.makeMenu('sub286','sub28','Injection Pump Controls','prod_waterinj.htm','','')

	oCMenu.makeMenu('sub29','top2','I.S. Meters','ENG_SVS/M25.htm','','')

	oCMenu.makeMenu('sub30','top2','BOP Controls','BOP/BOP.htm','','')
		oCMenu.makeMenu('sub301','sub30','MUX Control System','BOP/BOP_MUX.htm','','')
		oCMenu.makeMenu('sub302','sub30','Electric Control Upgrade','BOP/BOP_Elec Ctrl Upgrade.htm','','')
		oCMenu.makeMenu('sub303','sub30','Control Panel Replacement','BOP/BOP_Control Panel Replacement.htm','','')

        oCMenu.makeMenu('sub20','top2','Engineering Services','ENG_SVS/ENG_intro.htm','','')
                oCMenu.makeMenu('sub201','sub20','Cable Integrity','ENG_SVS/cable_integrity.htm','','')
//              oCMenu.makeMenu('sub202','sub20','Motor Starter','ENG_SVS/datascreen.htm','','')

//oCMenu.makeMenu('top3','','&nbsp;Industry','','','')
//	oCMenu.makeMenu('sub21','top2','Upstream','','','')
//	oCMenu.makeMenu('sub22','top2','Downstream','','','')
//	oCMenu.makeMenu('sub23','top2','Pharmaceutical','','','')
//	oCMenu.makeMenu('sub24','top2','Scotch Whisky','','','')

oCMenu.makeMenu('top3','','&nbsp;Contact','htm/non_product/contact.htm','','')
//	oCMenu.makeMenu('sub31','top3','Under Construction','','','')

//oCMenu.makeMenu('top4','','&nbsp;Bulletins','press.htm','','')
//	oCMenu.makeMenu('sub41','top4','Latest News','latest.htm','','')
//	oCMenu.makeMenu('sub42','top4','Archives','archives.htm','','')
//	oCMenu.makeMenu('sub43','top4','Events','events.htm','','')

oCMenu.makeMenu('top4','','&nbsp;Enquiries','enquiry.htm','','')
//	oCMenu.makeMenu('sub51','top5','Under Construction','','','')
//		oCMenu.makeMenu('sub511','sub51','Under Construction','http;//','','')

//oCMenu.makeMenu('top5','','&nbsp;Site Map','','','')
//	oCMenu.makeMenu('sub51','top5','Under Construction','http://','','')

oCMenu.makeMenu('top6','','&nbsp;General','','','')
	oCMenu.makeMenu('sub60','top6','Advanced Search','advsearch.htm','','')
	oCMenu.makeMenu('sub61','top6','Links','Links.htm','','')
//	oCMenu.makeMenu('sub62','top6','Bulletins','press.htm','','')
//		oCMenu.makeMenu('sub611','sub61','Latest News','latest.htm','','')
//		oCMenu.makeMenu('sub612','sub61','Archives','archives.htm','','')
//		oCMenu.makeMenu('sub613','sub61','Events','events.htm','','')
//	oCMenu.makeMenu('sub62','top6','Local Weather','','','')
//		oCMenu.makeMenu('sub621','sub62','5 Day look-ahead','weather3.htm','',100)
//		oCMenu.makeMenu('sub622','sub62','Today in Detail','weather2.htm','',100)
	oCMenu.makeMenu('sub63','top6','Copyright','htm/non_product/copyright.htm','','')
	oCMenu.makeMenu('sub64','top6','Privacy / Data Protection','htm/non_product/privacy.htm','','')

oCMenu.makeMenu('top7','','&nbsp;Careers','careers.htm','','')



//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()		

var message="COPYRIGHT NOTICE:-  ŠElectro-Flow Controls.  All editorial content and graphics on this site are protected by copyright and international treaties and may not be copied without the express permission of Electro-Flow Controls, who reserves all rights.";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;


