////////////////////////////////////
// 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
"4A8CC8",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"D4E6FC",				// Mouse On Background Color
"357CB8",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",				// Font Name
3,						// 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.
"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, 72, 230, , 1,
                , style1, 1, "left", ,
               0, 1, 0, , , 
               0, 0, , , 0, ];
    } else {
		if(level==2) {
         menu=[parentid, , , 200, 1,
                , style1, 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) {
	
		if (menuarray[i-start] == "Home")
			menuarray[i-start] = '<div style="width:60px;">' + menuarray[i-start] + '</div>';	
		
		if (menuarray[i-start] == "About Us")
			menuarray[i-start] = '<div style="width:70px;">' + menuarray[i-start] + '</div>';	
		
		if (menuarray[i-start] == "Customer Service")
			menuarray[i-start] = '<div style="width:120px;">' + menuarray[i-start] + '</div>';	

		if (menuarray[i-start] == "Agent Resources")
			menuarray[i-start] = '<div style="width:110px;">' + menuarray[i-start] + '</div>';	

		if (menuarray[i-start] == "Customer Information")
			menuarray[i-start] = '<div style="width:140px;">' + menuarray[i-start] + '</div>';	

		if (menuarray[i-start] == "Useful Links")
			menuarray[i-start] = '<div style="width:90px;">' + 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="width: 60px;">Home</div>','index.html',,'',1
,'<div style="width: 70px;">About Us</div>','show-menu=aboutus',,'',1
,'<div style="width: 120px;">Customer Service</div>','show-menu=custserv',,'',1
,'<div style="width: 110px;">Agent Resources</div>','show-menu=agent',,'',1
,'<div style="width: 140px;">Customer Information</div>','show-menu=custInfo',,'',1
,'<div style="width: 90px;">Useful Links</div>','show-menu=links',,'',1]
);



//level2 menu for About Us

addmenu(2,'aboutus',
['Executive Team','#',,,1
,'Offices','#',,,1
,'Our Services','#',,,1
,'Our Philosophy','#',,,1
,'Why Secured Land Transfers Inc','aboutus_whysecured.html',,,1
,'Company History','aboutus_comphist.html',,,1
,'Corporate','http://www.cendant.com/ target="_blank"',,,1
,'User Information','aboutus_userinfo.html',,,1
,'Privacy & Usage','privacyusage.html',,,1]
);

//level 2 menu for Customer service

addmenu(2,'custserv',
['Real Net','#',,,1
,'Dataquick','#',,,1
,'Net Pro - SB Only','#',,,1
,'Customer Service Request','#',,,1
,'Request I-Closings Access','#',,,1]
);

//level 2 menu for Agent Resources

addmenu(2,'agent',
['Information Flyers','#',,,1
,'Real Estate Document Library','#',,,1
,'Customer Login','#',,,1
,'Online DRE Credits','#',,,1]
);

//level 2 menu for Customer Info

addmenu(2,'custInfo',
['Why I Need Title Insurance','custinfo_titleinfo.html',,,1
,'What is Closing Process?','custinfo_closinginfo.html',,,1
,'Using a Real Estate Broker','#',,,1
,'Frequently Asked Questions','faq.html',,,1]
);

//level 2 menu for Useful Links

addmenu(2,'links',
['Real Estate News','#',,,1
,'So-Cal Home Sale Activity','#',,,1
,'Property Search','#',,,1
,'Mortgage Calculator','usefulinfo_mortcal.html',,,1
,'County Websites','#',,,1
,'Associations','#',,,1
,'Credit Reports','#',,,1
,'Zip Code Search','#',,,1
,'Buyer & Seller worksheets','#',,,1]
);

dumpmenus();
*/