
/*** 
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
sharfwin=new makeCM("sharfwin") //Making the menu object. Argument: menuname

sharfwin.frames = 1

//Menu properties   
sharfwin.pxBetween=5
sharfwin.fromLeft=435
sharfwin.fromTop=26   
sharfwin.rows=1 
sharfwin.menuPlacement="left"
                                                             
sharfwin.offlineRoot="file:///C:/Documents%20and%20Settings/Susan%20Sharf/My%20Documents/Internet%20Creation/Sharf%20campaign/live/" 
sharfwin.onlineRoot="http://www.sharfcolorado.com/"
sharfwin.resizeCheck=1 
sharfwin.wait=1000 
sharfwin.fillImg="cm_fill.gif"
sharfwin.zIndex=0

//Background bar properties
sharfwin.useBar=0
sharfwin.barWidth="100%"
sharfwin.barHeight="menu" 
sharfwin.barClass="clBar"
sharfwin.barX=0 
sharfwin.barY=0
sharfwin.barBorderX=0
sharfwin.barBorderY=0
sharfwin.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
sharfwin.level[0]=new cm_makeLevel() //Add this for each new level
sharfwin.level[0].width=100
sharfwin.level[0].height=35
sharfwin.level[0].regClass="clLevel0"
sharfwin.level[0].overClass="clLevel0over"
sharfwin.level[0].borderX=1
sharfwin.level[0].borderY=1
sharfwin.level[0].borderClass="clLevel0border"
sharfwin.level[0].offsetX=0
sharfwin.level[0].offsetY=0
sharfwin.level[0].rows=0
sharfwin.level[0].arrow=0
sharfwin.level[0].arrowWidth=0
sharfwin.level[0].arrowHeight=0
sharfwin.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
sharfwin.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
sharfwin.level[1].width=sharfwin.level[0].width-2
sharfwin.level[1].height=20
sharfwin.level[1].regClass="clLevel1"
sharfwin.level[1].overClass="clLevel1over"
sharfwin.level[1].borderX=1
sharfwin.level[1].borderY=1
sharfwin.level[1].align="center" 
sharfwin.level[1].offsetX=-(sharfwin.level[0].width-2)/2+65
sharfwin.level[1].offsetY=0
sharfwin.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
sharfwin.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
sharfwin.level[2].width=120
sharfwin.level[2].height=20
sharfwin.level[2].offsetX=0
sharfwin.level[2].offsetY=0
sharfwin.level[2].regClass="clLevel2"
sharfwin.level[2].overClass="clLevel2over"
sharfwin.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) 
*************************************/
sharfwin.makeMenu('top0','','  CALENDAR','calendar.html','')
sharfwin.makeMenu('sub00','top0','APPEARANCES','appearances.html','','','')
sharfwin.makeMenu('sub01','top0','FUNDRAISERS','fundraisers.html','','','')
sharfwin.makeMenu('sub02','top0','WALK WITH JOSHUA','walk.html','','','30')

sharfwin.makeMenu('top1','','  ABOUT JOSHUA','aboutjoshua.html','','','35')

	
sharfwin.makeMenu('top2','','  PLATFORM','platform.html','','112','')





sharfwin.makeMenu('top3','','  PRESS AND MEDIA ROOM','pressroom.html','')
sharfwin.makeMenu('sub30','top3','LINKS & RESOURCES','links_resources.html','','115','30')
sharfwin.makeMenu('sub31','top3','PRESS RELEASES & E-NEWSLETTERS','pressreleases.html','','115','30')
sharfwin.makeMenu('sub33','top3','BLOG','http://www.jsharf.com/view/','_blank','115','')
sharfwin.makeMenu('sub34','top3','YOUTUBE','http://www.youtube.com/jsharf','_blank','115','')
sharfwin.makeMenu('sub36','top3','FOR MEMBERS OF THE PRESS','mop.html','','115','30')
sharfwin.makeMenu('sub37','top3','CONTACT US','contactus.html','','115','')



sharfwin.makeMenu('top4','','  SUPPORT','donate.html','')
sharfwin.makeMenu('sub400','top4','VOLUNTEER','volunteerForm.php','','','')
sharfwin.makeMenu('sub410','top4','FREE STUFF','freestuff.html','','','')
sharfwin.makeMenu('sub420','top4','DOWNLOADS','downloads.html','','','')
sharfwin.makeMenu('sub430','top4','LINKBACKS','links.html','','','')
sharfwin.makeMenu('sub440','top4','SUBSCRIBE','subscribe.html','','','')
sharfwin.makeMenu('sub450','top4','HOST A FUNDRAISER','host.html','','','30')
sharfwin.makeMenu('sub460','top4','WALK WITH JOSHUA','walk.html','','','30')
sharfwin.makeMenu('sub470','top4','REGISTER TO VOTE','http://www.elections.colorado.gov/','_blank','','30')
sharfwin.makeMenu('sub480','top4','FACEBOOK','http://www.facebook.com/group.php?gid=28433967512','_blank','','')
sharfwin.makeMenu('sub490','top4','CONTACT US','contactus.html','','100','')


//Leave this line - it constructs the menu
sharfwin.construct()		

