////////////////////////////////////
// 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.
"235180",					// Mouse Off Font Color
"FFFFFF",				// Mouse Off Background Color
"235180",				// Mouse On Font Color
"C2D4E6",				// Mouse On Background Color
"477DB2",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
2,						// Menu Item Padding
WebsiteRootFolder + "/images/arrow.gif",			// 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.
"235180",				// Mouse Off Font Color
"FFFFFF",				// Mouse Off Background Color
"235180",				// Mouse On Font Color
"C2D4E6",				// Mouse On Background Color
"477DB2",				// 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)
]

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.
"235180",				// Mouse Off Font Color
"FFFFFF",				// Mouse Off Background Color
"235180",				// Mouse On Font Color
"C2D4E6",				// Mouse On Background Color
"477DB2",				// 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)
]

////////////////////////////////////
// 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, 138, 60, 163, 1,
                , style1, 1, "left", ,
               0, 0, 0, , , 
               0, 0, , , 0, ];
    } else {
		if(level==2) {
         menu=[parentid, , , 180, 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, ];
			}
		}
	}	
      

 if (level == 1) {	    
    var identification = 0;	
    for(i=start; i<start+menuarray.length; i++) {

	if (identification == 0 || identification == 5) {
		menuarray[i-start] = '<div style="height:40px; padding-top:12px;">' + menuarray[i-start] + '</div>';	
		identification = 0;
	}	
	identification++;

    }
    }	

    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:40px; padding-top:12px;">Home</div>','index.html',,'',1
,'<div style="height:40px; padding-top:12px;">About Us</div>','show-menu=aboutus',,'',1
,'<div style="height:40px; padding-top:12px;">Customer Service</div>','show-menu=cusserv',,'',1
,'<div style="height:40px; padding-top:12px;">Client Resources</div>','show-menu=clientres',,'',1
,'<div style="height:40px; padding-top:12px;">Consumer Information</div>','show-menu=coninfo',,'',1
,'<div style="height:40px; padding-top:12px;">Useful Links</div>','show-menu=usefullinks',,'',1]
);

//level2 menu for About Us

addmenu(2,'aboutus',
['Welcome Note','welcomenote.html',,,1
,'Affiliations','affiliations.html',,,1
,'Our Services','show-menu=ourservices',,,1
,'Why Progressive Title','whyprogressivetitle.html',,,1
//,'Company History','companyhistory.html',,,1
//,'Corporate','http://www.cendant.com/ target="_blank"',,,1
//,'Privacy & Usage','privacy.html',,,1
]
);

addmenu(2,'ourservices',
['RealNet','http://www.usrealnet.com/public/default.htm target="_blank"',,,1
,'Dataquick','http://216.100.216.38/default.asp?RMT=TOPS target="_blank"',,,1
//,'NetPro','http://www.profilez.com/equitysb/ target="_blank"',,,1
,'I-Closing Login','iclosings.html target="_blank"',,,1
,'Customer Service Request','cusservrequest.html',,,1]
);

//addmenu(3,'southb',
//['Office Roster','southbayofficeroster.html',,,1
//,'Local Information','southbaylocalinfo.html',,,1]
//);

//level 2 menu for Customer service

addmenu(2,'cusserv',
['Online Profiles','show-menu=onprof',,,1
,'Customer Service Request','cusservrequest.html',,,1]
);

addmenu(2,'onprof',
['RealNet','http://www.usrealnet.com/public/default.htm target="_blank"',,,1
,'Dataquick','http://216.100.216.38/default.asp?RMT=TOPS target="_blank"',,,1
//,'NetPro','http://www.profilez.com/equitysb/ target="_blank"',,,1
]
);
//level 2 menu for Agent Resources

addmenu(2,'clientres',
['Information Flyers','infoflyers.html',,,1
,'I-Closing Login','iclosings.html target="_blank"',,,1
,'Online DRE Credits','http://www.youreducation.com/equity/ target="_blank"',,,1]
);

addmenu(2,'coninfo',
['Why I Need Title Insurance','whyineedtitleinsurance.html',,,1
,'What is an Escrow?','whatisanescrow.html',,,1
,'Using a Real Estate Broker','usingrealesbroker.html',,,1
,'Frequently Asked Questions','faq.html',,,1]
);

