﻿// JavaScript Document
var mmenus = new Array();
var misShow = new Boolean(); 
misShow=false;
var misdown = new Boolean();
misdown=false;
var mnumberofsub=0;
var musestatus=false;
var mpopTimer = 0;
mmenucolor='#669900'; //菜单背景色
mmenubackground='/html/images/index_01.jpg';
mfontcolor='#FFFFFF';
mmenuoutcolor='#FFFFFF'; //鼠标移动子菜单项颜色
mmenuincolor='#ABD887'; //鼠标移动菜单项颜色
mmenuoutbordercolor='#4F7700'; //菜单外边框颜色
mmenuinbordercolor='#4F7700'; //菜单内边框颜色
mmidoutcolor='#000000'; 
mmidincolor='#799310'; 
mmenuovercolor='#004080'; 
mitemedge='0';
msubedge='1';
mmenuunitwidth=67;
mmenuitemwidth=88;
mmenuheight=25;
mmenuwidth='100%';
mmenuadjust=-7;
mmenuadjustV=0;
mfonts='font-family: 宋体; font-size: 9pt; color: MenuText; ';
mcursor='hand';
var swipeSteps = 0;
var swipemsec = 15;
var swipeArray = new Array();
function swipe(el, dir, steps, msec) {
	if (steps == null) steps = swipeSteps;
	if (msec == null) msec = swipemsec;
	if (el.swipeIndex == null)
		el.swipeIndex = swipeArray.length;
	if (el.swipeTimer != null)
		window.clearTimeout(el.swipeTimer);
	swipeArray[el.swipeIndex] = el;
	el.style.clip = "rect(-99999 99999 99999 -99999)";
	if (el.swipeCounter == null || el.swipeCounter == 0) {
		el.orgLeft = el.offsetLeft;
		el.orgTop = el.offsetTop;
		el.orgWidth = el.offsetWidth;
		el.orgHeight = el.offsetHeight;
	}
	el.swipeCounter = steps;
	el.style.clip = "rect(0 0 0 0)";
	window.setTimeout("repeat(" + dir + "," + el.swipeIndex + "," + steps + "," + msec + ")", msec);
}
function repeat(dir, index, steps, msec) {
el = swipeArray[index];
var left = el.orgLeft;
var top = el.orgTop;
var width = el.orgWidth;
var height = el.orgHeight;
if (el.swipeCounter == 0) {
el.style.clip = "rect(-99999, 99999, 99999, -99999)";
return;
}
else {
el.swipeCounter--;
el.style.visibility = "visible";
switch (dir) {
case 2:
el.style.clip = "rect(" + height*el.swipeCounter/steps + "," + width + "," + height + "," + 0 + ")";
el.style.top = top - height*el.swipeCounter/steps;
break;
case 8:
el.style.clip = "rect(" + 0 + "," + width + "," + height*(steps-el.swipeCounter)/steps + "," + 0 + ")";
el.style.top = top + height*el.swipeCounter/steps;
break;
case 6:
el.style.clip = "rect(" + 0 + "," + width + "," + height + "," + width*(el.swipeCounter)/steps + ")";
el.style.left = left - width*el.swipeCounter/steps;
break;
case 4:
el.style.clip = "rect(" + 0 + "," + width*(swipeSteps - el.swipeCounter)/steps + "," + height + "," + 0 + ")";
el.style.left = left + width*el.swipeCounter/steps;
break;
}

el.swipeTimer = window.setTimeout("repeat(" + dir + "," + index + "," + steps + "," + msec + ")", msec);
}
}
var mtmpleft="";
var mtmptop="";
function hideSwipe(el) {
window.clearTimeout(el.swipeTimer);
el.style.visibility = "hidden";
el.style.clip = "rect(-99999, 99999, 99999, -99999)";
el.swipeCounter = 0;
if(mtmpleft!="")el.style.left = mtmpleft;
if(mtmptop!="")el.style.top = mtmptop;
}

function stoperror(){
return true;
}
window.onerror=stoperror;
function mpopOut() {
mpopTimer = setTimeout('mallhide()', 500);
}
function getReal(el, type, value) {
temp = el;
while ((temp != null) && (temp.tagName != "BODY")) {
if (eval("temp." + type) == value) {
el = temp;
return el;
}
temp = temp.parentElement;
}
return el;
}


