/*HM_Loader.js
* by Peter Belesis. v4.3 020610
* Copyright (c) 2002 Peter Belesis. All Rights Reserved.
*/

   HM_DOM = (document.getElementById) ? true : false;
   HM_NS4 = (document.layers) ? true : false;
    HM_IE = (document.all) ? true : false;
   HM_IE4 = HM_IE && !HM_DOM;
   HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
  HM_IE4M = HM_IE4 && HM_Mac;
 HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
 HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);

HM_IsMenu = !HM_Opera && !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4 || HM_Konqueror);

HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_GL_MenuWidth          = 120;
HM_GL_FontFamily         = "Verdana,Arial,sans-serif";
HM_GL_FontSize           = 8;
HM_GL_FontBold           = true;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "990000";
HM_GL_FontColorOver      = "CCCC99";
HM_GL_BGColor            = "#CCCC99";
HM_GL_BGColorOver        = "#990000";
HM_GL_ItemPadding        = 1;

HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "black";
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 1;
HM_GL_SeparatorColor     = "black";
HM_GL_ImageSrc           = "/images/tri.gif";
HM_GL_ImageSize          = 8;

HM_GL_ImageHorizSpace	 = 0;
HM_GL_ImageVertSpace	 = 0;

HM_GL_KeepHilite         = true;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 70;
HM_GL_ChildOffset        = 5;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .5;

HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 1;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

HM_GL_RightToLeft        = false;
HM_GL_CreateTopOnly      = HM_NS4 ? false : false;
HM_GL_ShowLinkCursor     = true;

HM_GL_NSFontOver	 = true;

// the following function is included to illustrate the improved JS expression handling of
// the left_position and top_position parameters introduced in 4.0.9
// and modified in 4.1.3 to account for IE6 standards-compliance mode
// you may delete if you have no use for it

