
/***********************************************
* 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.managingpersonalfinances.com/getting-and-saving-personal-finances.php" title="Getting and saving your personal finances">OVERVIEW</a>'
menu1[1]='<a href="http://www.managingpersonalfinances.com/getting-and-saving-count-yourself-out.php" title="Save on extended warranties">Extended Warranties - Count Yourself Out</a>'
menu1[2]='<a href="http://www.managingpersonalfinances.com/getting-and-saving-manage-little-things.php" title="Managing the little things">Managing the Little Things</a>'
menu1[3]='<a href="http://www.managingpersonalfinances.com/getting-and-saving-insurance-and-you.php" title="Insurance And You">Insurance And You</a>'
menu1[4]='<a href="http://www.managingpersonalfinances.com/getting-and-saving-setting-investment-goals.php" title="Setting Your Investment Goals">Setting Your Investment Goals</a>'
menu1[5]='<a href="http://www.managingpersonalfinances.com/getting-and-saving-four-solid-financial-saving-strategies.php" title="Four solid financial saving strategies">Four Solid Financial Saving Strategies</a>'
//menu1[6]='<a href="http://www.managingpersonalfinances.com/saving-for-college-and-kids.php" title="Saving for college and kids">Kids and College</a>'


//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="http://www.managingpersonalfinances.com/managing-your-debt.php" title="Managing your debt">OVERVIEW</a>'
menu2[1]='<a href="http://www.managingpersonalfinances.com/managing-your-debt-really-debt-free.php" title="Personal credit and credit repair">Are You REALLY Debt Free?</a>'
menu2[2]='<a href="http://www.managingpersonalfinances.com/managing-your-debt-consider-reverse-mortgage.php" title="Consider a reverse mortgage">Consider A Reverse Mortgage</a>'
menu2[3]='<a href="http://www.managingpersonalfinances.com/managing-your-debt-if-you-lose-your-job.php" title="If you lose your job">If You Lose Your Job</a>'
//menu2[4]='<a href="http://www.managingpersonalfinances.com/home-ownership.php" title="The pride and security of home ownership">Home Ownership</a>'
//menu2[5]='<a href="http://www.managingpersonalfinances.com/home-mortgages.php" title="Home mortgages">Home Mortgages</a>'


//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="http://www.managingpersonalfinances.com/planning-for-retirement.php" title="Planning for retirement">OVERVIEW</a>'
menu3[1]='<a href="http://www.managingpersonalfinances.com/understand-what-you-have-available.php" title="Understanding what you have available">Understand What You Have Available</a>'
menu3[2]='<a href="http://www.managingpersonalfinances.com/planning-for-retirement-dont-forget-inflation.php" title="Don\'t forget about inflation">Don\'t Forget About Inflation</a>'
//menu3[3]='<a href="http://www.managingpersonalfinances.com/lifetime-personal-savings.php" title="Your lifetime personal savings">Your Lifetime Savings</a>'

//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances.php" title="Investing personal finances">OVERVIEW</a>'
menu4[1]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-gold-tarnished.php" title="Investing personal finances">Gold Has a Little Tarnish</a>'
menu4[2]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-make-money-good-bad-markets.php" title="Making money in good & bad markets">Making Money In Good & Bad Markets</a>'
menu4[3]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-invest-preferred-shares.php" title="Investing in preferred shares">Investing In Preferred Shares</a>'
menu4[4]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-consider-value-warrants.php" title="Consider the value of warrants">Consider The Value of Warrants</a>'
menu4[5]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-all-about-socially-responsible-investing.php" title="Socially responsible investing">Socially Responsible Investing</a>'
menu4[6]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-looking-at-the-future-market.php" title="Looking at the future market">Looking At The Future Market</a>'
menu4[7]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-learning-from-investing-pros.php" title="Learning from investment pros">Learning From Investing Pros</a>'
menu4[8]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-when-stocks-decline.php" title="When stocks decline">When Stocks Decline</a>'
menu4[9]='<a href="http://www.managingpersonalfinances.com/investing-personal-finances-buying-gold-silver-and-other-precious-metals.php" title="Buying gold, silver and other precious metals">Buying Gold, Silver & Other Precious Metals</a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="http://www.managingpersonalfinances.com/keeping-more-taxes.php" title="Taxes - Keeping More of What you Earn">OVERVIEW</a>'
menu5[1]='<a href="http://www.managingpersonalfinances.com/tax-planning-as-a-family.php" title="Tax Planning As A Family">Tax Planning As A Family</a>'

//Contents for menu 6
var menu6=new Array()
menu6[0]='<a href="http://www.managingpersonalfinances.com/newsletter.php" title="Managing Personal Finances Monthly Newsletter">MPF Monthly Newsletter</a>'
menu6[1]='<a href="http://www.managingpersonalfinances.com/personal-finances-min-e-courses.php" title="Manging personal finances min-E-courses">min-E-courses</a>'

//Contents for menu 7
var menu7=new Array()
// menu7[0]='<a href="http://www.managingpersonalfinances.com/e-courses-managing-personal-finances.php" title="Overview on all managing personal finances e-products">MPF e-Courses Overview</a>'
menu7[0]='<a href="http://www.managingpersonalfinances.com/e-course-investing-ipo-secret.php" title="IPO Secret">IPO Secret</a>'
menu7[1]='<a href="http://www.managingpersonalfinances.com/e-course-investing-mergers-acquisitions-profits.php" title="Mergers and Acuisitions Profits">M&amp;A Profits</a>'
menu7[2]='<a href="http://www.managingpersonalfinances.com/e-course-investing-penny-stock-castaways.php" title="Penny Stock Castaways">Penny Stock Castaways</a>'
menu7[3]='<a href="http://www.managingpersonalfinances.com/e-course-investing-pro-trading-system.php" title="Completel Pro Trading System">Pro Trading System</a>'

var menuwidth='260px' //default menu width
var menubgcolor='#8ca2c3'  //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

