/**
 MSI_arrary.js     v0.91 
 DHTML javascript menus for Martha Schwartz
 HMS
 Using: Milonic DHTML Menu by A.Woolley Copyright 2002 (c) Milonic Solutions. www.milonic.co.uk 
**/

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0; menus=new Array();_d=document;
function addmenu()
	{menunum++;menus[menunum]=menu;}
function dumpmenus()
	{mt="<script language=JavaScript>";for(i=1;i<menus.length;i++){mt+=" menu"+i+"=menus["+i+"];"}mt+="<\/script>";_d.write(mt)}
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=0               // Sub menu offset Top position
suboffset_left=0             // Sub menu offset Left position


NavBar_Style=[                // NavBar_Style is an array of properties. 
"70E050",                      // Mouse Off Font Color, the green
"000000",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"yellow",                     // Mouse On Font Color, yellow
"202020",                     // Mouse On Background Color
"000000",                     // Menu Border Color
"11",                         // Font Size (default is px)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"Arial, Helvetica",        // Font Name
4,                   // Menu Item Padding or spacing
,                            // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
"FFFF00",                     // 3D High Color
"CCFFFF",                     // 3D Low Color
"white",                      // Current Page Item Font Color (leave this blank to disable)
"black",                      // 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)
,                             // Menu Item Separator Color
]


// Main NavBar menu 
addmenu(menu=[
"navbar_menu",                // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
,                             // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
NavBar_Style,                 // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
,                             // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"首页","http://www.ldscape.com/index.html",,,1
,"关于我们","show-menu=FirmSub","http://www.ldscape.com/firm.html",,1
,"项目简介 ","show-menu=ProjectsSub","http://www.ldscape.com/projects.html",,1
,"新闻","http://www.ldscape.com/news.html",,,1
,"招聘","http://www.ldscape.com/careers.html",,,1
,"联络我们","http://www.ldscape.com/contact.html",,,1
,"论坛","http://www.ldscape.com/bbs",,,1
])


// FIRM 
addmenu(menu=["FirmSub",,,130,1,,NavBar_Style,0,,,0,0,0,,,0,0,,,0,,
,"公司简介","http://www.ldscape.com/firm.html",,,0
,"选择优势","http://www.ldscape.com/firm_awards.html",,,0
,"服务范围","http://www.ldscape.com/firm_clients.html",,,0
,"合作研究","http://www.ldscape.com/firm_shows.html",,,0
,"公司文化","http://www.ldscape.com/firm_wenhua.html",,,0
])


// PROJECTS  ----------------------------------------------------------- 
addmenu(menu=["ProjectsSub",,,130,1,,NavBar_Style,0,,,0,0,0,,,0,0,,,0,,
,"环境景观设计","http://www.ldscape.com/projects.html",,,0
,"城市规划与设计","http://www.ldscape.com/masterp.html",,,0
,"环境生态规划","http://www.ldscape.com/civic.html",,,0
,"地产顾问","http://www.ldscape.com/commercial.html",,,0
])
// 
 

dumpmenus();

