/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="http://www.templatecollective.com" target="_open">Template Collective</a>'
menu1[1]='<a href="http://www.tenstepstore.com/detail/1.1EPO.html">Electronic Project Office (EPO) Version 11</a>'
menu1[2]='<a href="http://www.tenstepstore.com/detail/1.2EmployeeManual.html">Employee Manual Template</a>'
menu1[3]='<a href="http://www.tenstepstore.com/detail/1.5HIPAATemplates.html">HIPAA Templates</a>'
menu1[4]='<a href="http://www.tenstepstore.com/detail/1.3HRTemplates.html">HR/People Management Templates</a>'
menu1[5]='<a href="http://www.tenstepstore.com/detail/1.4MarchLtdTemplates.html">Project Management Templates</a>'
menu1[6]='<a href="http://www.tenstepstore.com/detail/1.6UltimatePMToolkit.html">Ultimate Project Managers Toolkit</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="http://www.tenstepstore.com/detail/2.14LessonsinPeopleMgmt.html">Lessons in People Management Book/ eBook</a>'
menu2[1]='<a href="http://www.tenstepstore.com/detail/2.1LessonsinPMBook.html">Lessons in Project Management eBook</a>'


//Contents for menu 3, and so on
var menu3=new Array()
menu3[0]='<a href="http://www.tenstepstore.com/detail/3.6FlashPrep.html">FlashPrep</a>'
menu3[1]='<a href="http://nanacast.com/vp/104860/238443/" target="_open">PM PrepCast</a>'
menu3[2]='<a href="http://www.readysetpass.com/practice-exams.html" target="_open">PMP Exam Simulator</a>'
menu3[3]='<a href="http://nanacast.com/vp/104731/238443/" target="_open">PMP Exam eFlashcards</a>'
menu3[4]='<a href="http://nanacast.com/vp/104756/238443/" target="_open">PMP Exam Formula Study Guide</a>'
menu3[5]='<a href="http://www.readysetpass.com/e-course.html" target="_open">Self-Paced PMP Exam Prep Course</a>'
menu3[6]='<a href="http://www.tenstepstore.com/detail/3.8VisuALPMIOTT.html">VisuAL PM Inputs Outputs Tools & Techniques</a>'
menu3[7]='<a href="http://www.tenstepstore.com/detail/3.10MindMapCompanion.html">VisuAL PM Mind Map Companion</a>'
menu3[9]='<a href="http://www.tenstepstore.com/detail/3.7VisuALPMKnowledgeCharts.html">VisuAL PM Knowledge Area Charts</a>'


//Contents for menu 4, and so on
var menu4=new Array()
menu4[0]='<a href="http://www.tenstepstore.com/detail/4.120MITM.html">20 Minute IT Manager</a>'
menu4[1]='<a href="http://www.margaretmeloni.com/conflictresolution.html/app/?af=1343572" target="_open">Conflict Resolution </a>'
menu4[2]='<a href="http://www.tenstepstore.com/detail/4.15SmallProjectseClass.html">Effectively Managing Small Projects </a>'
menu4[3]='<a href="http://www.margaretmeloni.com/eqandyou.html/app/?af=1343572" target="_open">EQ and You</a>'
menu4[4]='<a href="http://www.tenstepstore.com/detail/4.13EssenceofPM.html"> The Essence of Project Management</a>'
menu4[5]='<a href="http://www.tenstepstore.com/detail/4.14FundamentalsofScheduling.html">Fundamentals of Scheduling</a>'
menu4[6]='<a href="http://www.iamplify.com/store/product_details/Margaret-Meloni/Is-it-500-Already-Accomplish-more-in-Less-Time/product_id/7614"/app/?af=1343572 target="_open">Is it 5:00 Already? Accomplish More in Less Time!</a>'
menu4[7]='<a href="http://www.itmanagerstore.com/training/it-manager-institute/?ap_id=1005" target="_open">IT Manager Institute</a>'
menu4[8]='<a href="http://www.margaretmeloni.com/managingup.html/app/?af=1343572" target="_open">Managing Up</a>'
menu4[9]='<a href="http://www.iamplify.com/store/product_details/Margaret-Meloni/Left-Behind-Navigating-the-workplace-AFTER-a-layoff/product_id/7477/app/?af=1343572" target="_open">Navigating the Workplace After a Layoff</a>'
menu4[10]='<a href="http://www.tenstepstore.com/detail/4.7PMforManagerseClass.html">Project Management for Managers e-Class</a>'
menu4[11]='<a href="http://nanacast.com/vp/105118/238443/" target="_open">The PDU Podcast</a>'
menu4[12]='<a href="http://www.margaretmeloni.com/rfds.html/app/?af=1343572" target="_open">Recovering from Damaging Situations</a>'
menu4[13]='<a href="http://www.iamplify.com/store/product_details/Margaret-Meloni/Whats-YOUR-Communication-Style-Is-it-working-for-you/product_id/7672/app/?af=1343572" target="_open">What is Your Communication Style?</a>'


