/*** 
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

//Menu properties   
oCMenu.pxBetween=50
//Using the cm_page object to place the menu ----
  //There are some differences between the browsers that I try to fix here.
oCMenu.fromLeft=!bw.ns4?cmpage.x2 /2-470:cmpage.x2 /2-470
//We also need to "replace" the menu on resize. So:
oCMenu.onresize="oCMenu.fromLeft=cmpage.x2 /2-470"


oCMenu.fromTop=240   
oCMenu.rows=0
oCMenu.menuPlacement=0
                                                             
oCMenu.offlineRoot="/woningtaxateur.com/taxatie/" 
oCMenu.onlineRoot="/taxatie/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="menu"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
oCMenu.barY="menu"
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=135
oCMenu.level[0].height=25 
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="right"


//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+20
oCMenu.level[1].height=25
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+20
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=150
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','http://taxatie.woningtaxateur.com','_top')
  
	
oCMenu.makeMenu('top1','','&nbsp;Tarieven','http://www.woningtaxateur.com/taxatie/tarieven.html','_top')
	
	
oCMenu.makeMenu('top2','','&nbsp;Aanvraag','http://www.woningtaxateur.com/taxatie/aanvraag.html','_top')
	
oCMenu.makeMenu('top3','','&nbsp;Hypotheken','http://hypotheek.woningtaxateur.com','_top')
        oCMenu.makeMenu('sub30','top3','Hypotheek aanvraag','http://www.woningtaxateur.com/hypotheek/hypotheekaanvraag.html','_top')
	oCMenu.makeMenu('sub31','top3','Maatwerk hypotheek','http://www.woningtaxateur.com/hypotheek/maatwerk-hypotheek.html','_top')

oCMenu.makeMenu('top4','','&nbsp;Nieuws','')
	oCMenu.makeMenu('sub40','top4','Taxatie nieuws','http://www.woningtaxateur.com/taxatie/nieuws.html','_top')
	oCMenu.makeMenu('sub41','top4','Hypotheek nieuws','http://www.woningtaxateur.com/hypotheek/nieuws.html','_top')

oCMenu.makeMenu('top5','','&nbsp;Aankoopbegeleiding','http://www.woningtaxateur.com/taxatie/aankoopbegeleiding.html','_top')

oCMenu.makeMenu('top6','','&nbsp;Informatie','')
	oCMenu.makeMenu('sub60','top6','Garanties WTN taxaties','http://www.woningtaxateur.com/taxatie/garanties.html','_top')
	oCMenu.makeMenu('sub61','top6','NHG garantie en taxatie','http://www.woningtaxateur.com/taxatie/nhg.html','_top')
	oCMenu.makeMenu('sub62','top6','Certificering','http://www.woningtaxateur.com/taxatie/certificering.html','_top')
		oCMenu.makeMenu('sub620','sub62','SCVM register','http://www.woningtaxateur.com/taxatie/scvm.html','_top')
		oCMenu.makeMenu('sub621','sub62','RVT register','http://www.woningtaxateur.com/taxatie/rvt.html','_top')
	oCMenu.makeMenu('sub63','top6','FAQ','http://www.woningtaxateur.com/taxatie/faq.html','_top')
	oCMenu.makeMenu('sub64','top6','Woningwaarde','http://www.woningtaxateur.com/taxatie/woningwaarde.html','_top')
	oCMenu.makeMenu('sub65','top6','Disclaimer','http://www.woningtaxateur.com/taxatie/disclaimer.html','_top')
	oCMenu.makeMenu('sub66','top6','Privacy statement','http://www.woningtaxateur.com/taxatie/privacy.html','_top')
	oCMenu.makeMenu('sub67','top6','Colofon','http://www.woningtaxateur.com/taxatie/colofon.html','_top')

oCMenu.makeMenu('top7','','&nbsp;Contact','')
	oCMenu.makeMenu('sub70','top7','Adressen','http://www.woningtaxateur.com/taxatie/adressen.html','_top')
	oCMenu.makeMenu('sub71','top7','Contact','mailto:info@woningtaxateur.com')
	oCMenu.makeMenu('sub72','top7','Aanmelden taxateurs','http://www.woningtaxateur.com/taxatie/logintax.html','_top')
	oCMenu.makeMenu('sub73','top7','Login tussenpersonen','http://www.woningtaxateur.com/taxatie/logintp.html','_top')


//Leave this line - it constructs the menu
		

oCMenu.construct()
		
