var nlvsmenu=new Array()
nlvsmenu[0]='<a href="../nlvs/index.php?file=nlvsmain" class="menu">Helping People Get to Work</a><br>'
nlvsmenu[1]='<a href="../nlvs/index.php?file=nlvsmain#helphow" class="menu">How Can We Get Help?</a><br>'
nlvsmenu[2]='<a href="../nlvs/index.php?file=nlvsmain#start" class="menu">Where Do You Start?</a><br>'
nlvsmenu[3]='<a href="../nlvs/index.php?file=accomplishments&section=1" class="menu">Our Accomplishments</a><br>'
nlvsmenu[4]='<a href="../nlvs/index.php?file=nlvsabout" class="menu">About Us</a><br>'
nlvsmenu[5]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../nlvs/index.php?file=nlvsabout#past" class="menu">Our Past</a><br>'
nlvsmenu[6]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../nlvs/index.php?file=nlvsabout#today" class="menu">Northern Lights Today</a><br>'
nlvsmenu[7]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../nlvs/index.php?file=nlvsabout#experience" class="menu">Experience with Participants</a><br>'
nlvsmenu[8]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../nlvs/index.php?file=nlvsabout#jobs" class="menu">Jobs at Northern Lights</a><br>'

var teamenu=new Array()
teamenu[0]='<a href="../tea/index.php?file=teamain" class="menu">Looking For Work? Start Here</a><br>'
teamenu[1]='<a href="../tea/index.php?file=teamain" class="menu">How Can We Help?</a><br>'
teamenu[2]='<a href="../tea/index.php?file=teamain#90min" class="menu">90 Minute Workshop</a><br>'
teamenu[3]='<a href="../tea/index.php?file=teamain#personal" class="menu">Personalized Individual Appointment</a><br>'
teamenu[4]='<a href="../tea/index.php?file=teamain#progserv" class="menu">Employment Programs and Services</a><br>'
teamenu[5]='<a href="../tea/index.php?file=accomplishments&section=2" class="menu">Our Accomplishments</a><br>'
teamenu[6]='<a href="../tea/index.php?file=reserveaseat" class="menu">Ready to Get Started</a><br>'
teamenu[7]='<a href="../tea/index.php?file=reserveaseat" class="menu">Reserve A Seat</a><br>'
teamenu[8]='<a href="../tea/index.php?file=testimonial&section=2" class="menu">Testimonials</a><br>'
teamenu[9]='<a href="../tea/index.php?file=empadvisors" class="menu">Our Employment Advisors</a><br>'
teamenu[10]='<a href="../tea/index.php?file=teacontact" class="menu">Contact Us</a><br>'
teamenu[11]='<a href="../tea/index.php?file=link&section=2" class="menu">Links</a><br>'
teamenu[12]='<a href="../tea/index.php?file=teareferralform" class="menu">Agency Referral Form</a><br>'

var wlfwmenu=new Array()
wlfwmenu[0]='<a href="../wlfw/index.php?file=wlfwmain" class="menu">Get Started</a><br>'
wlfwmenu[2]='<a href="../wlfw/index.php?file=wlfwmain#whohelp" class="menu">Who Can We Help?</a><br>'
wlfwmenu[3]='<a href="../wlfw/index.php?file=wlfwmain#personal" class="menu">Personal Appointment</a><br>'
wlfwmenu[4]='<a href="../wlfw/index.php?file=workshops" class="menu">Workshops</a><br>'
wlfwmenu[5]='<a href="../wlfw/index.php?file=workshopcalendar&section=3" class="menu">Workshop Calendar</a><br>'
wlfwmenu[6]='<a href="../wlfw/index.php?file=testimonial&section=3" class="menu">Testimonials</a><br>'
wlfwmenu[7]='<a href="../wlfw/index.php?file=wlfwcontact" class="menu">Contact Us</a><br>'
wlfwmenu[8]='<a href="../wlfw/index.php?file=link&section=3" class="menu">Links</a><br>'
wlfwmenu[9]='<a href="../wlfw/index.php?file=wlfwreferralform" class="menu">Agency Referral Form</a><br>'