function mMenuRegister(menu) 
{
mmenus[mmenus.length] = menu
return (mmenus.length - 1)
}

function mMenuItem(caption,command,target,isline,statustxt,level,img,sizex,sizey,pos){
this.items = new Array();
this.caption=caption;
this.command=command;
this.target=target;
this.isline=isline;
this.statustxt=statustxt;
if(level!=null){mnumberofsub++;
this.hasc=mnumberofsub;}
this.level=level;
this.img=img;
this.sizex=sizex;
this.sizey=sizey;
this.pos=pos;
}

function mMenu(caption,command,target,img,sizex,sizey,pos){
this.items = new Array();
this.caption=caption;
this.command=command;
this.target=target;
this.img=img;
this.sizex=sizex;
this.sizey=sizey;
this.pos=pos;
this.id=mMenuRegister(this);
}
function mMenuAddItem(item)
{
this.items[this.items.length] = item
item.parent = this.id;
this.children=true;
}

mMenu.prototype.addItem = mMenuAddItem;
mMenuItem.prototype.addsubItem = mMenuAddItem;

function mtoout(src){

src.style.borderLeftColor=mmenuoutbordercolor;
src.style.borderRightColor=mmenuinbordercolor;
src.style.borderTopColor=mmenuoutbordercolor;
src.style.borderBottomColor=mmenuinbordercolor;
src.style.backgroundColor=mmenuoutcolor;
src.style.color=mmenuovercolor;
}
function mtoin(src){

src.style.borderLeftColor=mmenuinbordercolor;
src.style.borderRightColor=mmenuoutbordercolor;
src.style.borderTopColor=mmenuinbordercolor;
src.style.borderBottomColor=mmenuoutbordercolor;
src.style.backgroundColor=mmenuincolor;
src.style.color=mmenuovercolor;
}
function mnochange(src){
src.style.borderLeftColor=mmenucolor;
src.style.borderRightColor=mmenucolor;
src.style.borderTopColor=mmenucolor;
src.style.borderBottomColor=mmenucolor;
src.style.backgroundColor='';
src.style.color=mfontcolor;
}
function mallhide(){
for(var nummenu=0;nummenu<mmenus.length;nummenu++){
var themenu=document.all['mMenu'+nummenu]
var themenudiv=document.all['mmenudiv'+nummenu]
//var themenu=document.getElementById['mMenu'+nummenu];
//var themenudiv=document.getElementById['mmenudiv'+nummenu];
mnochange(themenu);
mmenuhide(themenudiv);
}
for(nummenu=1;nummenu<=mnumberofsub;nummenu++){ 
var thesub=document.all['msubmenudiv'+nummenu] ;
//var thesub=document.getElementById['msubmenudiv'+nummenu] ;
msubmenuhide(thesub);
mnochange(document.all['mp'+nummenu]);
document.all["mitem"+nummenu].style.color=mfontcolor;
/*mnochange(document.getElementById['mp'+nummenu]);
document.getElementById["mitem"+nummenu].style.color=mfontcolor;
*/}
}
function mmenuhide(menuid){
menuid.style.filter='Alpha(Opacity=100)';
hideSwipe(menuid);
misShow=false;
}
function msubmenuhide(menuid){
menuid.style.filter='Alpha(Opacity=100)';
menuid.style.visibility='hidden';
}
function mmenushow(menuid,pid){
menuid.style.filter='Alpha(Opacity=80)';
//===============================================子菜单位置================//
menuid.style.left=mposflag.offsetLeft+pid.offsetLeft+mmenuadjust;
menuid.style.top=mposflag.offsetTop+mmenutable.offsetHeight+mmenuadjustV;
if(mmenuitemwidth+parseInt(menuid.style.left)>document.body.clientWidth+document.body.scrollLeft)
menuid.style.left=document.body.clientWidth+document.body.scrollLeft-mmenuitemwidth;
mtmpleft=menuid.style.left;
mtmptop=menuid.style.top;
swipe(menuid,2,4);
misShow=true;
}
function mshowsubmenu(menuid,pid,rid){
menuid.style.filter='Alpha(Opacity=80)';
menuid.style.left=pid.offsetWidth+rid.offsetLeft;
menuid.style.top=pid.offsetTop+rid.offsetTop;
if(mmenuitemwidth+parseInt(menuid.style.left)>document.body.clientWidth+document.body.scrollLeft)
menuid.style.left=document.body.clientWidth+document.body.scrollLeft-mmenuitemwidth;
menuid.style.visibility='visible';
}
function mmenu_over(menuid,x){
toel = getReal(window.event.toElement, "className", "coolButton");
fromel = getReal(window.event.fromElement, "className", "coolButton");
if (toel == fromel) return;
if(x<0){
misShow = false;
mallhide();
mtoout(eval("mMenu"+x));//========
}else{

mallhide();
mtoin(eval("mMenu"+x));//==========
mmenushow(menuid,eval("mMenu"+x));

}
clearTimeout(mpopTimer);
}
function mmenu_out(x){
toel = getReal(window.event.toElement, "className", "coolButton");
fromel = getReal(window.event.fromElement, "className", "coolButton");
if (toel == fromel) return;
if (misShow){
mtoin(eval("mMenu"+x));
}else{
mnochange(eval("mMenu"+x));
}
mpopOut()
}
function mmenu_down(menuid,x){
if(misShow){
mmenuhide(menuid);
mtoout(eval("mMenu"+x));//========
}
else{
mtoin(eval("mMenu"+x));//============
mmenushow(menuid,eval("mMenu"+x));
misdown=true;
}
}
function mmenu_up(){
misdown=false;
}
function mmenuitem_over(menuid,item,x,j,i){
toel = getReal(window.event.toElement, "className", "coolButton");
fromel = getReal(window.event.fromElement, "className", "coolButton");
if (toel == fromel) return;
srcel = getReal(window.event.srcElement, "className", "coolButton");
for(nummenu=1;nummenu<=mnumberofsub;nummenu++){ 
var thesub=document.all['msubmenudiv'+nummenu] 
//var thesub=document.getElementById['msubmenudiv'+nummenu];
if(!(menuid==thesub||menuid.style.tag>=thesub.style.tag)){
msubmenuhide(thesub);
mnochange(document.all['mp'+nummenu]);
//mnochange(document.getElementById['mp'+nummenu]);
document.all["mitem"+nummenu].style.color=mfontcolor;
}
}
if(item)document.all["mitem"+item].style.color=mmenuovercolor;
//if(item)document.getElementById["mitem"+item].style.color=mmenuovercolor;
if(misdown||item){
mtoin(srcel);//===================
}


else{
mtoout(srcel);//============
}
if(x==-1)mthestatus=eval("msub"+j).items[i].statustxt;
if(j==-1)mthestatus=mmenus[x].items[i].statustxt;
if(mthestatus!=""){
musestatus=true;
window.status=mthestatus;
}
clearTimeout(mpopTimer);
}
function mmenuitem_out(hassub){
toel = getReal(window.event.toElement, "className", "coolButton");
fromel = getReal(window.event.fromElement, "className", "coolButton");
if (toel == fromel) return;
srcel = getReal(window.event.srcElement, "className", "coolButton");
if(!hassub)mnochange(srcel);
if(musestatus)window.status="";
mpopOut();
}
function mmenuitem_down(){
srcel = getReal(window.event.srcElement, "className", "coolButton");
mtoin(srcel);//=======================
misdown=true;
}
function mmenuitem_up(){
srcel = getReal(window.event.srcElement, "className", "coolButton");
mtoout(srcel);//=============
misdown=false;
}
function mexec3(j,i){
var cmd;
if(eval("msub"+j).items[i].target=="blank"){
cmd = "window.open('"+eval("msub"+j).items[i].command+"')";
}else{
cmd = eval("msub"+j).items[i].target+".location=\""+eval("msub"+j).items[i].command+"\"";
}
eval(cmd);
}
function mexec2(x){
var cmd;
if(mmenus[x].target=="blank"){
cmd = "window.open('"+mmenus[x].command+"')";
}else{
cmd = mmenus[x].target+".location=\""+mmenus[x].command+"\"";
}
eval(cmd);
}
function mexec(x,i){
var cmd;
if(mmenus[x].items[i].target=="blank"){
cmd = "window.open('"+mmenus[x].items[i].command+"')";
}else{
cmd = mmenus[x].items[i].target+".location=\""+mmenus[x].items[i].command+"\"";
}
eval(cmd);
}
function mbody_click(){

if (misShow){
srcel = getReal(window.event.srcElement, "className", "coolButton");
for(var x=0;x<=mmenus.length;x++){
if(srcel.id=="mMenu"+x)
return;
}
for(x=1;x<=mnumberofsub;x++){
if(srcel.id=="mp"+x)
return;
}
mallhide();
}
}
document.onclick=mbody_click;

