menunum=0;
menus=new Array();
_d=document;
function addmenu(){
	menunum++;
	menus[menunum]=menu;
}
function dumpmenus(){
	mt="<script language=javascript>";
	for(a=1;a<menus.length;a++){
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0){
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=95)"
}else{
	effect = "Shadow(color='#ffffff', Direction=135, Strength=0)" // Stop IE5.5 bug when using more than one filter
}

timegap=500;		// The time delay for menus to remain visible
followspeed=5;		// Follow Scrolling speed
followrate=40;		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position
suboffset_left=10;	// Sub menu offset Left position

style_main=[		// style_main 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
"999999",		// Mouse Off Background Color
"FFCE23",		// Mouse On Font Color
"999999",		// Mouse On Background Color
"000000",		// Menu Border Color
11,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,			// Menu Item Padding
"image/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",		// 3D High Color
"000099",		// 3D Low Color
"Purple",		// Current Page Item Font Color (leave this blank to disable)
"090140",		// Current Page Item Background Color (leave this blank to disable)
"",			// Top Bar image (Leave this blank to disable)
"ffffff",		// Menu Header Font Color (Leave blank if headers are not needed)
"000099",		// Menu Header Background Color (Leave blank if headers are not needed)
]

style_pulldown=[	// style_main is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"2E4E6D",		// Mouse Off Font Color
"E2E9EE",		// Mouse Off Background Color
"2E4E6D",		// Mouse On Font Color
"BED0DB",		// Mouse On Background Color
"000000",		// Menu Border Color
11,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,			// Menu Item Padding
"image/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",		// 3D High Color
"000099",		// 3D Low Color
"Purple",		// Current Page Item Font Color (leave this blank to disable)
"pink",			// Current Page Item Background Color (leave this blank to disable)
"arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",		// Menu Header Font Color (Leave blank if headers are not needed)
"000099",		// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",		// Menu Name - This is needed in order for the menu to be called
120,			// Menu Top - The Top position of the menu in pixels
250,			// Menu Left - The Left position of the 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"
style_main,		// Properties Array - this is set higher up, as above
1,			// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",		// Alignment - sets the 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
,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,			// Position of TOP sub image left:center:right
,			// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,			// Right To Left - Used in Hebrew for example. (1=on/0=off)
,			// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,			// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,			// Reserved for future use
,			// Reserved for future use
,			// Reserved for future use
,"&nbsp;&nbsp;解决方案&nbsp;&nbsp;","show-menu=解决方案","solutions/solutions.asp","",1
,"&nbsp;&nbsp;服务内容&nbsp;&nbsp;","show-menu=服务内容","services/consulting.asp","",1
,"&nbsp;&nbsp;客户与案例&nbsp;&nbsp;","show-menu=客户与案例","customers/customers.asp","",1
,"&nbsp;&nbsp;合作伙伴&nbsp;&nbsp;","show-menu=合作伙伴","partners/partners.asp","",1
,"&nbsp;&nbsp;关于我们&nbsp;&nbsp;","show-menu=关于我们","about/corp_info.asp","",1
])

addmenu(menu=["解决方案",,,140,0,,style_pulldown,0,"left",effect,0,,,,,,,,,,,
,"电信增值业务","solutions/telecom.asp",,,0 ,"企业信息化","solutions/info.asp",,,0
,"融合通信","solutions/cc.asp",,,0 ,"数据处理","solutions/data.asp",,,0
])

addmenu(menu=["服务内容",,,145,0,"",style_pulldown,,"left",effect,0,,,,,,,,,,,
,"项目实施","services/projects.asp",,,0
,"咨询顾问","services/consulting.asp",,,0
,"软件外包","services/softwares.asp",,,0
,"业务培训","services/training.asp",,,0
,"技术支持","services/support.asp",,,0
])

addmenu(menu=["客户与案例",,,145,0,"",style_pulldown,,"left",effect,0,,,,,,,,,,,
,"客户列表","customers/customers.asp",,,0
,"特色案例","customers/featurecases.asp",,,0
])

addmenu(menu=["合作伙伴",,,150,0,,style_pulldown,0,"left",effect,0,,,,,,,,,,,
,"主要合作伙伴","partners/partners.asp",,,0
,"成为合作伙伴","partners/apply.asp",,,0
])

addmenu(menu=["关于我们",,,125,0,,style_pulldown,0,"left",effect,0,,,,,,,,,,,
,"公司简介","about/corp_info.asp",,,0
,"热点新闻","about/news_events.asp",,,0
,"管理团队","about/leaders.asp",,,0
,"招贤纳才","about/career.asp",,,0
,"联系我们","about/contact.asp",,,0
])

dumpmenus()