var jswmenu=new Array()
jswmenu[0]='<a href="../jsw/index.php?file=jswmain" class="menu">Get Started</a><br>'
jswmenu[1]='<a href="../jsw/index.php?file=jswworkshopsdesc" class="menu">Workshops</a><br>'
jswmenu[2]='<a href="../jsw/index.php?file=workshopcalendar&section=4" class="menu">Workshop Calendar</a><br>'
jswmenu[3]='<a href="../jsw/index.php?file=testimonial&section=4" class="menu">Testimonials</a><br>'
jswmenu[4]='<a href="../jsw/index.php?file=faq&section=4" class="menu">FAQs</a><br>'
jswmenu[5]='<a href="../jsw/index.php?file=jswcontact" class="menu">Contact Us</a><br>'
jswmenu[6]='<a href="../jsw/index.php?file=link&section=4" class="menu">Links</a><br>'
jswmenu[7]='<a href="../jsw/index.php?file=jswreferralform" class="menu">Agency Referral Form</a><br>'

var progandservmenu=new Array()
progandservmenu[0]='<a href="../tea/index.php?file=jobsearch" class="menu">Job Search Strategies</a><br>'
progandservmenu[1]='<a href="../tea/index.php?file=skillstraining" class="menu">Skills Training</a><br>'
progandservmenu[2]='<a href="../tea/index.php?file=resume" class="menu">Resume Writing</a><br>'
progandservmenu[3]='<a href="../tea/index.php?file=interview" class="menu">Interviewing Skills</a><br>'
progandservmenu[4]='<a href="../tea/index.php?file=careerplanning" class="menu">Career Planning</a><br>'
progandservmenu[5]='<a href="../tea/index.php?file=ownbiz" class="menu">Starting Your Own Business</a><br>'
progandservmenu[6]='<a href="../tea/index.php?file=youth" class="menu">Employment Services For Youth</a><br>'
progandservmenu[7]='<a href="../tea/index.php?file=disabilities" class="menu">Services for Persons with Disabilities</a><br>'
progandservmenu[8]='<a href="../tea/index.php?file=newcomers" class="menu">Newcomers to Canada</a><br>'
progandservmenu[9]='<a href="../tea/index.php?file=jobcreation" class="menu">Job Creation Partnership</a><br>'
progandservmenu[10]='<a href="../tea/index.php?file=targeted" class="menu">Targeted Wage Subsidies</a><br>'

var testimonialmenu=new Array()
testimonialmenu[0]='<a href="../tea/index.php?file=testimonial&section=2" class="menu">The Employment Advantage</a><br>'
testimonialmenu[1]='<a href="../wlfw/index.php?file=testimonial&section=3" class="menu">Work Links for Women</a><br>'

var faqmenu=new Array()
faqmenu[0]='<a href="../tea/index.php?file=faq&section=2" class="menu">The Employment Advantage</a><br>'
faqmenu[1]='<a href="../tea/index.php?file=faq&section=2#faqform" class="menu">Ask A Question</a><br>'
faqmenu[2]='<a href="../wlfw/index.php?file=faq&section=3" class="menu">Work Links For Women</a><br>'
faqmenu[3]='<a href="../wlfw/index.php?file=faq&section=3#faqform" class="menu">Ask A Question</a><br>'

var contactmenu=new Array()
contactmenu[0]='<a href="../tea/index.php?file=teacontact" class="menu">The Employment Advantage</a><br>'
contactmenu[1]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:durhaminfo@northernlightsosh.com" class="menu">Email Us</a><br>'
contactmenu[2]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../tea/index.php?file=teacontact#contact" class="menu">Request Information</a><br>'
contactmenu[3]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../tea/index.php?file=faq&section=2#faqform" class="menu">Ask A Question</a><br>'
contactmenu[4]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../tea/index.php?file=teareferralform" class="menu">Agency Referral Form</a><br>'
contactmenu[5]='<a href="../wlfw/index.php?file=wlfwcontact" class="menu">Work Links For Women</a><br>'
contactmenu[6]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:northernlights2@bellnet.ca" class="menu">Email Us</a><br>'
contactmenu[7]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../wlfw/index.php?file=wlfwcontact#contact" class="menu">Request Information</a><br>'
contactmenu[8]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../wlfw/index.php?file=faq&section=3#faqform" class="menu">Ask A Question</a><br>'
contactmenu[9]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../wlfw/index.php?file=wlfwreferralform" class="menu">Agency Referral Form</a><br>'

var outreachmenu=new Array()
outreachmenu[0]='<a href="../tea/index.php?file=outreachservices" class="menu">We Can Come To You</a><br>'

var privmenu=new Array()
privmenu[0]='<a href="../nlvs/index.php?file=privacystatement" class="menu">Privacy Statement</a><br>'
privmenu[1]='<a href="../nlvs/index.php?file=personalinfo" class="menu">Personal Information</a><br>'