function mwritetodocument(){
var mwb=1;
//var stringx='<div id="mposflag" style="position:absolute;"></div><table id=mmenutable border=0 cellpadding=3 cellspacing=2 width='+mmenuwidth+' height='+mmenuheight+' bgcolor='+mmenucolor+
/*var stringx='<div id="mposflag" style="position:absolute;"></div><table id=mmenutable border=0 cellpadding=3 cellspacing=2 width='+mmenuwidth+' height='+mmenuheight+' background='+mmenubackground+' onselectstart="event.returnValue=false"'+
' style="filter:Alpha(Opacity=80);cursor:'+mcursor+';'+mfonts+
' border-left: '+mwb+'px solid '+mmenuoutbordercolor+';'+
' border-right: '+mwb+'px solid '+mmenuinbordercolor+'; '+
'border-top: '+mwb+'px solid '+mmenuoutbordercolor+'; '+
'border-bottom: '+mwb+'px solid '+mmenuinbordercolor+'; padding:0px"><tr>'*/
var stringx='<div id="mposflag" style="position:absolute;"></div><table id=mmenutable border=0 cellpadding=3 cellspacing=2 height='+mmenuheight+' background='+mmenubackground+' onselectstart="event.returnValue=false"'+' style="cursor:'+mcursor+';'+mfonts+' padding:0px"><tr>'

for(var x=0;x<mmenus.length;x++){
var thismenu=mmenus[x];
var imgsize="";
if(thismenu.sizex!="0"||thismenu.sizey!="0")imgsize=" width="+thismenu.sizex+" height="+thismenu.sizey;
var ifspace="";
if(thismenu.caption!="")ifspace=" ";
stringx += "<td nowrap class=coolButton id=mMenu"+x+" style='color:#ffffff;border: "+mitemedge+"px solid "+mmenucolor+
"' width="+mmenuunitwidth+"px onmouseover=mmenu_over(mmenudiv"+x+
","+x+") onmouseout=mmenu_out("+x+
") onmousedown=mmenu_down(mmenudiv"+x+","+x+")";

if(thismenu.command!=""){
stringx += " onmouseup=mmenu_up();mexec2("+x+");";
}else{
stringx += " onmouseup=mmenu_up()";
}
if(thismenu.pos=="0"){
stringx += " align=center><img align=absmiddle src='"+thismenu.img+"'"+imgsize+">"+ifspace+thismenu.caption+"</td>"; 
}else if(thismenu.pos=="1"){
stringx += " align=center>"+thismenu.caption+ifspace+"<img align=absmiddle src='"+thismenu.img+"'"+imgsize+"></td>"; 
}else if(thismenu.pos=="2"){
stringx += " align=center background='"+thismenu.img+"'> "+thismenu.caption+" </td>"; 
}else{
stringx += " align=center> "+thismenu.caption+" </td>";
}
stringx += "";
}
stringx+="<td width=*> </td></tr></table>";


for(var x=0;x<mmenus.length;x++){
thismenu=mmenus[x];
if(x<0){
stringx+='<div id=mmenudiv'+x+' style="visiable:none"></div>';
}else{
stringx+='<div id=mmenudiv'+x+
' style="filter:Alpha(Opacity=80);cursor:'+mcursor+';position:absolute;'+
'width:'+mmenuitemwidth+'px; z-index:'+(x+100);//=++++++++++++++++++++
if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){
stringx+=';border-left: 1px solid '+mmidoutcolor+
';border-top: 1px solid '+mmidoutcolor;}
stringx+=';border-right: 1px solid '+mmenuinbordercolor+
';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden" onselectstart="event.returnValue=false">\n'+
'<table width="100%" border="0" height="100%" align="center" cellpadding="0" cellspacing="2" '+
'style="'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;
if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){
stringx+=';border-right: 1px solid '+mmidincolor+
';border-bottom: 1px solid '+mmidincolor;}
stringx+=';border-top: 1px solid '+mmenuoutbordercolor+
';padding: 4px" bgcolor='+mmenucolor+'>\n'
for(var i=0;i<thismenu.items.length;i++){
	var thismenuitem=thismenu.items[i];
	var imgsize="";
	if(thismenuitem.sizex!="0"||thismenuitem.sizey!="0")imgsize=" width="+thismenuitem.sizex+" height="+thismenuitem.sizey;
	var ifspace="";
	if(thismenu.caption!="")ifspace=" ";
		if(thismenuitem.hasc!=null){
			stringx += "<tr><td id=mp"+thismenuitem.hasc+" class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\"mmenuitem_over(mmenudiv"+x+",'"+thismenuitem.hasc+"',"+x+",-1,"+i+");mshowsubmenu(msubmenudiv"+thismenuitem.hasc+",mp"+thismenuitem.hasc+",mmenudiv"+x+");\""+"><table id=mitem"+thismenuitem.hasc+" cellspacing='0' cellpadding='0' border='0' width='100%' style='"+mfonts+"'><tr><td ";
			if(thismenuitem.pos=="0"){
				stringx += "><img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+">"+ifspace+thismenuitem.caption+"</td><td"; 
			}else if(thismenuitem.pos=="1"){
				stringx += ">"+thismenuitem.caption+ifspace+"<img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+"></td><td";
			}else if(thismenuitem.pos=="2"){
				stringx += "background='"+thismenuitem.img+"'>"+thismenuitem.caption+"</td><td background='"+thismenuitem.img+"'"; 
			}else{
				stringx += ">"+thismenuitem.caption+"</td><td";
			}
			stringx += " align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\n"; 
		}else if(!thismenuitem.isline){
			stringx += "<tr><td class=coolButton style='color:#ffffff;border: "+mitemedge+"px solid "+mmenucolor+
			"' align='center' width=100% height=15px onmouseover=\"mmenuitem_over(mmenudiv"+x+
			",false,"+x+",-1,"+i+");\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";
			stringx += "mmenuitem_up();mexec("+x+","+i+"); ";
			if(thismenuitem.pos=="0"){
				stringx += "><img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+">"+ifspace+thismenuitem.caption+"</td></tr>"; 
			}else if(thismenuitem.pos=="1"){
				stringx += ">"+thismenuitem.caption+ifspace+"<img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+"></td></tr>"; 
			}else if(thismenuitem.pos=="2"){
				stringx += "background='"+thismenuitem.img+"'>"+thismenuitem.caption+"</td></tr>"; 
			}else{
				stringx += ">"+thismenuitem.caption+"</td></tr>";
			}
		}else{
		stringx+='<tr><td height="1" background="/images/hr.gif" onmousemove="clearTimeout(mpopTimer);"><img height="1" width="1" src="none.gif" border="0"></td></tr>\n';
		}
	}stringx+='</table>\n</div>'
} 
}

