fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=2;

var iw = 0;
var ih = 0;
var pw = 0;
var ph = 211;
if (navigator.appName=="Netscape") {
  	iw = window.innerWidth;
	ih = window.innerheight;
	pw = ((iw-800)/2)+235;
	if (parseInt(pw) <= 235) pw = 275;
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  iw = document.body.offsetWidth;
  ih = document.body.offsetHeight;
  pw = ((iw-800)/2)+245;
  if (parseInt(pw) <= 245) pw = 275;
 }

with(imageMenu=new mm_style()){
}

with(menuStyle=new mm_style()){
bordercolor="#333333";
borderstyle="solid";
borderwidth=1;
fontfamily="Futura, Helvetica, sans-serif";
fontsize="11px";
fontstyle="normal";
imageposition="center";
imagepadding=5;
padding="3";
rawcss="padding-right:20px;";
offbgcolor="#f1f1f1";
onbgcolor="#cccccc";
image="images/bullet-grey.gif";
align="left";
oncolor="#666666";
offcolor="#666666";
subimage="images/triangle.gif";
subimagepadding=2;
}

with(milonic=new menuname("main_menu")){
alwaysvisible=1;
left=pw;
orientation="horizontal";
style=imageMenu;
top=ph;
aI("image=images/nav_home.gif;overimage=images/nav_home_over.gif;url=index.php");
aI("image=images/nav_products.gif;overimage=images/nav_products_over.gif;showmenu=products;url=products.php");
aI("image=images/nav_services.gif;overimage=images/nav_services_over.gif;showmenu=services;url=services.php");
aI("image=images/nav_info.gif;overimage=images/nav_info_over.gif;showmenu=info;url=information.php");
aI("image=images/nav_aboutus.gif;overimage=images/nav_aboutus_over.gif;showmenu=aboutus;url=aboutus.php");
aI("image=images/nav_contact.gif;overimage=images/nav_contact_over.gif;url=contact.php");
}

with(milonic=new menuname("products")){
style=menuStyle;
aI("text=Traders;showmenu=trading_solutions;url=prd_trading_home.php");
aI("text=Portfolio Investors;showmenu=portfolio_solutions;url=prd_portfolio_home.php");
aI("text=Buy-Side Investors;showmenu=trading_solutions;url=prd_trading_home.php");
aI("text=Mortgage Servicers;showmenu=mortgage_servicing_rights;url=prd_msr_home.php");
aI("text=Mortgage Bankers;showmenu=mortgage_banking_solutions;url=prd_mbs_home.php");
aI("text=Mortgage Data Analysts;showmenu=mortgage_data_analysts;url=prd_mda_home.php");
}

with(milonic=new menuname("mortgage_banking_solutions")){
style=menuStyle;
aI("text=Loading Collateral Data;url=prd_mbs_loadingcollateral.php");
aI("text=Price/Yield Load;url=prd_mbs_priceyield.php");
aI("text=Value Loans;url=prd_mbs_valueloans.php");
aI("text=Coverage Models;url=prd_mbs_coveragemodels.php");
aI("text=Trade/Hedge Instruments;url=prd_mbs_tradehedge.php");
aI("text=Rate Shock Modeling;url=prd_mbs_rateshock.php");
aI("text=Interest Rate Risk Management;url=prd_mbs_interestrisk.php");
aI("text=Accounting;url=prd_mbs_accounting.php");
aI("text=Reporting, Stratification and Grouping Tools;url=prd_mbs_stratification.php");
aI("text=Report Library;url=prd_mbs_reportlibrary.php");
aI("text=Pooling, Portfolio Optimization & Data Extract Tools;url=prd_mbs_pooling.php");
aI("text=The Technology;url=prd_mbs_technology.php");
}