var pdfmenu=new Array()
pdfmenu[0]='<a href="../tea/index.php" class="menu">The Employment Advantage</a><br>'
pdfmenu[1]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/tea_brochure.pdf" target=_blank class="menu">Brochure</a><br>'
pdfmenu[2]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/tea_poster.pdf" target=_blank class="menu">Poster</a><br>'
pdfmenu[3]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/tea_bookmark.pdf" target=_blank class="menu">Bookmark</a><br>'
pdfmenu[4]='<a href="../wlfw/index.php" class="menu">Work links For Women</a><br>'
pdfmenu[5]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/wlfw_brochure.pdf" target=_blank class="menu">Brochure</a><br>'
pdfmenu[6]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/wlfw_poster.pdf" target=_blank class="menu">Poster</a><br>'
pdfmenu[7]='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../pdfs/wlfw_bookmark.pdf" target=_blank class="menu">Bookmark</a><br>'
pdfmenu[8]='<a href="http://www.adobe.com/products/acrobat/readstep2.html" class="menu">Adobe PDF Viewer Download</a><br>'

var videomenu=new Array()
videomenu[0]='<a href="javascript:VideoWindow2(\'../content/english/teavideo.php\')" class="menu">The Employment Advantage</a><br>'
videomenu[1]='<a href="javascript:VideoWindow(\'../content/english/commercialvideo.php\')" class="menu">The Employment Advantage - commercial</a><br>'
videomenu[2]='<a href="javascript:VideoWindow(\'../content/english/wlfwvideo.php\')" class="menu">Work Links For Women</a><br>'
videomenu[3]='<a href="javascript:VideoWindow(\'../content/english/90minvideo.php\')" class="menu">90-minute information workshop</a><br>'
videomenu[4]='<a href="" class="menu">One-on-one personal appointment</a><br>'
videomenu[5]='<a href="javascript:VideoWindow(\'../content/english/testimonialvideo.php\')" class="menu">Testimonials</a><br>'
videomenu[6]='<a href="javascript:VideoWindow(\'../content/english/3dayjobclubvideo.php\')" class="menu">Three-Day Job Club </a><br>'
videomenu[7]='<a href="javascript:VideoWindow(\'../content/english/metagovideo.php\')" class="menu">Job Finding Club, Oshawa</a><br>'
videomenu[8]='<a href="javascript:VideoWindow(\'../content/english/jobs2000video.php\')" class="menu">Job Finding Club, Pickering</a><br>'
videomenu[9]='<a href="../tea/index.php?file=careerplanning" class="menu">Career Planning</a><br>'
videomenu[10]='&nbsp;&nbsp;<a href="javascript:VideoWindow(\'../content/english/counsellingvideo.php\')" class="menu">One-on-one counselling and Job Developer assistance</a><br>'
videomenu[11]='&nbsp;&nbsp;<a href="javascript:VideoWindow(\'../content/english/careerdirectionvideo.php\')" class="menu">Career Exploration Employment Preparation (CEEP)</a><br>'
videomenu[12]='<a href="javascript:VideoWindow(\'../content/english/selfempvideo.php\')" class="menu">Self Employment Benefit (SEB) program</a><br>'
videomenu[13]='<a href="javascript:VideoWindow(\'../content/english/youthvideo.php\')" class="menu">Career Strategies for Youth</a><br>'
videomenu[14]='<a href="javascript:VideoWindow(\'../content/english/disabilitiesvideo.php\')" class="menu">Growth Opportunities (GO) program <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- for persons with disabilities</a><br>'
videomenu[15]='<a href="javascript:VideoWindow(\'../content/english/targetedvideo.php\')" class="menu">Targeted Wage Subsidy program</a><br>'

var menuwidth='10px' //default menu width
var menubgcolor='000098'  //menu bgcolor

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

document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="delayhidemenu()"></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=-500
   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 windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
      dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
      if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
         edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
   }
   return edgeoffset
}

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
   dropmenuobj.innerHTML=menucontents.join("")

   if (ie4||ns6)
   {
      showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
      dropmenuobj.x=getposOffset(obj, "left")+184
      dropmenuobj.y=getposOffset(obj, "top") - 24
      dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
      dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+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 hidemenu(e)
{
   if (typeof dropmenuobj!="undefined")
   {
      if (ie4||ns6)
      dropmenuobj.style.visibility="hidden"
   }
}

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

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

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