function HM_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = HM_DOM ? document.getElementById(topmenuid) : window[topmenuid];
	var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = HM_IE ? (HM_DOM ? HM_Canvas.clientWidth : document.body.clientWidth) : window.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(HM_IsMenu) {
//	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
//	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");


<!-- BASICS -->
HM_Array1 = [[120,95,165],
["<div align='center'><font color='#000000'><b>BASICS:</b></font></div>","http://www.kiplinger.com/basics/",1,0,0],
["Tutorials","http://www.kiplinger.com/basics/tutorials/",1,0,0],
["Glossary","http://www.kiplinger.com/basics/glossary/",1,0,0],
["<img src='http://image.kiplinger.com/images/ads/nav/advice_nav.gif'>","http://www.kiplinger.com/links/myfinancialadvice/rollover/",0,0,0],
]
<!-- INVESTING -->
HM_Array2 = [[120,95,210],
["<div align='center'><font color='#000000'><b>INVESTING:</b></font></div>","http://www.kiplinger.com/investing/",1,0,0],
["Market Snapshot","http://tfn.kiplinger.com/?page=mktSnapshot",1,0,0],
["Stocks","http://www.kiplinger.com/investing/stocks",1,0,0],
["Funds","http://www.kiplinger.com/investing/funds",1,0,0],
["Bonds","http://www.kiplinger.com/investing/bonds/",1,0,0],
["Portfolio Tracker","http://www.kiplinger.com/php/portfolio/portfolio.php3",1,0,0],
["<img src='http://image.kiplinger.com/images/ads/nav/vanguard_nav.gif'>","http://www.kiplinger.com/ads/vanguard/",0,0,0],
]
<!-- YOUR FINANCES -->
HM_Array3 = [[120,95,245],
["<div align='center'><font color='#000000'><b>YOUR FINANCES:</b></font></div>","http://www.kiplinger.com/finances/",1,0,0],
["Yields &amp; Rates","http://www.kiplinger.com/finances/yields/",1,0,0],
["Credit &amp; Banking","http://www.kiplinger.com/finances/credit/",1,0,0],
["Taxes","http://www.kiplinger.com/finances/taxes/",1,0,0],
["Insurance","http://www.kiplinger.com/finances/insurance/",1,0,0],
["<img src='http://image.kiplinger.com/images/ads/nav/bankrate_nav.gif'>","http://www.bankrate.com/kip/default.asp",0,0,0],
]
<!-- PLANNING -->
HM_Array4 = [[120,95,320],
["<div align='center'><font color='#000000'><b>PLANNING:</b></font></div>","http://www.kiplinger.com/planning/",1,0,0],
["Retirement","http://www.kiplinger.com/planning/retirement/",1,0,0],
["College","http://www.kiplinger.com/planning/college/",1,0,0],
["Budgeting","http://www.kiplinger.com/planning/budgeting/",1,0,0],
["Estate Planning","http://www.kiplinger.com/planning/estate/",1,0,0],
]
<!-- SPENDING -->
HM_Array5 = [[120,95,305],
["<div align='center'><font color='#000000'><b>SPENDING:</b></font></div>","http://www.kiplinger.com/spending/",1,0,0],
["Your Home","http://www.kiplinger.com/spending/home",1,0,0],
["Cars","http://www.kiplinger.com/spending/car",1,0,0],
["<img src='http://image.kiplinger.com/images/carbargaintest.gif'>","http://www.kiplinger.com/links/carbargains/",0,0,0],
]
<!-- TOOLS -->
HM_Array6 = [[120,95,425],
["<div align='center'><font color='#000000'><b>TOOLS:</b></font></div>","http://www.kiplinger.com/tools/",1,0,0],
["Portfolio Tracker","http://www.kiplinger.com/php/portfolio/portfolio.php3",1,0,0],
["Stock Finder","http://www.kiplinger.com/tools/stockfinder/",1,0,0],
["Fund Finder","http://www.kiplinger.com/tools/fundfinder/",1,0,0],
["Car Finder","http://www.kiplinger.com/tools/carfinder/",1,0,0],
["Public Colleges","http://content.kiplinger.com/tools/colleges/index.html",1,0,0],
["Investing Tools","http://www.kiplinger.com/tools/investing/",1,0,0],
["Finance Tools","http://www.kiplinger.com/tools/finances/",1,0,0],
["Planning Tools","http://www.kiplinger.com/tools/planning/",1,0,0],
["Spending Tools","http://www.kiplinger.com/tools/spending/",1,0,0],
["<img src='http://image.kiplinger.com/images/ads/nav/salarycom_nav.gif'>","http://kiplinger.salary.com",0,0,0],
]
<!-- COLUMNS -->
HM_Array7 = [[120,95,453],
["<div align='center'><font color='#000000'><b>COLUMNS:</b></font></div>","http://www.kiplinger.com/columns/",1,0,0],
["Ask Kim","http://www.kiplinger.com/columns/kim/archive.html",1,0,0],
["Drive Time","http://www.kiplinger.com/columns/car/archive.html",1,0,0],
["Keeping Your Balance","http://www.kiplinger.com/columns/balance/archive.html",1,0,0],
["Money Smart Kids","http://www.kiplinger.com/columns/kids/archive.html",1,0,0],
["Starting Out","http://www.kiplinger.com/columns/starting/archive.html",1,0,0],
["Tax Answers","http://www.kiplinger.com/columns/taxtips/archive.html",1,0,0],
["Value Added","http://www.kiplinger.com/columns/value/archive.html",1,0,0],
]
<!-- COMMUNITY -->
HM_Array8 = [[120,95,535],
["<div align='center'><font color='#000000'><b>COMMUNITY:</b></font></div>","http://forums.kiplinger.com",1,0,0],
["Register","http://forums.kiplinger.com/register.php",1,0,0],
["Boiling Point","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=23",1,0,0],
["Stocks","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=24",1,0,0],
["Funds","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=31",1,0,0],
["College","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=43",1,0,0],
["Taxes","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=45",1,0,0],
["Retirement","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=74",1,0,0],
["Spending","http://forums.kiplinger.com/forumdisplay.php?s=&forumid=2",1,0,0],
]
<!-- KIPLINGER STORE -->
HM_Array9 = [[120,95,635],
["<div align='center'><font color='#000000'><b>KIPLINGER STORE:</b></font></div>","http://www.kiplinger.com/store/",1,0,0],
["Magazine &amp; Letters","http://www.kiplinger.com/store/",1,0,0],
["Books","http://www.kiplinger.com/books/",1,0,0],
["Software","http://www.kiplinger.com/software/",1,0,0],
["Marketplace","http://www.kiplinger.com/online_services/",1,0,0],
]
<!-- CONTACT US -->
HM_Array10 = [[120,95,735],
["<div align='center'><font color='#000000'><b>CONTACT US:</b></font></div>","http://www.kiplinger.com/feedback.html/",1,0,0],
["Customer Service","http://www.kiplinger.com/service/",1,0,0],
["Feedback","http://www.kiplinger.com/feedback.html/",1,0,0],
["Media Contact","http://www.kiplinger.com/about/media.html/",1,0,0],
]
<!-- ABOUT US -->
HM_Array11 = [[120,95,835],
["<div align='center'><font color='#000000'><b>ABOUT US:</b></font></div>","http://www.kiplinger.com/about/",1,0,0],
["Privacy Policy","http://www.kiplinger.com/about/privacy/",1,0,0],
["Site Index","http://www.kiplinger.com/about/map/",1,0,0],
["Meet the Staff","http://www.kiplinger.com/about/staff/",1,0,0],
["Media Kit","http://www.kipmediakit.com",1,0,0],
["Content Licensing","http://www.kiplinger.com/about/licensing/",1,0,0],
["Advertise","http://www.kiplinger.com/advertise/",1,0,0],
["Reader Panel","http://www.talktokiplinger.com/",1,0,0],
["Jobs","http://www.kiplinger.com/about/jobs/",1,0,0],
]
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/script/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}
//end
