// JavaScript Document
/*** 
This is the menu creation code - place it right after you 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=20 
oCMenu.fromTop=173   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="file:///D|/work/Scenario/clients/alpacotrading.com/" 
oCMenu.onlineRoot="http://www.alpacotrading.com/" 
oCMenu.resizeCheck=1 
oCMenu.wait=100
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=-1
oCMenu.barY=173
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=100
oCMenu.level[0].height=20 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=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-2
oCMenu.level[1].height=30
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+48
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//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=80
oCMenu.level[2].height=20
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:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','&nbsp;home','english.htm','','50')

oCMenu.makeMenu('top1','','&nbsp;about us','aboutus_uk.html','','65')

oCMenu.makeMenu('top2','','&nbsp;Specialised Building Materials','','','185')
	oCMenu.makeMenu('sub20','top2','Ulma: Prefabricated polymer concrete Channels and gratings','building_materials/1kanalia_sxares/english.html','','190')
		oCMenu.makeMenu('sub201','sub20','Photo Gallery','building_materials/1kanalia_sxares/pics_en.htm','')
		oCMenu.makeMenu('sub202','sub20','PDF Files','building_materials/1kanalia_sxares/pdf_en.htm','')
	oCMenu.makeMenu('sub21','top2','Sansone: Stainless steel containers for liquid foodstuff','building_materials/2doxeia/english.html','','190')
		oCMenu.makeMenu('sub211','sub21','Photo Gallery','building_materials/2doxeia/pics_en.htm','')
		oCMenu.makeMenu('sub212','sub21','PDF Files','building_materials/2doxeia/pdf_en.htm','')
	oCMenu.makeMenu('sub22','top2','Plannja/Solam: Swedish/Greek metallic roof tiles','building_materials/3keramidia/english.html','','190')
		oCMenu.makeMenu('sub221','sub22','Photo Gallery','building_materials/3keramidia/pics_en.htm','')
		oCMenu.makeMenu('sub222','sub22','PDF Files','building_materials/3keramidia/pdf_en.htm','')		
	oCMenu.makeMenu('sub23','top2','Marley: uPVC/Aluminium rainwater system','building_materials/4xoletres/english.html','','190')
		oCMenu.makeMenu('sub231','sub23','Photo Gallery','building_materials/4xoletres/pics_en.htm','')
		oCMenu.makeMenu('sub232','sub23','PDF Files','building_materials/4xoletres/pdf_en.htm','')		
	oCMenu.makeMenu('sub24','top2','EAVEMASTER MFP FASCIA & SOFFIT SYSTEM','building_materials/5glafonia/english.html','','190')
		oCMenu.makeMenu('sub241','sub24','Photo Gallery','building_materials/5glafonia/pics_en.htm','')
		oCMenu.makeMenu('sub242','sub24','PDF Files','building_materials/5glafonia/pdf_en.htm','')		
	oCMenu.makeMenu('sub25','top2','Tubix: Paper form works for circular columns casting','building_materials/6kaloupia/english.html','','190')
		oCMenu.makeMenu('sub251','sub25','Photo Gallery','building_materials/6kaloupia/pics_en.htm','')
		oCMenu.makeMenu('sub252','sub25','PDF Files','building_materials/6kaloupia/pdf_en.htm','')		
	oCMenu.makeMenu('sub26','top2','Cupolex: Aerated floor sub base','building_materials/7epixomatosi/english.html','','190')
		oCMenu.makeMenu('sub261','sub26','Photo Gallery','building_materials/7epixomatosi/pics_en.htm','')
		oCMenu.makeMenu('sub262','sub26','PDF Files','building_materials/7epixomatosi/pdf_en.htm','')		
	oCMenu.makeMenu('sub27','top2','Alutec: Aluminium Roof and Floor Drainage','building_materials/8ombria/english.htm','','190')
		oCMenu.makeMenu('sub271','sub27','Photo Gallery','building_materials/8ombria/pics_en.htm','')
		oCMenu.makeMenu('sub272','sub27','PDF Files','building_materials/8ombria/pdf_en.htm','')		


oCMenu.makeMenu('top3','','&nbsp;Doors Automations','','','120')
	oCMenu.makeMenu('sub30','top3','Garage Doors','doors_automations/1portes_gkaraz/english.html','','125','')
		oCMenu.makeMenu('sub301','sub30','Photo Gallery','doors_automations/1portes_gkaraz/pics_en.htm','')
		oCMenu.makeMenu('sub302','sub30','PDF Files','doors_automations/1portes_gkaraz/pdf_en.htm','')		
	oCMenu.makeMenu('sub31','top3','Automatic Gates','doors_automations/2kagkeloportes/english.html','','125')
		oCMenu.makeMenu('sub311','sub31','Photo Gallery','doors_automations/2kagkeloportes/pics_en.htm','')
		oCMenu.makeMenu('sub312','sub31','PDF Files','doors_automations/2kagkeloportes/pdf_en.htm','')		
	oCMenu.makeMenu('sub32','top3','Industrial Garage Doors','doors_automations/3biomixanikes/english.html','','125')
		oCMenu.makeMenu('sub321','sub32','Photo Gallery','doors_automations/3biomixanikes/pics_en.htm','')
		oCMenu.makeMenu('sub322','sub32','PDF Files','doors_automations/3biomixanikes/pdf_en.htm','')		
	oCMenu.makeMenu('sub33','top3','Automatic Parking Control Equipment','doors_automations/4statmeusis/english.html','','125')
		oCMenu.makeMenu('sub331','sub33','Photo Gallery','doors_automations/4statmeusis/pics_en.htm','')
		oCMenu.makeMenu('sub332','sub33','PDF Files','doors_automations/4statmeusis/pdf_en.htm','')		
	oCMenu.makeMenu('sub34','top3','Automatic Entrance Doors','doors_automations/5eisodou/english.html','','125','')
		oCMenu.makeMenu('sub341','sub34','Photo Gallery','doors_automations/5eisodou/pics_en.htm','')
		oCMenu.makeMenu('sub342','sub34','PDF Files','doors_automations/5eisodou/pdf_en.htm','')		
	oCMenu.makeMenu('sub35','top3','Antitheft Supermarket gates','doors_automations/6kagkela/english.html','','125')
		oCMenu.makeMenu('sub351','sub35','Photo Gallery','doors_automations/6kagkela/pics_en.htm','')
		oCMenu.makeMenu('sub352','sub35','PDF Files','doors_automations/6kagkela/pdf_en.htm','')		
	oCMenu.makeMenu('sub36','top3','Electronic Card Locks','doors_automations/7kleidaries/english.html','','125')
		oCMenu.makeMenu('sub361','sub36','Photo Gallery','doors_automations/7kleidaries/pics_en.htm','')
		oCMenu.makeMenu('sub362','sub36','PDF Files','doors_automations/7kleidaries/pdf_en.htm','')		
	oCMenu.makeMenu('sub37','top3','Sliding Wardrobe Doors','doors_automations/8ntoulapes/english.html','','125')
		oCMenu.makeMenu('sub371','sub37','Photo Gallery','doors_automations/8ntoulapes/pics_en.htm','')
		oCMenu.makeMenu('sub372','sub37','PDF Files','doors_automations/8ntoulapes/pdf_en.htm','')		


oCMenu.makeMenu('top5','','&nbsp;Contact Us','contact.htm','','75')



//Leave this line - it constructs the menu
oCMenu.construct()		