//Contents for menu 5, and so on
var menu5=new Array()
menu5[0]='<a href="http://www.tenstepstore.com/detail/5.2EmailMessage.html">52 Weekly PM Emails Messages</a>'
menu5[1]='<a href="http://www.tenstepstore.com/detail/5.8CCPM+.html">CCPM+</a>'
menu5[2]='<a href="http://www.tenstepstore.com/detail/5.12ITILChange.html">ITIL Change Management Process Maps </a>'
menu5[3]='<a href="http://www.tenstepstore.com/detail/5.9ITIL.html">ITIL Incident Mgmt, Resolution Process Maps </a>'
menu5[4]='<a href="http://www.tenstepstore.com/detail/5.10ITILDesk.html">ITIL Service Desk Management Process Maps </a>'
menu5[5]='<a href="http://www.tenstepstore.com/detail/5.11ITILSoftware.html">ITIL Software Release Mgmt Process Maps </a>'
menu5[6]='<a href="http://www.tenstepstore.com/detail/5.13ProjectPlan.html">Project Plan - Project Planning Software </a>'
menu5[7]='<a href="http://www.tenstepstore.com/detail/5.6MaxWidemanGlossary.html">Wideman Comparative Glossary </a>'


//Contents for menu 6, and so on
var menu6=new Array()
menu6[0]='<a href="http://www.tenstepstore.com/detail/2.13PMWorks.html">A Collection of Project Management Works Vol 1&2</a>'
menu6[1]='<a href="http://www.tenstepstore.com/detail/2.19LeadershipPackage.html">Complete Leadership Package</a>'
menu6[2]='<a href="http://www.tenstepstore.com/detail/2.23MotivationPackage.html">Complete Motivation Package</a>'
menu6[3]='<a href="http://www.tenstepstore.com/detail/2.10PMClass.html">Complete Project Management Package</a>'
menu6[4]='<a href="http://www.tenstepstore.com/detail/2.7RiskManagementPackage.html">Complete Risk Management Package</a>'
menu6[5]='<a href="http://www.tenstepstore.com/detail/2.18TimeMgmtPackage.html">Complete Time Management Package</a>' 
menu6[6]='<a href="http://www.tenstepstore.com/detail/2.17ToojaysWorkbooksOverview.html">Development Skills Workbooks</a>'
menu6[7]='<a href="http://www.tenstepstore.com/detail/2.5IntroductoryPMGuide.html">Introductory Project Management Guide</a>'
menu6[8]='<a href="http://www.itmanagerstore.com/books/it-management-models/?ap_id=1005" target="_open">IT Management Models</a>'
menu6[9]='<a href="http://www.itmanagerstore.com/books/?ap_id=1005" target="_open">IT Manager Development Series</a>'
menu6[10]='<a href="http://www.tenstepstore.com/detail/2.9LeanPM.html">Lean Project Management: Eight Principles for Success</a>'
menu6[11]='<a href="http://www.tenstepstore.com/detail/2.14LessonsinPeopleMgmt.html">Lessons in People Management Book/ eBook</a>'
menu6[12]='<a href="http://www.tenstepstore.com/detail/2.1LessonsinPMBook.html">Lessons in Project Management eBook</a>'
menu6[13]='<a href="http://www.tenstepstore.com/detail/2.8ManagementFramework.html">A Management Framework for Integration</a>'
menu6[14]='<a href="http://www.tenstepstore.com/detail/2.12MaxsMusings.html">Maxs Musings eBook</a>'
menu6[15]='<a href="http://www.tenstepstore.com/detail/2.21myskillsProj.html">my-skills Project Skills eBook</a>'
menu6[16]='<a href="http://www.tenstepstore.com/detail/2.22myskillsTr.html">my-skills Training Skills eBook</a>'
menu6[17]='<a href="http://www.itmanagerstore.com/books/it-policies-procedures/?ap_id=1005" target="_open">Practical IT Policies and Procedures</a>'
menu6[18]='<a href="http://www.tenstepstore.com/detail/2.20RunningwLions.html">Running with Lions</a>'
menu6[19]='<a href="http://www.tenstepstore.com/detail/2.16TermsandDefs.html">Terms and Definitions - Mysteries Explained</a>'







var menuwidth='350px' //default menu width
var menubgcolor='#578bb8'  //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+';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"
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 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

