
var menu1=new Array()
menu1[1]='<a href="associates-degree.php" class="header_menu">Associates Degree</a>'
menu1[2]='<a href="bachelors-degree.php" class="header_menu">Bachelors Degree</a>'
menu1[3]='<a href="masters-degree.php" class="header_menu">Masters Degree</a>'
menu1[4]='<a href="doctoral-degree.php" class="header_menu">Doctoral Degree</a>'
menu1[5]='<a href="mba-degree.php" class="header_menu">MBA Degree</a>'
menu1[6]='<a href="degree-completion.php" class="header_menu">Degree Completion</a>'
menu1[7]='<a href="certificate-programs.php" class="header_menu">Certificate Programs</a>'
menu1[8]='<a href="post-baccalaureate.php" class="header_menu">Post-Baccalaureate</a>'
menu1[9]='<a href="post-gradcourses.php" class="header_menu">Post-Grad Courses</a>'

var menu2=new Array()
menu2[1]='<a href="organizing_incentive.php" class="header_menu">Organizing Incentive</a>'
menu2[2]='<a href="forming_a_union.php" class="header_menu">Forming a Union</a>'
menu2[3]='<a href="election_process.php" class="header_menu">The Election Process</a>'
/*menu2[4]='<a href="employer_tactics.php" class="header_menu">Employer Tactics</a>'*/
menu2[4]='<a href="faq.php" class="header_menu">FAQ</a>'



var menu3=new Array()
menu3[1]='<a href="union_goals.php" class="header_menu">Union Goals</a>'
menu3[2]='<a href="representation.php" class="header_menu">L152 Representation</a>'
/*menu3[3]='<a href="contrated_employers.php" class="header_menu">Local 152 Health Care Division</a>'*/
menu3[3]='<a href="contrated_employers.php" class="header_menu">Contracted Employers</a>'
menu3[4]='<a href="political_beat.php" class="header_menu">Political Beat</a>'
menu3[5]='<a href="ufcw_history.php" class="header_menu">UFCW History</a>'


var menu4=new Array()
menu4[1]='<a href="walmart_action.php" class="header_menu">L152 Walmart Action</a>'
menu4[2]='<a href="news_exparts.php" class="header_menu">L152 News & Excerpts</a>'




var menu5=new Array()
menu5[1]='<a href="job-search.php" class="header_menu">Job Search</a>'
menu5[2]='<a href="job-interviews.php" class="header_menu">Job Interviews</a>'
menu5[3]='<a href="job-offers.php" class="header_menu">Job Offers</a>'
menu5[4]='<a href="employment-resources.php" class="header_menu">Employment Resources</a>'

var menu6=new Array()
menu6[1]='<a href="guide-to-an-online-education.php" class="header_menu">Guide to Online Education</a>'
menu6[2]='<a href="find-colleges.php" class="header_menu">Find Colleges</a>'
menu6[3]='<a href="#" class="header_menu">Online vs. Traditional</a>'
menu6[4]='<a href="#" class="header_menu">Earn More Money</a>'
menu6[5]='<a href="prove-yourself.php" class="header_menu">Prove Yourself</a>'
menu6[6]='<a href="find-your-passion.php" class="header_menu">Find Your Passion</a>'


var menu7=new Array()
menu7[1]='<a href="online-ged.php" class="header_menu">Online GED</a>'


var menu8=new Array()
menu8[1]='<a href="school-loans.php" class="header_menu">School Loans</a>'
menu8[2]='<a href="fafsa.php" class="header_menu">FAFSA</a>'
menu8[3]='<a href="financial-aid.php" class="header_menu">Financial Aid</a>'
menu8[4]='<a href="grants-scholarships.php" class="header_menu">Grants &amp; Scholarships</a>'





var menuwidth='150px' //default menu width
var menuheight='' //default menu height

var menubgcolor=''  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden; width:'+menuwidth+';  height:'+menuheight+'; background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!="")
{
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest()
{
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge)
{
var edgeoffset=0
if (whichedge=="rightedge")
{
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth

}
else
{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what)
{
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth)
{
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6)
{
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)

dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
//alert(clearbrowseredge(obj, "bottomedge"));
dropmenuobj.style.top=dropmenuobj.y-0+obj.offsetHeight+"px"

}

return clickreturnvalue()
}

function clickreturnvalue()
{
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) 
{
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e)
{
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e)
{
if (typeof dropmenuobj!="undefined")
{
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu()
{
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu()
{
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu;


