/*
NOTES, 4/28/02 BY JG...
NETSCAPE PROBLEM LOADING MENUS: MAKE SURE THE CODE FOR THE MENUS (EITHER THE .JS SRC OR THE ACTUAL CODE)
IS PLACED AT THE BOTTOM OF THE PAGE.  IF THERE IS ANYTHING BENEATH IT, IT WILL LOAD AND THEN DISAPPEAR.  PUT
IT OUTSIDE ALL PLACEMENT ELEMENTS (DIVS, TABLES, ETC.) AND IT WILL WORK FINE.

THIS WASN'T A PROBLEM IN IE.
*/

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname
    
    //Menu properties   
    oCMenu.pxBetween=5
    oCMenu.fromLeft=10   //px from left side of window (jg)
    oCMenu.fromTop=10  //placement from top of page (jg)  
    oCMenu.rows=1       //if "0", then stacks vertically; otherwise, puts in a row (jg)
    oCMenu.menuPlacement="left" // placement on page of menu, left or right (jg)
                                                                 
    oCMenu.offlineRoot="file:///C|/websites/caughtweb" 
    oCMenu.onlineRoot=""    // leave at "" if you're using your own domain, not a subdirectory of a domain (jg)
    oCMenu.resizeCheck=1
    oCMenu.wait=1000 
    oCMenu.fillImg="images/spacer.gif"
    oCMenu.zIndex=1
    
    //Background bar properties
    oCMenu.useBar=0             // if "1", a colored bar will be put in between each choice; if "0", it will be transparent between. (jg)
    oCMenu.barWidth="menu"
    oCMenu.barHeight="menu" 
    oCMenu.barClass="clBar"     // class properties of background bar (set above) (jg)
    oCMenu.barX="menu"
    oCMenu.barY="menu"
    oCMenu.barBorderX=1         // width of bar left/right (jg)
    oCMenu.barBorderY=1         // width of bar top/bottom (jg)
    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       // width of choices  (jg)
    oCMenu.level[0].height=20       // height of choices (jg)
    oCMenu.level[0].regClass="clLevel0"
    oCMenu.level[0].overClass="clLevel0over"
    oCMenu.level[0].borderX=1       // border, right & left of choices (jg)
    oCMenu.level[0].borderY=1       // border, top & bottom of choices (jg)
    oCMenu.level[0].borderClass="clLevel0border"
    oCMenu.level[0].offsetX=-1       // ***** (if your sub1 popouts aren't working right, look at this one) offset of submenu popouts, right (jg)
    oCMenu.level[0].offsetY=0       // offset of submenu popouts, up or down  (jg)   
    oCMenu.level[0].rows=0          // makes submenu popout choices "rows" rather than "stacked" vertically if set to > 0 (jg)
    oCMenu.level[0].arrow=0         // ? (jg)
    oCMenu.level[0].arrowWidth=0    // ? (jg)
    oCMenu.level[0].arrowHeight=0   // ? (jg)
    oCMenu.level[0].align="bottom" // alignment, left or right, top or bottom (of menu) of popouts (jg)
    
    
    //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=oCMenu.level[0].height  // height of submenu level 1 (jg)
    oCMenu.level[1].regClass="clLevel1"
    oCMenu.level[1].overClass="clLevel1over"
    oCMenu.level[1].borderX=1       // border left/right of submenu level 1 (jg)
    oCMenu.level[1].borderY=1       // border top/bottom of submenu level 1 (jg)
    oCMenu.level[1].align="left"   // alignment, left or right (of menu) of popouts (submenu level 1) (jg)
    oCMenu.level[1].offsetX=0
    oCMenu.level[1].offsetY=0       // alignment (vertical) of submenu level 2 in respect to this level (1) (jg)
    oCMenu.level[1].borderClass="clLevel1border"
    oCMenu.level[1].align="bottom"  // alignment (horizontal) of submenu level 2 in respect to this level (1) (jg)
    
    
    //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] - 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=oCMenu.level[0].width+40  // width of second level items (+40 lengthens) (jg)
    oCMenu.level[2].height=18       // height of submenu level 1 (jg)
    oCMenu.level[2].regClass="clLevel2"
    oCMenu.level[2].overClass="clLevel2over"
    oCMenu.level[2].borderX=1       // border left/right of submenu level 1 (jg)
    oCMenu.level[2].borderY=1       // border top/bottom of submenu level 1 (jg)
    oCMenu.level[2].align="left"   // alignment, left or right (of menu) of popouts (submenu level 1) (jg)
    oCMenu.level[2].offsetX=-(oCMenu.level[1].width-2)/2+20
    oCMenu.level[2].offsetY=0       // alignment (vertical) of submenu level 2 in respect to this level (1) (jg)
    oCMenu.level[2].borderClass="clLevel2border"
    oCMenu.level[2].align="bottom"  // alignment (horizontal) of submenu level 2 in respect to this level (1) (jg)
    
//myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 

// BEGIN NAV ITEMS HERE

    oCMenu.makeMenu('top0','','Essentials','','','','','','','','','bottom')
    	oCMenu.makeMenu('sub00','top0','Questions/Comments','/contact.html','','135','20')
		oCMenu.makeMenu('sub01','top0','Contact Info','/contact.html#other_options','','','20')
        oCMenu.makeMenu('sub02','top0','Web Tools','/webtools.html','','','20')
		//oCMenu.makeMenu('sub02','top0','Hosting Request','/hostform.html','','','18')
    		//oCMenu.makeMenu('sub001','sub00','- New DHTML API released','','',160,0)
    		//oCMenu.makeMenu('sub002','sub00','- Explorer 7 is out','','',160,0)
    		//oCMenu.makeMenu('sub003','sub00','- Opera 6 supports innerHTML','','',160,0)
    	//oCMenu.makeMenu('sub01','top0','News archive','/news/archive.asp')
    	
    oCMenu.makeMenu('top1','','Website Hosting','/hosting.html','','','')
        oCMenu.makeMenu('sub10','top1','Our Hosting Plans','/hosting.html','','','20')
        oCMenu.makeMenu('sub11','top1','Email Us for More Info','/contact.html','','','20')
		oCMenu.makeMenu('sub12','top1','Hosting Support','/support/hosting.html','','','20')
    
   oCMenu.makeMenu('top2','','Web Design','/design.html','','','')
        oCMenu.makeMenu('sub20','top2','New Sites','/design.html','','','20')
        oCMenu.makeMenu('sub21','top2','Site Redesigns','/design.html','','','20')
        oCMenu.makeMenu('sub22','top2','Recent Projects','/projects.html','','','20')
    	oCMenu.makeMenu('sub23','top2','Request a Quote','/contact.html','','','20')
		
    oCMenu.makeMenu('top3','','Maintenance','/maintenance.html','','','')
    	oCMenu.makeMenu('sub30','top3','Site Updates','/maintenance.html','','','20')
    	oCMenu.makeMenu('sub31','top3','Request a Quote','/contact.html','','','20')
    		//oCMenu.makeMenu('sub410','sub41','Download the source code to this menu','/coolmenus/download.asp','',150,40)
    
    //oCMenu.makeMenu('top4','','&nbsp;Control Panel Demo','/support/control_panel_demo.html')
    	//oCMenu.makeMenu('sub050','top5','Text here','sub1/test1.html')
    		//oCMenu.makeMenu('sub0500','sub050','sub1/subsub1/test1.html','sub1/subsub1/test1.html')
    		//oCMenu.makeMenu('sub0501','sub050','sub1/subsub1/test2.html','sub1/subsub1/test2.html')
    		//oCMenu.makeMenu('sub0502','sub050','sub1/subsub1/test3.html','sub1/subsub1/test3.html')
    	
     //oCMenu.makeMenu('top5','','&nbsp;Request Info','/aboutus/request_info.html')
    	//oCMenu.makeMenu('sub060','top6','sub1/test1.html','sub1/test1.html')
        
     //Leave this line
    oCMenu.construct()