////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500;                   // The time delay for menus to remain visible
followspeed=5;                 // Follow Scrolling speed
followrate=40;                 // Follow Scrolling Rate
suboffset_top=5;              // Sub menu offset Top position
suboffset_left=5;             // Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",					// Mouse Off Font Color
"",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"244f93",				// Mouse On Background Color
"",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
4,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"",				// Current Page Item Font Color (leave this blank to disable)
"",				// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed
,						// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[				// style4 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"3E3F3F",				// Mouse Off Font Color
"ffffff",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"cccccc",				// Mouse On Background Color
"3E3F3F",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
4,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"888888",				// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed
,						// Menu Header Background Color (Leave blank if headers are not needed)
]

style3=[				// style4 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"3E3F3F",				// Mouse Off Font Color
"ffffff",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"cccccc",				// Mouse On Background Color
"3E3F3F",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
4,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
,						// 3D High Color
,						// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"888888",				// Current Page Item Background Color (leave this blank to disable)
"",						// Top Bar image (Leave this blank to disable)
,						// Menu Header Font Color (Leave blank if headers are not needed
,						// Menu Header Background Color (Leave blank if headers are not needed)
]

////////////////////////////////////
// Editable properties END here   //
////////////////////////////////////


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. DO NOT CHANGE.
menunum=0;
menus=new Array();
_d=document;
function dumpmenus(){
    mt="<script language=JavaScript>";
    for(a=1;a<menus.length;a++){
        mt+=" menu"+a+"=menus["+a+"];"		
    }
    mt+="<\/script>";
    _d.write(mt);	
}
function myWin(myURL){
	window.open(myURL);
	}
	
function addmenu(level, parentid, menuarray) {
    var start=22;
    var i;
    // menu=[name, top, left, width, border, 
    //       position, properties, always_visible, alignment, filter, 
    //       follow_user, horiz_menu, keep_alive, pos_of_sub_image_top, total_menu_width, 
    //       right_to_left, onclick, div_id_to_hide, background_image, scrollable_menu, misc];
		
   if(level==1) {
         menu=[parentid, 54, 0, 118, 0,
                , style1, 1, "center", ,
               0, 1, 0, , , 
               0, 0, , WebsiteRootFolder + '/images/nomouse_bg.gif', 0, ];
    } else {
		if(level==2) {
         menu=[parentid, , , 220, 1,
                , style2, 0, "left", ,
               0, 0, 0, , , 
               0, 0, , , 0, ];
		} else {
			if(level==3) {
         menu=[parentid, , , 180, 1,
                , style3, 0, "left", ,
               0, 0, 0, , , 
               0, 0, , , 0, ];
		}
		}
	}	
      
    for(i=start; i<start+menuarray.length; i++)
        menu[i] = menuarray[i-start];

    menunum++;
    menus[menunum]=menu;
}

