
_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=100              // Sub menu top offset
_subOffsetLeft=100            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(menuStyle=new mm_style()){
onbgcolor="#224270";
oncolor="#ffffff";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#2D729D";
separatorsize="1";
padding=7;
fontsize="11x";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="#224270";
pagebgcolor="#ffffff" //"#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}
with(submenuStyle=new mm_style()){
onbgcolor="#000084"; //"#EBB078"; //"#317FCA"; //sub menu highlighting
oncolor="#ffffff"; //sub menu text color
offbgcolor="#FFFF9C"//"#224270"; //sub menu background color
offcolor="#000000" //"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=1;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(submenuStyleImmediateSanctions=new mm_style()){
onbgcolor="#000084"; //"#EBB078"; //"#317FCA"; //sub menu highlighting
oncolor="#ffffff"; //sub menu text color
offbgcolor="#FFCF9C"//"#224270"; //sub menu background color
offcolor="#000000" //"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=1;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(submenuStyleIntervention_Intermediate=new mm_style()){
onbgcolor="#000084";//"#F5999D"; //sub menu highlighting
oncolor="#ffffff"; //sub menu text color
offbgcolor="#E7BABD" //"#FFBABD"//"#224270"; //sub menu background color
offcolor="#003366" //"#000000" //"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=2;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(submenuStyleResidential=new mm_style()){
onbgcolor="#000084"// "#B1B3ED"; //sub menu highlighting
oncolor="#ffffff" //"#000000"; //sub menu text color
offbgcolor="#CECFF7"//"#224270"; //sub menu background color
offcolor="#003366"//"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=2;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(submenuStyleReentry=new mm_style()){
onbgcolor="#000084"; //sub menu highlighting
oncolor="#ffffff"; //sub menu text color
offbgcolor="#ADC394"//"#224270"; //sub menu background color
offcolor="#000000" //"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=2;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(submenuStyleSearch=new mm_style()){
onbgcolor="#000084"; //sub menu highlighting
oncolor="#ffffff"; //sub menu text color
offbgcolor="#568FC9"//"#224270"; //sub menu background color
offcolor="#ffffff" //"#ffffff"; //sub menu text color
bordercolor="#224270";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="1";
padding=2;
fontsize="11px";
fontfamily="Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#224270";
headercolor="#ffffff";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="5";
}

with(milonic=new menuname("Prevention")){
style=submenuStyle;
overflow="scroll";
aI("text=&nbsp;Academic Skills Enhancement;url=program_types_description.aspx?program_type=Academic%20Skills%20Enhancement&continuum=prevention");
aI("text=&nbsp;Afterschool/Recreation;url=program_types_description.aspx?program_type=Afterschool/Recreation&continuum=prevention");
aI("text=&nbsp;Alternative School;url=program_types_description.aspx?program_type=Alternative%20Schools%20&continuum=prevention");
aI("text=&nbsp;Classroom Curricula;url=program_types_description.aspx?program_type=Classroom%20Curricula&continuum=prevention");
aI("text=&nbsp;Cognitive Behavioral Treatment;url=program_types_description.aspx?program_type=Cognitive%20Behavioral%20Treatment&continuum=prevention");
aI("text=&nbsp;Community and Problem Oriented Policing;url=program_types_description.aspx?program_type=Community%20and%20Problem-Oriented%20Policing&continuum=prevention");
aI("text=&nbsp;Community Awareness/Mobilization;url=program_types_description.aspx?program_type=Community%20Awareness%20/%20Mobilization&continuum=prevention");
aI("text=&nbsp;Drug, Alcohol Therapy/Education;url=program_types_description.aspx?program_type=Alcohol%20and%20Drug%20Therapy%20/%20Education&continuum=immediate");
aI("text=&nbsp;Family Therapy;url=program_types_description.aspx?program_type=Family%20Therapy&continuum=prevention");
aI("text=&nbsp;Gang Prevention;url=program_types_description.aspx?program_type=Gang%20Prevention&continuum=prevention");
aI("text=&nbsp;Leadership and Youth Development;url=program_types_description.aspx?program_type=Leadership%20and%20Youth%20Development&continuum=prevention");
aI("text=&nbsp;Mentoring;url=program_types_description.aspx?program_type=Mentoring&continuum=prevention");
aI("text=&nbsp;Parent Training;url=program_types_description.aspx?program_type=Parent%20Training&continuum=prevention");
aI("text=&nbsp;School/Classroom Environment;url=program_types_description.aspx?program_type=School/Classroom%20Environment&continuum=prevention");
aI("text=&nbsp;Truancy Prevention;url=program_types_description.aspx?program_type=Truancy%20Prevention&continuum=prevention");
aI("text=&nbsp;Vocational/Job Training;url=program_types_description.aspx?program_type=Vocational/Job%20Training&continuum=prevention");
aI("text=&nbsp;Wraparound/Case Management;url=program_types_description.aspx?program_type=Wraparound%20/%20Case%20Management&continuum=prevention")
}

with(milonic=new menuname("immediatesections")){
style=submenuStyleImmediateSanctions;
overflow="scroll";
aI("text=&nbsp;Afterschool/Recreation;url=program_types_description.aspx?program_type=Afterschool/Recreation&continuum=immediate");
aI("text=&nbsp;Cognitive Behavioral Treatment;url=program_types_description.aspx?program_type=Cognitive%20Behavioral%20Treatment&continuum=immediate");
aI("text=&nbsp;Conflict Resolution/Interpersonal Skills;url=program_types_description.aspx?program_type=Conflict%20Resolution%20/%20Interpersonal%20Skills&continuum=immediate");
aI("text=&nbsp;Drug, Alcohol Therapy/Education;url=program_types_description.aspx?program_type=Alcohol%20and%20Drug%20Therapy%20/%20Education&continuum=immediate");
aI("text=&nbsp;Family Therapy;url=program_types_description.aspx?program_type=Family%20Therapy&continuum=immediate");
aI("text=&nbsp;Parent Training;url=program_types_description.aspx?program_type=Parent%20Training&continuum=immediate");
aI("text=&nbsp;Teen/Youth Court;url=program_types_description.aspx?program_type=Teen/Youth%20Court&continuum=immediate")
aI("text=&nbsp;Restorative Justice;url=program_types_description.aspx?program_type=Restorative%20Justice&continuum=immediate");
aI("text=&nbsp;Wraparound/Case Management;url=program_types_description.aspx?program_type=Wraparound%20/%20Case%20Management&continuum=immediate")
}

with(milonic=new menuname("intervention_intermediate")){
style=submenuStyleIntervention_Intermediate;
overflow="scroll";
aI("text=&nbsp;Afterschool/Recreation;url=program_types_description.aspx?program_type=Afterschool/Recreation&continuum=intermediate");
aI("text=&nbsp;Cognitive Behavioral Treatment;url=program_types_description.aspx?program_type=Cognitive%20Behavioral%20Treatment&continuum=intermediate");
aI("text=&nbsp;Day Treatment;url=program_types_description.aspx?program_type=Day%20Treatment&continuum=intermediate");
aI("text=&nbsp;Drug Court;url=program_types_description.aspx?program_type=Drug%20Court&continuum=intermediate");
aI("text=&nbsp;Drug, Alcohol Therapy/Education;url=program_types_description.aspx?program_type=Alcohol%20and%20Drug%20Therapy%20/%20Education&continuum=intermediate");
aI("text=&nbsp;Family Therapy;url=program_types_description.aspx?program_type=Family%20Therapy&continuum=intermediate");
aI("text=&nbsp;Gun Court;url=program_types_description.aspx?program_type=Gun%20Court&continuum=intermediate");
aI("text=&nbsp;Home Confinement;url=program_types_description.aspx?program_type=Home%20Confinement%20w/wo%20EM&continuum=intermediate");
aI("text=&nbsp;Probation;url=program_types_description.aspx?program_type=Probation%20Services&continuum=intermediate");
aI("text=&nbsp;Restorative Justice;url=program_types_description.aspx?program_type=Restorative%20Justice&continuum=intermediate");
aI("text=&nbsp;Wraparound/Case Management;url=program_types_description.aspx?program_type=Wraparound%20/%20Case%20Management&continuum=intermediate");
}

with(milonic=new menuname("residential")){
style=submenuStyleResidential;
overflow="scroll";
aI("text=&nbsp;Cognitive Behavioral Treatment;url=program_types_description.aspx?program_type=Cognitive%20Behavioral%20Treatment&continuum=residential");
aI("text=&nbsp;Correctional Facilities;url=program_types_description.aspx?program_type=Correctional%20Facilities&continuum=residential");
aI("text=&nbsp;Day Treatment;url=program_types_description.aspx?program_type=Day%20Treatment&continuum=residential");
aI("text=&nbsp;Group Home;url=program_types_description.aspx?program_type=Group%20Home&continuum=residential");
aI("text=&nbsp;Residential Treatment Centers;url=program_types_description.aspx?program_type=Residential%20Treatment%20Centers&continuum=residential");
aI("text=&nbsp;Wilderness Camp;url=program_types_description.aspx?program_type=Wilderness%20Camp&continuum=residential");
}

with(milonic=new menuname("Reentry")){
style=submenuStyleReentry;
overflow="scroll";
aI("text=&nbsp;Aftercare;url=program_types_description.aspx?program_type=Aftercare&continuum=reentry");
aI("text=&nbsp;Cognitive Behavioral Treatment;url=program_types_description.aspx?program_type=Cognitive%20Behavioral%20Treatment&continuum=reentry");
aI("text=&nbsp;Day Treatment;url=program_types_description.aspx?program_type=Day%20Treatment&continuum=reentry");
aI("text=&nbsp;Reentry Court;url=program_types_description.aspx?program_type=Reentry%20Court&continuum=reentry");
aI("text=&nbsp;Vocational/Job Training;url=program_types_description.aspx?program_type=Vocational/Job%20Training&continuum=reentry");
}

with(milonic=new menuname("abc")){
style=submenuStyleSearch;
overflow="scroll";
aI("text=&nbsp;Search Entire Database;url=mpg_search.aspx");
aI("text=&nbsp;Search Using Risk & Protective Factors;url=mpg_search_options.aspx");
}
drawMenus();