addmenu(2,'usefullinks',
['South Bay - Local Info','show-menu=sblocinfo',,,1
,'Real Estate News','show-menu=realesnews',,,1
,'So-Cal Home Sale Activity','http://www.dqnews.com/ZIPLAT.shtm target="_blank"',,,1
,'Property Search','show-menu=propsearch',,,1
,'Mortgage Calculator','show-menu=mcalc',,,1
,'County Websites','show-menu=countyweb',,,1
,'School Information','show-menu=assoc',,,1
,'Associations','show-menu=schoolinfo',,,1
,'Credit Reports','https://www.annualcreditreport.com/cra/helpcu target="_blank"',,,1
,'Zip Code Search','http://zip4.usps.com/zip4/welcome.jsp target="_blank"',,,1]
);

addmenu(2,'sblocinfo',
['First Capital Mortgage','http://www.firstcapitalmtg.com target="_blank"',,,1
,'Peninsula Mortgage','http://www.peninsulamtg.com target="_blank"',,,1
,'Coldwell Banker','http://www.coldwellbanker.com target="_blank"',,,1
,'ReMax Palos Verdes','http://www.remaxpv.com target="_blank"',,,1
,'Mapquest','http://www.mapquest.com target="_blank"',,,1
,'Equity Title Company','http://www.equitytitle.com target="_blank"',,,1
,'Inman News','http://www.inman.com/ target="_blank"',,,1
,'ReMax Palos Verdes Realty Intranet','http://Intranet.remaxpv.com target="_blank"',,,1
,'Moore and Associates','http://www.mooreandassoc.com target="_blank"',,,1
,'Bay Cities Funding','http://www.baycitiesfunding.com target="_blank"',,,1]
);

addmenu(2,'realesnews',
['Broker Agent News','http://www.brokeragentnews.com/ target="_blank"',,,1
,'Inman News','http://www.inman.com/ target="_blank"',,,1]
);

addmenu(2,'propsearch',
['Realtor.com','http://www.realtor.com/Default.asp?poe=realtor target="_blank"',,,1
,'CAmoves','http://www.camoves.com/ target="_blank"',,,1]
);

addmenu(2,'mcalc',
['Rent vs Buy','calculators/rent_vs_buy.html target="_blank"',,,1
,'Monthly Payments','calculators/monthly_payment.html target="_blank"',,,1
,'Refinance','calculators/refinance.html target="_blank"',,,1]
);

addmenu(2,'countyweb',
['LA County','http://www.lacounty.info/ target="_blank"',,,1
,'Orange County','http://www.oc.ca.gov/ target="_blank"',,,1
,'Riverside County','http://www.co.riverside.ca.us/ target="_blank"',,,1
,'San Diego','http://www.co.san-diego.ca.us/ target="_blank"',,,1
,'Santa Barbara','http://www.santabarbaraca.gov/home.htm target="_blank"',,,1
,'San Bernardino','http://www.co.san-bernardino.ca.us/ target="_blank"',,,1
,'Ventura County','http://www.countyofventura.org/index.asp target="_blank"',,,1]
);

addmenu(2,'schoolinfo',
['Yahoo! Real Estate School Reports','http://realestate.yahoo.com/re/schools/ca/ target="_blank"',,,1
,'STAR - Standardized Testing And Reporting Program','http://star.cde.ca.gov/ target="_blank"',,,1
,'School Wise Press','http://www.schoolwisepress.com/index.html target="_blank"',,,1
,'Dataquest','http://data1.cde.ca.gov/dataquest/ target="_blank"',,,1
,'CCD - Common Core of Data','http://nces.ed.gov/ccd/ target="_blank"',,,1]
);

addmenu(2,'assoc',
['California Associations of Realtors','http://www.car.org/ target="_blank"',,,1
,'National Association of Realtors','http://nar.realtor.com/ target="_blank"',,,1
,'California Land Title Association','http://www.clta.org/ target="_blank"',,,1]
);

dumpmenus();
*/