/*** 
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 = 1

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=5 
oCMenu.fromTop=53   
oCMenu.rows=0
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot=".." 
oCMenu.onlineRoot=".." 
oCMenu.resizeCheck=1 
oCMenu.wait=333 
oCMenu.fillImg=""
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth=""
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=5 
oCMenu.barY=84
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=127
oCMenu.level[0].height=27 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
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=148
oCMenu.level[1].height=28
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=0
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-10
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"

oCMenu.makeMenu('top0','','<img src="../headers/m_home.gif" width=127 height=27 border=0 alt="Home" align=left hspace=0 vspace=0>','/index.htm','')
oCMenu.makeMenu('top1','','<img src="../headers/m_products.gif" width=127 height=27 border=0 alt="Products" align=left hspace=0 vspace=0>','/products.htm','')

  oCMenu.makeMenu('sub00','top1','<img src="../ahaview/menu.gif" width=147 height=27 border=0 alt="AhaView" hspace=0 vspace=0 align=left>', '/ahaview/index.htm')  
  oCMenu.makeMenu('sub01','top1','<img src="../anytoicon/menu.gif" width=147 height=27 border=0 alt="Any to Icon" hspace=0 vspace=0 align=left>', '/anytoicon/index.htm')  
  oCMenu.makeMenu('sub02','top1','<img src="../artcursors/menu.gif" width=147 height=27 border=0 alt="ArtCursors" hspace=0 vspace=0 align=left>', '/artcursors/index.htm')  
  oCMenu.makeMenu('sub03','top1','<img src="../articons/menu.gif" width=147 height=27 border=0 alt="ArtIcons" hspace=0 vspace=0 align=left>', '/articons/index.htm')
  oCMenu.makeMenu('sub04','top1','<img src="../iconlover/menu.gif" width=147 height=27 border=0 alt="IconLover" hspace=0 vspace=0 align=left>', '/iconlover/index.htm')  
  oCMenu.makeMenu('sub05','top1','<img src="../iconutils/menu.gif" width=147 height=27 border=0 alt="IconUtils" hspace=0 vspace=0 align=left>', '/iconutils/index.htm')  
  oCMenu.makeMenu('sub06','top1','<img src="../iconxp/menu.gif" width=147 height=27 border=0 alt="IconXP" hspace=0 vspace=0 align=left>', '/iconxp/index.htm')  

oCMenu.makeMenu('top2','','<img src="../headers/m_download.gif" width=127 height=27 border=0 align=left alt="Download" hspace=0 vspace=0>','/download.htm','')
oCMenu.makeMenu('top3','','<img src="../headers/m_order.gif" width=127 height=27 border=0 align=left alt="Order" hspace=0 vspace=0>','/reg.htm','')
oCMenu.makeMenu('top4','','<img src="../headers/m_free.gif" width=127 height=27 border=0 align=left alt="Ready Icons" hspace=0 vspace=0>','/iconlibs.htm','')
oCMenu.makeMenu('top5','','<img src="../headers/m_design.gif" width=127 height=27 border=0 align=left alt="Icon Design" hspace=0 vspace=0>','/icon-design.htm','')
oCMenu.makeMenu('top6','','<img src="../headers/m_support.gif" width=127 height=27 border=0 align=left alt="Support" hspace=0 vspace=0>','/support.htm','')
//oCMenu.makeMenu('top5','','<img src="../headers/m_contact.gif" width=127 height=27 border=0 align=left alt="Contact" hspace=0 vspace=0>','/support.htm','')
//Leave this line - it constructs the menu
oCMenu.construct()      