for(var j=1;j<=mnumberofsub;j++){ 
thisitem=eval("msub"+j);
stringx+='<div id=msubmenudiv'+j+
' style="filter:Alpha(Opacity=80);tag:'+thisitem.level+';cursor:'+mcursor+';position:absolute;'+
'width:'+mmenuitemwidth+'px; z-index:'+(j+200);//++++++++++++++++++++++++++++
if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){
stringx+=';border-left: 1px solid '+mmidoutcolor+
';border-top: 1px solid '+mmidoutcolor;}
stringx+=';border-right: 1px solid '+mmenuinbordercolor+
';border-bottom: 1px solid '+mmenuinbordercolor+';visibility:hidden" onselectstart="event.returnValue=false">\n'+
'<table width="100%" border="0" height="100%" align="center" cellpadding="0" cellspacing="2" '+
'style="'+mfonts+' border-left: 1px solid '+mmenuoutbordercolor;
if(mmenuinbordercolor!=mmenuoutbordercolor&&msubedge=="0"){
stringx+=';border-right: 1px solid '+mmidincolor+
';border-bottom: 1px solid '+mmidincolor;}
stringx+=';border-top: 1px solid '+mmenuoutbordercolor+
';padding: 4px" bgcolor='+mmenucolor+'>\n'
for(var i=0;i<thisitem.items.length;i++){
var thismenuitem=thisitem.items[i];
var imgsize="";
if(thismenuitem.sizex!="0"||thismenuitem.sizey!="0")imgsize=" width="+thismenuitem.sizex+" height="+thismenuitem.sizey;
var ifspace="";
if(thismenu.caption!="")ifspace=" ";
if(thismenuitem.hasc!=null){
stringx += "<tr><td id=mp"+thismenuitem.hasc+" class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+
"' width=100% onmouseout=mmenuitem_out(true) onmouseover=\"mmenuitem_over(msubmenudiv"+j+
",'"+thismenuitem.hasc+"',-1,"+j+","+i+");mshowsubmenu(msubmenudiv"+thismenuitem.hasc+",mp"+thismenuitem.hasc+",msubmenudiv"+j+");\""+
"><table id=mitem"+thismenuitem.hasc+" cellspacing='0' cellpadding='0' border='0' width='100%' style='"+mfonts+"'><tr><td ";
	if(thismenuitem.pos=="0"){
		stringx += "><img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+">"+ifspace+thismenuitem.caption+"</td><td"; 
	}else if(thismenuitem.pos=="1"){
		stringx += ">"+thismenuitem.caption+ifspace+"<img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+"></td><td";
	}else if(thismenuitem.pos=="2"){
		stringx += "background='"+thismenuitem.img+"'>"+thismenuitem.caption+"</td><td background='"+thismenuitem.img+"'"; 
	}else{
		stringx += ">"+thismenuitem.caption+"</td><td";
	}
stringx += " align=right width='1'><font face='Webdings' style='font-size: 6pt'>4</font></td></tr></table></td></tr>\n"; 
}else if(!thismenuitem.isline){
stringx += "<tr><td class=coolButton style='border: "+mitemedge+"px solid "+mmenucolor+
"' width=100% height=15px onmouseover=\"mmenuitem_over(msubmenudiv"+j+
",false,-1,"+j+","+i+");\" onmouseout=mmenuitem_out() onmousedown=mmenuitem_down() onmouseup=";
stringx += "mmenuitem_up();mexec3("+j+","+i+"); ";
if(thismenuitem.pos=="0"){
stringx += "><img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+">"+ifspace+thismenuitem.caption+"</td></tr>"; 
}else if(thismenuitem.pos=="1"){
stringx += ">"+thismenuitem.caption+ifspace+"<img align=absmiddle src='"+thismenuitem.img+"'"+imgsize+"></td></tr>"; 
}else if(thismenuitem.pos=="2"){
stringx += "background='"+thismenuitem.img+"'>"+thismenuitem.caption+"</td></tr>"; 
}else{
stringx += ">"+thismenuitem.caption+"</td></tr>";
}
}else{
stringx+='<tr><td height="1" background="/images/hr.gif" onmousemove="clearTimeout(mpopTimer);"><img height="1" width="1" src="none.gif" border="0"></td></tr>\n';
}
}
stringx+='</table>\n</div>'
}
document.write("<div align='center' id='JsMenuCSS'>"+stringx+"</div>");
}

