// JavaScript Document
/*** 
This is the menu creation code - place it right after your body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/


//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=235
oCMenu.fromTop=5   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
//New properties in 4.06 - Set to open and/or close the menu onclick
oCMenu.openOnClick=0
oCMenu.closeOnClick=0

// nothing needed because all .htm-files are in the same folder
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=500 
oCMenu.fillImg="../images/layout/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=110
oCMenu.level[0].height=16 
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=1
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=oCMenu.level[0].width
oCMenu.level[1].height=14
oCMenu.level[1].offsetX=1
//oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].arrow="../images/layout/menu_arrow.gif"
oCMenu.level[0].arrowWidth=5
oCMenu.level[0].arrowHeight=7
oCMenu.level[1].align="right"

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=150
oCMenu.level[2].height=14
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation (read this example!):
oCMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
//we don't use this item, because we have no "Home" graphics in main menu
//oCMenu.makeMenu('top0','','<b>&nbsp;Home</b>','../index.htm')

//first menu Products, first item is a graphic, all other are text items
oCMenu.makeMenu('top1','','&nbsp;Products','products.htm','','110','20','../images/layout/menubar01.jpg','../images/layout/menubar01a.jpg')
	//oCMenu.makeMenu('sub10','top1','All-in-One Digital Signage','allinonerange.htm','',118,26) 
		//oCMenu.makeMenu('sub101','sub10','Product Range','allinonerange.htm','',140,0)
		//oCMenu.makeMenu('sub102','sub10','Display/Media Player','allinonedispmedia.htm','',140,0)		
		//oCMenu.makeMenu('sub103','sub10','iSignager LCD','products_isignagerLCD.htm','',140,0)
	oCMenu.makeMenu('sub11','top1','All-in-One Touchscreen PC','aiotouchrange.htm','',118,26) 
		oCMenu.makeMenu('sub111','sub11','Product Range','aiotouchrange.htm','',140)
		oCMenu.makeMenu('sub112','sub11','HP Touchsmart PC','products_hptouchsmart.htm','',140,0)	
		//oCMenu.makeMenu('sub113','sub11','Howie','producthowie.htm','',140,0)
		oCMenu.makeMenu('sub114','sub11','IEI Panel PC','products_ieipanelpc.htm','',140,0)
		oCMenu.makeMenu('sub115','sub11','MSI AE2400','products_MSI_AE2400.htm','',140,0)
		//oCMenu.makeMenu('sub115','sub11','Osprey MPC Touchscreen','digitospreympc.htm','',140,0)
	oCMenu.makeMenu('sub12','top1','Apps','apps_productrange.htm','',118) 
		oCMenu.makeMenu('sub121','sub12','Product Range','apps_productrange.htm','',175,0)
		oCMenu.makeMenu('sub122','sub12','Google Earth on Large Multitouch','appGEmultitouch.htm','',175,0)
		oCMenu.makeMenu('sub123','sub12','Our World 2D & 3D App','appourworld3D.htm','',175,0)
		oCMenu.makeMenu('sub125','sub12','ShowTouch App','appshowtouch.htm','',175,0)
		oCMenu.makeMenu('sub126','sub12','TouchTerminal','touchterminaloverview.htm','',175,0)
		oCMenu.makeMenu('sub127','sub12','WebTouch','webtouch.htm','',175,0)
	oCMenu.makeMenu('sub13','top1','AV Displays, Indoors   & Outdoors','avrange.htm','',118,26) 
		oCMenu.makeMenu('sub131','sub13','Product Range','avrange.htm','',160,0)
		oCMenu.makeMenu('sub132','sub13','AV Brands','avdisplay.htm','',160,0)		
		oCMenu.makeMenu('sub133','sub13','Hi Bright Screens','avhibright.htm','',160,0)
		oCMenu.makeMenu('sub134','sub13','NEC Professional Displays','product_NEC.htm','',160,0)
		oCMenu.makeMenu('sub135','sub13','Mounts, Stands & Housings','avmounts.htm','',160,0)
		oCMenu.makeMenu('sub14','top1','Audio for Public Spaces','audioproducts.htm','',118)
		//oCMenu.makeMenu('sub15','top1','Digit Professional','digitrange.htm','',118)
			//oCMenu.makeMenu('sub150','sub15','Product Range','digitrange.htm','',140,0)
			//oCMenu.makeMenu('sub151','sub15','ProDVX F100','digitprodvx.htm','',140,0)
			//oCMenu.makeMenu('sub152','sub15','ProDVX Minitower','digitminitower.htm','',140,0)	
			//oCMenu.makeMenu('sub153','sub15','ProDVX Monitor','digitdvxmonitor.htm','',140,0)
			//oCMenu.makeMenu('sub154','sub15','ProDVX Lightbox','digitlightbox.htm','',140,0)
			//oCMenu.makeMenu('sub155','sub15','Digit Touchscreen','producttouchdigit.htm','',140,0)
			//oCMenu.makeMenu('sub156','sub15','Osprey MPC Touchscreen','digitospreympc.htm','',140,0)
		oCMenu.makeMenu('sub16','top1','Digtal Signage','digitalsignagerange.htm','',118)
			oCMenu.makeMenu('sub161','sub16','Product Range','digitalsignagerange.htm','',120,0)
			//oCMenu.makeMenu('sub162','sub16','ProDVX F100, F150','digitprodvx.htm','',120,0)
			//oCMenu.makeMenu('sub153','sub15','Digit DVX-NP800HD','digithd800.htm','',120,0)	
			oCMenu.makeMenu('sub164','sub16','Info On Screen','appinfoonscreen.htm','',120,0)
			oCMenu.makeMenu('sub165','sub16','iSignager Products','productisignager.htm','',120,0)
			//oCMenu.makeMenu('sub155','sub15','WebDT Products','webdtsignage.htm','',120,0)
			//oCMenu.makeMenu('sub156','sub15','CampaignManager','productcampaignmanager.htm','',120,0)
	oCMenu.makeMenu('sub17','top1','Self-Service Kiosks','productkiosk.htm','',118)
		    oCMenu.makeMenu('sub170','sub17','Product Range','productkiosk.htm','',120,0)
			oCMenu.makeMenu('sub171','sub17','Components','productkioskcomp.htm','',120,0)
			oCMenu.makeMenu('sub172','sub17','Enclosures','productkioskencl.htm','',120,0)
			//oCMenu.makeMenu('sub163','sub16','Self-Service Receptionist','ssreceptionist.htm','',140,0)
	oCMenu.makeMenu('sub18','top1','Systems','systemsrange.htm','',118)
			oCMenu.makeMenu('sub180','sub18','Product Range','systemsrange.htm','',85,0)
			oCMenu.makeMenu('sub181','sub18','IEI Panel PC','products_ieipanelpc.htm','',85,0)
			oCMenu.makeMenu('sub182','sub18','Mac Mini','systems_mac-mini.htm','',85,0)
	oCMenu.makeMenu('sub19','top1','Touchscreen Displays','producttouch.htm','',118,0)
			oCMenu.makeMenu('sub190','sub19','Product Range','producttouch.htm','',100,0)
			oCMenu.makeMenu('sub191','sub19','EloTouch','producttouchelo.htm','',100,0)
			oCMenu.makeMenu('sub192','sub19','HP Touch','products_HP_touch.htm','',100,0)
			oCMenu.makeMenu('sub193','sub19','IEI Touch','products_ieitouch.htm','',100,0)
			oCMenu.makeMenu('sub194','sub19','iQrite','products_iQritetouch.htm','',100,0)
			oCMenu.makeMenu('sub195','sub19','Mult-itouch','products_multitouch.htm','',100,0)
			oCMenu.makeMenu('sub196','sub19','Next Window','producttouchnext.htm','',100,0)
			oCMenu.makeMenu('sub197','sub19','Touchscreen, Touch System Hire','producttouchhire.htm','',100,26)
			oCMenu.makeMenu('sub198','sub19','Thru Glass Window','producttouchwindow.htm','',100,0)
			//oCMenu.makeMenu('sub188','sub18','Other','producttouchother.htm','',100,0)
			
//second menu Services, first item is a graphic, all other are text items
oCMenu.makeMenu('top2','','&nbsp;Services','services.htm','','110','20','../images/layout/menubar02.jpg','../images/layout/menubar02a.jpg')
	oCMenu.makeMenu('sub21','top2','Content Creation','sercontentcreation.htm','',113)	
			oCMenu.makeMenu('sub210','sub21','Introduction','sercontentcreation.htm','',160,0)
			//oCMenu.makeMenu('sub211','sub21','Corporate Video Production','servideo.htm','',160,0)
			//oCMenu.makeMenu('sub212','sub21','DVD Production','serdvdprod.htm','',160,0)
			//oCMenu.makeMenu('sub213','sub21','Guest Services Programmes','sercontguest.htm','',160,0)
			oCMenu.makeMenu('sub214','sub21','Interactive Multimedia','serinter.htm','',160,0)
			oCMenu.makeMenu('sub215','sub21','PowerPoint Presentations','sercontppt.htm','',160,0)
	oCMenu.makeMenu('sub22','top2','Consulting','serconsulting.htm','',113)
	oCMenu.makeMenu('sub23','top2','Digital Signage','serdigitalsignage.htm','',113)
			oCMenu.makeMenu('sub230','sub23','Introduction','serdigitalsignage.htm','',130,0)
			oCMenu.makeMenu('sub231','sub23','Hotel Signage System','producthotelsignage.htm','',130,0)
			oCMenu.makeMenu('sub232','sub23','Public Signage Systems','serdigitalpublic.htm','',130,0)
	//oCMenu.makeMenu('sub24','top2','In-House TV','serinhouse.htm','',113)
			//oCMenu.makeMenu('sub241','sub24','About In-house TV','serinhouse.htm','',110,0)
			//oCMenu.makeMenu('sub242','sub24','Hospitality TV','serhospitality.htm','',110,0)
	oCMenu.makeMenu('sub25','top2','Museum/Tourist Site Exhibits','sermuseum.htm','',113,26)
	oCMenu.makeMenu('sub26','top2','Project Management','serpm.htm','',113,26)

//third menu Portfolio, first item is a graphic, all other are text items
oCMenu.makeMenu('top3','','&nbsp;Portfolio','portfolio.htm','','110','20','../images/layout/menubar03.jpg','../images/layout/menubar03a.jpg')
	oCMenu.makeMenu('sub31','top3','Content Creation','portcontent.htm','',113)
		oCMenu.makeMenu('sub310','sub31','Introduction','portcontent.htm','',130,0)
		oCMenu.makeMenu('sub311','sub31','DVD/Video Production','portvideo.htm','',130,0)
		oCMenu.makeMenu('sub312','sub31','Hotel Guest Services','portguest.htm','',130,0)
		oCMenu.makeMenu('sub313','sub31','Interactive Multimedia','portinter.htm','',130,0)	
		oCMenu.makeMenu('sub314','sub31','PowerPoint Production','portpptprod.htm','',130,0)
		oCMenu.makeMenu('sub315','sub31','Training Programmes','porttraining.htm','',130,0)	
	oCMenu.makeMenu('sub33','top3','Digital Signage','portdigitalsignage.htm','',113)
	oCMenu.makeMenu('sub34','top3','Museum/Tourist Site Exhibits','portmus.htm','',113,26)
		oCMenu.makeMenu('sub340','sub34','Introduction','portmus.htm','',130,0)
		oCMenu.makeMenu('sub341','sub34','Auckland Museum','akmus.htm','',130,0)
		oCMenu.makeMenu('sub342','sub34','Kelly Tarltons','kellytarlton.htm','',130,0)
	oCMenu.makeMenu('sub35','top3','Self-Service Kiosks','portkiosk.htm','',113)
	oCMenu.makeMenu('sub36','top3','Self-Service Receptionist','portssr.htm','',113,25)
	oCMenu.makeMenu('sub37','top3','Touch Window','porttouchwindow.htm','',113)
	
//fourth menu News, first item is a graphic, all other are text items
oCMenu.makeMenu('top5','','&nbsp;What\'s New','new.htm','','110','20','../images/layout/menubar04.jpg','../images/layout/menubar04a.jpg')
		oCMenu.makeMenu('sub50','top5','Archive 2010','new2010.htm')
		oCMenu.makeMenu('sub51','top5','Archive 2009','new2009.htm')
		oCMenu.makeMenu('sub52','top5','Archive 2008','new2008.htm')
		oCMenu.makeMenu('sub53','top5','Archive 2007','new2007.htm')
		oCMenu.makeMenu('sub54','top5','Archive 2006','new2006.htm')
		oCMenu.makeMenu('sub55','top5','Archive 2005','new2005.htm')
		oCMenu.makeMenu('sub56','top5','Archive 2004','new2004.htm')
		oCMenu.makeMenu('sub57','top5','Archive 2003','new2003.htm')
		oCMenu.makeMenu('sub58','top5','Archive 2002','new2002.htm')
		oCMenu.makeMenu('sub59','top5','Archive 2001','new2001.htm')
		

//fifth menu Contact, first item is a graphic, all other are text items
oCMenu.makeMenu('top6','','&nbsp;Contact Us','contact2.htm','','110','20','../images/layout/menubar05.jpg','../images/layout/menubar05a.jpg')

//Leave this line - it constructs the menu
oCMenu.construct()