/*

//Now add the menu items here

addmenu(1,'1',
['<div style="height:18px; padding-top:2px">Home</div>','index.html',,'',1
,'<div style="height:18px; padding-top:2px">About Us</div>','show-menu=aboutus',,'',1
,'<div style="height:18px; padding-top:2px">Customer Service</div>','show-menu=custserv',,'',1
,'<div style="height:18px; padding-top:2px">Agent Resources</div>','show-menu=agent',,'',1
,'<div style="height:18px; padding-top:2px">Consumer Information</div>','show-menu=consInfo',,'',1
,'<div style="height:18px; padding-top:2px">Useful Links</div>','show-menu=links',,'',1]
);

//level2 menu for About Us

addmenu(2,'aboutus',
['An Introduction','introduction.html',,,1
,'Why CB Mid-Atlantic Title','pdf/Cb_broch.pdf target="_blank"',,,1
,'Operations Center','opcenter.html',,,1
,'Management Team','managementteam.html',,,1
,'Our Philosophy','ourphilosophy.html',,,1
,'Corporate','http://www.cendant.com/ target="_blank"',,,1]
);

//level 2 menu for Customer service

addmenu(2,'custserv',
['Info Documents','infodoc.html',,,1
//,'Timeless Settlements','pdf/TimeLessBroch.pdf target="_blank"',,,1
//,'Net Pro - SB Only','#',,,1
,'Privacy & Usage','privacy&usage.html',,,1
//,'Request I-Closings Access','#',,,1
]
);

//level 2 menu for Agent Resources

addmenu(2,'agent',
['Settlement Advantage','http://www.settlementadvantage.com target="_blank"',,,1
//,'Real Estate Document Library','#',,,1
,'Legal Hotline','legalhotline.html',,,1
,'Business Solutions','bussol.html',,,1
//,'<div style="height:18px; padding-top:2px">Business Solutions</div>','show-menu=bussol',,'',1
,'Title Focus','doc/titlefocus.doc target="_blank',,,1]
);

//level 2 menu for Customer Info

addmenu(2,'consInfo',
['Why I need Title Insurance','whytitleinsurance.html',,,1
,'The Settlement Process','pdf/NRT_Broch_HUD.PDF target="_blank"',,,1
,'<div style="height:18px; padding-top:2px">Local Utility Companies</div>','show-menu=locucom',,'',1
,'<div style="height:18px; padding-top:2px">Our Title Insurance Underwriters</div>','show-menu=titleinsuwrit',,'',1
//,'Local Utility Companies','usearealestatebroker.html',,,1
//,'Frequently Asked Questions','faq.html',,,1
]
);

//level 2 menu for Useful Links

addmenu(2,'links',
['<div style="height:18px; padding-top:2px">State General Information</div>','show-menu=sginfo',,'',1
//,'Real Estate News','#',,,1
,'<div style="height:18px; padding-top:2px">County Information</div>','show-menu=countyinfo',,'',1
,'Land Records','http://sdatcert3.resiusa.org/ucc-charter/CharterSearch_f.asp target="_blank"',,,1
,'Property Tax Rates','protaxrate/proptaxrate.html target="_blank"',,,1
//,'<div style="height:18px; padding-top:2px">Mortgage Calculator</div>','show-menu=mortcalc',,'',1
//,'Mortgage Calculator','#',,,1
//,'<div style="height:18px; padding-top:2px">County Websites</div>','show-menu=countyweb',,'',1
//,'County Websites','#',,,1
//,'<div style="height:18px; padding-top:2px">Associations</div>','show-menu=assoc',,'',1
//,'Associations','#',,,1
,'MD Withholding Tax Information','http://taxpros.marylandtaxes.com/guides/nrs_guide.pdf target="_blank"',,,1
,'Assessment & Taxation of MD Personal & Business Tax','pdf/Md_Pers_Prpty_TaxBrochure.pdf target="_blank"',,,1
,'Register of Wills','http://www.registers.state.md.us/ target="_blank"',,,1
,'Department of Vital Statistics','http://www.dhmh.state.md.us/ target="_blank"',,,1
,'<div style="height:18px; padding-top:2px">Real Estate Associations</div>','show-menu=realesassoc',,'',1
,'<div style="height:18px; padding-top:2px">Title Insurance</div>','show-menu=titleins',,'',1
,'<div style="height:18px; padding-top:2px">Title Insurance Underwriters</div>','show-menu=titleinsuwrit',,'',1
,'<div style="height:18px; padding-top:2px">Mortgage Calculator</div>','show-menu=mcalc',,'',1
//,'Mortgage Calculator','# target="_blank"',,,1
//,'Calculators','# target="_blank"',,,1
//,'Index Watch','# target="_blank"',,,1
]
);

//addmenu(3,'bussol',
//['Business Solution 1','doc/bussol1.doc target="_blank"',,,1
//,'Business Solution 2','doc/bussol1.doc target="_blank"',,,1]
//);

addmenu(3,'locucom',
['PEPCO','http://www.pepco.com/ target="_blank"',,,1
,'Baltimore Gas and Electric','http://www.bge.com/portal/site/bge target="_blank"',,,1
,'Washington Gas','http://www.washgas.com/ target="_blank"',,,1
,'WSSC','http://www.wssc.dst.md.us/ target="_blank"',,,1
,'Bell Atlantic','http://www22.verizon.com/ target="_blank"',,,1
,'Delaware Electric Cooperative','http://www.delaware.coop/ target="_blank"',,,1]
);

addmenu(3,'sginfo',
['Delaware General Information','http://www.delaware.gov/ target="_blank"',,,1
,'Maryland General Information','http://www.maryland.gov/portal/server.pt?in_hi_userid=1333&space=CommunityPage&parentid=0&cached=false&control=SetCommunity&PageID=0&CommunityID=227&parentname=CommunityPage target="_blank"',,,1
,'Pennsylvania General Information','http://www.state.pa.us/ target="_blank"',,,1
,'Virginia General Information','http://www.virginia.gov/cmsportal/ target="_blank"',,,1
,'Washington, DC General Information','http://www.dc.gov/ target="_blank"',,,1]
);

addmenu(3,'countyinfo',
['Allegany County, MD','http://www.gov.allconet.org/ target="_blank"',,,1
,'Anne Arundel County, MD','http://www.co.anne-arundel.md.us/ target="_blank"',,,1
,'Baltimore City, MD','http://cityservices.baltimorecity.gov/realproperty/ target="_blank"',,,1
,'Baltimore County, MD','http://egov2.co.ba.md.us/taxbamd.html target="_blank"',,,1
,'Calvert County, MD','http://www.co.cal.md.us/ target="_blank"',,,1
,'Carroll County, MD','http://208.198.211.1/ccg/default.asp target="_blank"',,,1
,'Cecil County, MD','http://www.ccgov.org/ target="_blank"',,,1
,'Charles County, MD','http://www.charlescounty.org/treas/taxes/acctInquiry/selection.jsp target="_blank"',,,1
,'Dorchester County, MD','# target="_blank"',,,1
,'Fairfax County, VA','http://www.co.fairfax.va.us/ target="_blank"',,,1
,'Frederick County, MD','http://www.co.frederick.va.us/Treasurer/index_content.html target="_blank"',,,1
,'Garrett County, MD','http://www.co.garrett.md.us/ target="_blank"',,,1
,'Harford County, MD','http://www.co.ha.md.us/ target="_blank"',,,1
,'Howard County, MD','http://www.co.ho.md.us/DOF/DOF_RealPropertyTaxInformation.htm target="_blank"',,,1
,'Kent County, MD','http://kentcounty.com/gov/ target="_blank"',,,1
,'Montgomery County, MD','https://www.montgomerycountymd.gov/apps/tax/index.asp target="_blank"',,,1
,'Prince George’s County, MD','http://www.goprincegeorgescounty.com/ target="_blank"',,,1
,'Queen Anne’s County, MD','http://www.qac.org/ target="_blank"',,,1
,'Somerset County, MD','http://www.mdarchives.state.md.us/msa/mdmanual/36loc/so/html/so.html target="_blank"',,,1
,'St. Mary’s County, MD','http://www.co.saint-marys.md.us/ target="_blank"',,,1
,'Sussex County, PA','http://sussexcounty.net/ target="_blank"',,,1
,'Talbot County, MD','http://www.talbotchamber.org/ target="_blank"',,,1
,'Washington County, MD','http://www.washco-md.net/ target="_blank"',,,1
,'Wicomico County, MD','http://www.wicomicocounty.org/ target="_blank"',,,1
,'Worcester County, MD','http://www.co.worcester.md.us/ target="_blank"',,,1]
);

addmenu(3,'realesassoc',
['National Association of REALTORS®','http://www.realtor.org/rocms.nsf target="_blank"',,,1
,'Maryland Association of REALTORS®','http://www.mdrealtor.org/ target="_blank"',,,1
,'Virginia Association of REALTORS®','http://www.varealtor.com/index2.asp target="_blank"',,,1
,'Pennsylvania Association of REALTORS®','http://www.parealtor.org/content/HomePage.asp target="_blank"',,,1
,'Delaware Association of REALTORS®','http://www.delawarerealtor.com/ target="_blank"',,,1
,'Greater Baltimore Board of REALTORS®','http://www.realtorsbaltimore.com/ target="_blank"',,,1
,'Greater Capital Area Board of REALTORS®','http://www.gcaar.com/ target="_blank"',,,1
,'Northern Virginia Association of REALTORS®','http://www.nvar.com/ target="_blank"',,,1
,'Anne Arundel County Board of REALTORS®','http://www.aarealtors.org/ target="_blank"',,,1
,'Cecil County Board of REALTORS®','http://www.cecilcorealestate.com/ target="_blank"',,,1
,'Howard County Board of REALTORS®','http://www.hcar.org/ target="_blank"',,,1
,'Frederick County Board of REALTORS®','http://www.fcar.org/ target="_blank"',,,1]
);

addmenu(3,'titleins',
['American Land Title Association','http://www.alta.org/ target="_blank"',,,1
,'Maryland Land Title Association','http://www.mdlta.com/ target="_blank"',,,1
,'Virginia Land Title Association','http://www.vlta.org/ target="_blank"',,,1
,'Pennsylvania Land Title Association','http://www.plta.org/HTML/index.php target="_blank"',,,1
,'Delaware Title Insurance Code','http://www.delcode.state.de.us/title18/ target="_blank"',,,1]
);

addmenu(3,'titleinsuwrit',
['First American Title Insurance Company','http://firstam.com/ target="_blank"',,,1
,'Chicago Title Insurance Company','https://www.ctic.com/ target="_blank"',,,1
,'Commonwealth Title Insurance Company','http://www.landam.com target="_blank"',,,1]
);

addmenu(3,'mcalc',
['Rent V/s Buy','calculators/rent_vs_buy.html target="_blank"',,,1
,'Monthly Payment','calculators/monthly_payment.html target="_blank"',,,1
,'Refinance','calculators/refinance.html target="_blank"',,,1]
);
*/

dumpmenus();