mpmenu0=new mMenu('首 页','http://lztour.gov.cn','self','','','','');

mpmenu1=new mMenu('认识柳州','','self','','','','');
mpmenu1.addItem(new mMenuItem(' 柳州概况','http://www.lztour.gov.cn/html/rslz/summary.html','self',false,'柳州概况',null,'','','',''));
mpmenu1.addItem(new mMenuItem(' 历史文化名城','http://www.lztour.gov.cn/html/rslz/history.html','self',false,'历史文化名城',null,'','','',''));
mpmenu1.addItem(new mMenuItem(' 优秀旅游城市','http://www.lztour.gov.cn/html/rslz/travel.html','self',false,'优秀旅游城市',null,'','','',''));
mpmenu1.addItem(new mMenuItem(' 交通枢纽','http://www.lztour.gov.cn/html/rslz/traffic.html','self',false,'交通枢纽',null,'','','',''));
mpmenu1.addItem(new mMenuItem(' 工业与商贸物流中心','http://www.lztour.gov.cn/html/rslz/industry.html','self',false,'工业与商贸物流中心',null,'','','',''));

mpmenu2=new mMenu('风情柳州','http://www.lztour.gov.cn/html/fqlz.html','self','','','','');
mpmenu2.addItem(new mMenuItem(' 柳州少数民族佳丽','http://www.lztour.gov.cn/html/fqlz/ssmzjl.html','self',false,'柳州少数民族佳丽',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 风情"四绝"','http://www.lztour.gov.cn/html/fqlz/fqsj.html','self',false,'风情"四绝"',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 民族节庆','http://www.lztour.gov.cn/html/fqlz/mzjq.html','self',false,'民族节庆',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 民族服饰','http://www.lztour.gov.cn/html/fqlz/mzfs.html','self',false,'民族服饰',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 民族文化艺术','http://www.lztour.gov.cn/html/fqlz/mzwhys.html','self',false,'民族文化艺术',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 民族建筑','http://www.lztour.gov.cn/html/fqlz/mzjz.html','self',false,'民族建筑',null,'','','',''));
mpmenu2.addItem(new mMenuItem(' 民族生活','http://www.lztour.gov.cn/html/fqlz/mzsh.html','self',false,'民族生活',null,'','','',''));

mpmenu3=new mMenu('风景名胜','','self','','','','');
mpmenu3.addItem(new mMenuItem(' 自然风光','http://www.lztour.gov.cn/html/yzlzy/zrfg.html','self',false,'自然风光',null,'','','',''));
mpmenu3.addItem(new mMenuItem(' 历史古迹','http://www.lztour.gov.cn/html/yzlzy/lsgj.html','self',false,'历史古迹',null,'','','',''));
mpmenu3.addItem(new mMenuItem(' 工业旅游','http://www.lztour.gov.cn/html/yzlzy/gyly.html','self',false,'工业旅游景点',null,'','','',''));
mpmenu3.addItem(new mMenuItem(' 农业观光','http://www.lztour.gov.cn/html/yzlzy/nygg.html','self',false,'农业观光园',null,'','','',''));


/*mpmenu4=new mMenu('旅游节庆','','self','','','','');
mpmenu4.addItem(new mMenuItem(' 市区桃花节','/html/lyjq/thj.html','self',false,'市区桃花节',null,'','','',''));
mpmenu4.addItem(new mMenuItem(' 三江民族节庆','/html/lyjq/sjmzjq.html','self',false,'三江民族节庆',null,'','','',''));
mpmenu4.addItem(new mMenuItem(' 融水民族节庆','/html/lyjq/rsmzjq.html','self',false,'融水民族节庆',null,'','','',''));
*/
mpmenu4=new mMenu('旅游线路','http://www.lztour.gov.cn/html/line.html','self','','','','');
mpmenu4.addItem(new mMenuItem(' 柳州游','http://www.lztour.gov.cn/html/line/lzy.html','self',false,'柳州游',null,'','','',''));
mpmenu4.addItem(new mMenuItem(' 周边游','http://www.lztour.gov.cn/html/line/zby.html','self',false,'周边游',null,'','','',''));
mpmenu4.addItem(new mMenuItem(' 国内游','http://www.lztour.gov.cn/html/line/gny.html','self',false,'国内游',null,'','','',''));
mpmenu4.addItem(new mMenuItem(' 国外游','http://www.lztour.gov.cn/html/line/gwy.html','self',false,'国外游',null,'','','',''));


mpmenu5=new mMenu('旅游特产','http://www.lztour.gov.cn/html/lytc.html','self','','','','');
mpmenu5.addItem(new mMenuItem(' 名优农产品','http://www.lztour.gov.cn/html/lytc/ncp.html','self',false,'名优农产品',null,'','','',''));
mpmenu5.addItem(new mMenuItem(' 名优工业品','http://www.lztour.gov.cn/html/lytc/gyp.html','self',false,'名优工业品',null,'','','',''));
mpmenu5.addItem(new mMenuItem(' 民族工艺品','http://www.lztour.gov.cn/html/lytc/art.html','self',false,'民族工艺品',null,'','','',''));

mpmenu6=new mMenu('旅游服务','http://www.lztour.gov.cn/html/lyfw.html','self','','','','');
mpmenu6.addItem(new mMenuItem(' 天气预报','http://weather.tq121.com.cn/','blank',false,'天气预报',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 常用电话','http://www.lztour.gov.cn/html/server/telephone.html','self',false,'常用电话',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 航班时刻','http://www.sunnychina.com/union/lztour/air/','blank',false,'航班时刻',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 列车时刻','http://www.hao123.com/ss/lccx.htm','blank',false,'列车时刻',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 客运班次','http://www.jtxxol.com/kycheci/69.htm','blank',false,'客运班次',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 公交线路','http://liuzhou.bus.58.com','blank',false,'公交线路',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 租车','http://www.lztour.gov.cn/html/xzlz/jgxx/zch.html','self',false,'租车',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 的士','http://www.lztour.gov.cn/html/xzlz/jgxx/taxi.html','self',false,'的士',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 医院','http://www.lztour.gov.cn/html/server/yy.html','self',false,'医院',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 药店','http://www.lztour.gov.cn/html/server/yd.html','self',false,'药店',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 银行','http://www.lztour.gov.cn/html/server/bank.html','self',false,'银行',null,'','','',''));
mpmenu6.addItem(new mMenuItem(' 保险','http://www.lztour.gov.cn/html/server/bx.html','self',false,'保险',null,'','','',''));

mpmenu7=new mMenu('政务频道','http://www.lztour.gov.cn/html/zwpd.html','self','','','','');
mpmenu7.addItem(new mMenuItem(' 组织机构','http://www.lztour.gov.cn/html/zwpd/zwxxgk/zzjg.html','self',false,'组织机构',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 政务动态','http://www.lztour.gov.cn/html/zwpd/zwxxgk/dt.html','self',false,'政务动态',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 办事指南','http://www.lztour.gov.cn/html/zwpd/zwxxgk/bszn.html','self',false,'办事指南',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 网上咨询','http://www.lztour.gov.cn/html/zwpd/zmhd/consul/index.asp','blank',false,'网上咨询',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 网上申报','http://www.lztour.gov.cn/html/zwpd/zxbs/wssb.html','self',false,'网上申报',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 网上投诉','http://www.lztour.gov.cn/html/zwpd/zmhd/complaint/index.asp','blank',false,'网上投诉',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 网上建议','http://www.lztour.gov.cn/html/zwpd/zmhd/suggestion/index.asp','blank',false,'网上建议',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 表格下载','http://www.lztour.gov.cn/html/zwpd/zxbs/bgxz.html','self',false,'表格下载',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 导游考试','http://www.lztour.gov.cn/html/zwpd/zxbs/dyks.html','self',false,'导游考试',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 旅游招商','http://www.lztour.gov.cn/html/zwpd/zwxxgk/lyzs.html','self',false,'旅游招商',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 效能建设','http://www.lztour.gov.cn/html/zwpd/zwxxgk/xnjs.html','self',false,'效能建设',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 政策法规','http://www.lztour.gov.cn/html/zwpd/zwxxgk/zcfg.html','self',false,'政策法规',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 旅游统计','http://www.lztour.gov.cn/html/zwpd/zwxxgk/lytj.html','self',false,'旅游统计',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 旅游规划','http://www.lztour.gov.cn/html/zwpd/zwxxgk/lygh.html','self',false,'旅游规划',null,'','','',''));
mpmenu7.addItem(new mMenuItem(' 政府信息公开','http://www.liuzhou.gov.cn/zwgk/xxgk/xxgkml/lyj/index.htm','blank',false,'政府信息公开',null,'','','',''));

mpmenu8=new mMenu('博客社区','http://zone.lztour.gov.cn/spaceindex.aspx','blank','','','','');

mpmenu9=new mMenu('旅游论坛','http://zone.lztour.gov.cn/forumindex.aspx','blank','','','','');

mpmenu10=new mMenu('企业黄页','','blank','','','','');
mwritetodocument();