with(milonic=new menuname("mortgage_servicing_rights")){
style=menuStyle;
aI("text=Loading Collateral Data;url=prd_msr_loadingcollateral.php");
aI("text=MSR Valuation And Assumptions;url=prd_msr_valandassump.php");
aI("text=MSR Models;url=prd_msr_msrmodels.php");
aI("text=Accounting;url=prd_msr_accounting.php");
aI("text=Reporting, Stratification and Grouping Tools;url=prd_msr_stratification.php");
aI("text=Report Library;url=prd_msr_reportlibrary.php");
aI("text=Pooling, Portfolio Optimization & Data Extract Tools;url=prd_msr_pooling.php");
aI("text=The Technology;url=prd_msr_technology.php");
}

with(milonic=new menuname("trading_solutions")){
style=menuStyle;
aI("text=Loading Collateral Data;url=prd_trading_loadingcollateral.php");
aI("text=Price/Yield Load;url=prd_trading_priceyield.php");
aI("text=Value Loans;url=prd_trading_valueloans.php");
aI("text=Trade/Hedge Instruments;url=prd_trading_tradehedge.php");
aI("text=Rate Shock Modeling;url=prd_trading_rateshock.php");
aI("text=Interest Rate Risk Management;url=prd_trading_interestrisk.php");
aI("text=Reporting, Stratification and Grouping Tools;url=prd_trading_stratification.php");
aI("text=Pooling, Portfolio Optimization & Data Extract Tools;url=prd_trading_pooling.php");
aI("text=The Technology;url=prd_trading_technology.php");
}

with(milonic=new menuname("portfolio_solutions")){
style=menuStyle;
aI("text=Loading Collateral Data;url=prd_portfolio_loadingcollateral.php");
aI("text=Price/Yield Load;url=prd_portfolio_priceyield.php");
aI("text=Value Loans;url=prd_portfolio_valueloans.php");
aI("text=Trade/Hedge Instruments;url=prd_portfolio_tradehedge.php");
aI("text=Rate Shock Modeling;url=prd_portfolio_rateshock.php");
aI("text=Interest Rate Risk Management;url=prd_portfolio_interestrisk.php");
aI("text=Accounting;url=prd_portfolio_accounting.php");
aI("text=Reporting, Stratification and Grouping Tools;url=prd_portfolio_stratification.php");
aI("text=Report Library;url=prd_portfolio_reportlibrary.php");
aI("text=Pooling, Portfolio Optimization & Data Extract Tools;url=prd_portfolio_pooling.php");
aI("text=The Technology;url=prd_portfolio_technology.php");
}

with(milonic=new menuname("services")){
style=menuStyle;
aI("text=Hedging Pipelines, Servicing and Whole Loan Portfolios with Compass;showmenu=heding_with_compass;url=services_hedging.php");
aI("text=Third Party Valuations;url=services_thirdparty.php");
aI("text=Consulting;url=services_consulting.php");
}

with(milonic=new menuname("heding_with_compass")){
style=menuStyle;
aI("text=Outsourced Hedge Advisory Service;url=services_outsourcedhedge.php");
aI("text=The Case for Hedging;url=services_caseforhedging.php");
aI("text=Hosting Model;url=services_hostingasp.php");
aI("text=Licensing our Software;url=services_licensing.php");
}

with(milonic=new menuname("info")){
style=menuStyle;
aI("text=Articles;url=information.php");
aI("text=Newsletters;url=information_newsletters.php");
aI("text=Press Releases;url=information_press.php");
aI("text=Resources;showmenu=resources;url=information_resources.php");
}

with(milonic=new menuname("resources")){
style=menuStyle;
aI("text=ADCO;url=information_resources_adco.php");
aI("text=AFT;url=information_resources_aft.php");
aI("text=Bill Coppedge;url=information_resources_billcoppedge.php");
aI("text=Del Mar Database;url=information_resources_delmar.php");
aI("text=Pephens and Co.;url=information_resources_pephens.php");
aI("text=Radar Logic.;url=information_resources_radar.php");
aI("text=Watts and Garret;url=information_resources_wattsgarret.php");





}

with(milonic=new menuname("aboutus")){
style=menuStyle;
aI("text=Our Business;url=aboutus.php");
aI("text=Management;url=aboutus_management.php");
aI("text=Careers;url=aboutus_careers.php");
}

drawMenus();