<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="Css/Public.css" type="text/css" rel="stylesheet">
<script language="javascript" >
// 窗口事件
// 当准备关闭页面的时候
function window.onbeforeunload()
{
}
// 当改变窗口大小的时候
function window.onresize()
{
Global_Right();
}
// 失去焦点的事件
function document.onbeforeactivate()
{
Global_Right();
}
// 当页面加载完成
function window.onload()
{
try{opener.top.CloseThisWindow();}
catch(e){}
// 建立列表
Default();
}
// 禁止鼠标右键
function document.oncontextmenu()
{
window.event.returnValue = false;
}
// 禁止选取
function document.onselectstart()
{
return false;
}
// 禁止冒泡
function FNoneBubbleUp()
{
window.event.cancelBubble = true;
}
/** Default **********************************************************************************************************************************************/
var MenuXml = null;
var NoneBubbleUp = " onbeforeactivate = window.event.cancelBubble = true; ";
// 清空一切
function Global_Right()
{
if( TFrondID != null )
{
BOverTimeID = null;
var MenuObj = eval( "document.all.B_"+ TFrondID );
TOut_Right( MenuObj );
BClick_Right_ChildClose( TFrondID );
TFrondID = null;
}
try{ document.all.SCW.style.display = 'none'; } catch(e){}
}
// 页面加载
function Default()
{
MenuXml = document.all.Menus.XMLDocument.documentElement;
document.all.TopMenus.innerHTML = TopMenu_Button() + Menus_Button() + Shortcut_CloseWindow();
document.all.TopMenus.attachEvent ( "onbeforeactivate", FNoneBubbleUp );
document.all.TopMenus.width = '1px';
document.all.LinkBottons.innerHTML = Shortcut_List();
SClick( "D" );
}
// 从菜单调用快捷按钮
function Global_Click( ID )
{
try{
var ThisObj = MenuXml.selectNodes("//MenuBotton[@Id='"+ ID +"']")[0];
var ThisSrc = ThisObj.getAttribute("Src");
if( ThisSrc.substring(0,3) == "JS:" )
{
eval( ThisSrc.replace( "JS:", "") );
}
else
{
ShortcutInfo_Add( ID );
var Obj = eval( "document.all.S_"+ ID );
SClick_Right( Obj );
}
}
catch(e)
{
SClick_Right( document.all.S_D );
}
}
/** 快捷按钮 **********************************************************************************************************************************************/
var ShortcutInfoOrder = "D";
var ShortcutInfo = "D";
function ShortcutInfo_Add( ID )
{
var NewShortcutInfoOrder = ID;
for( var i=0; i<ShortcutInfoOrder.split(',').length; i++ )
{
if ( ShortcutInfoOrder.split(',')[i] != ID ) NewShortcutInfoOrder += ","+ ShortcutInfoOrder.split(',')[i];
}
ShortcutInfoOrder = NewShortcutInfoOrder;
var ThisObj = eval( "document.all.S_"+ ID );
if( ThisObj == undefined ) ShortcutInfo = ShortcutInfo +","+ ID;
document.all.LinkBottons.innerHTML = Shortcut_List();
Src_Open( ID );
}
function ShortcutInfo_Double( ID )
{
var NewShortcutInfoOrder = "";
for( var i=1; i<ShortcutInfoOrder.split(',').length; i++ )
{
NewShortcutInfoOrder += ShortcutInfoOrder.split(',')[i] +",";
}
ShortcutInfoOrder = NewShortcutInfoOrder + ID;
document.all.LinkBottons.innerHTML = Shortcut_List();
var ThisID = ShortcutInfoOrder.split(',')[0];
Src_Open( ThisID );
return ThisID;
}
function ShortcutInfo_Del( ID )
{
var NewShortcutInfoOrder = "";
for( var i=0; i<ShortcutInfoOrder.split(',').length; i++ )
{
if ( ShortcutInfoOrder.split(',')[i] != ID ) NewShortcutInfoOrder = NewShortcutInfoOrder + ShortcutInfoOrder.split(',')[i] +",";
}
ShortcutInfoOrder = NewShortcutInfoOrder.substring( 0, NewShortcutInfoOrder.length -1 );
var NewShortcutInfo = "";
for( var i=0; i<ShortcutInfo.split(',').length; i++ )
{
if ( ShortcutInfo.split(',')[i] != ID ) NewShortcutInfo += ShortcutInfo.split(',')[i] +",";
}
ShortcutInfo = NewShortcutInfo.substring( 0, NewShortcutInfo.length -1 );
document.all.LinkBottons.innerHTML = Shortcut_List();
Global_Click( ShortcutInfoOrder.split(',')[0] );
}
function ShortcutInfo_DelOther( ID )
{
for( var i=1; i<ShortcutInfo.split(',').length; i++ )
{
if( ShortcutInfo.split(',')[i] != ID )
{
var FrameObj = eval( "document.all.F_"+ ShortcutInfo.split(',')[i] );
FrameObj.removeNode(true);
}
}
var NewShortcutInfoOrder = ID;
ShortcutInfoOrder = ID;
ShortcutInfo = "D"
if( ID != "D" )
{
ShortcutInfoOrder += ",D";
ShortcutInfo += ","+ ID;
}
document.all.LinkBottons.innerHTML = Shortcut_List();
}
function Src_Open( ID )
{
var ThisObj = MenuXml.selectNodes("//MenuBotton[@Id='"+ ID +"']")[0];
var FrameObj = eval("document.all.F_"+ ID);
if(FrameObj == undefined)
{
var newIframe = document.createElement("iframe");
newIframe.id = "F_"+ ID;
newIframe.src = ThisObj.getAttribute("Src");
newIframe.frameBorder = "0";
newIframe.width = "100%";
newIframe.height = "100%";
document.all.Frames.insertBefore(newIframe);
}
for( var i=0; i<Frames.childNodes.length; i++ ) Frames.childNodes[i].style.display = 'none';
FrameObj = eval("document.all.F_"+ ID);
FrameObj.style.display = '';
}
function Src_Del( ID )
{
if( ID == "D" ) return;
var FrameObj = eval("document.all.F_"+ ID)
FrameObj.removeNode(true);
ShortcutInfo_Del( ID );
}
function SClick( ID )
{
if( ShortcutInfoOrder.split(',')[0] != ID )
ShortcutInfo_Add( ID );
else
ID = ShortcutInfo_Double( ID );
var Obj = eval( "document.all.S_"+ ID );
SClick_Right( Obj );
}
function SOver( ID )
{
var Obj = eval( "document.all.S_"+ ID );
Obj.style.backgroundColor = '#ffffff';
Obj.parentNode.style.border = '#4B4A4A 1px solid';
}
function SOut( ID )
{
var Obj = eval( "document.all.S_"+ ID );
Obj.parentNode.style.border = '#9FA09F 1px solid';
Obj.style.backgroundColor = 'F4FFFF';
}
function SClick_Right( Obj )
{
Obj.style.borderTop = '#6C7168 1px solid';
Obj.style.borderLeft = '#6C7168 1px solid';
Obj.style.borderBottom = '#FFFFFF 1px solid';
Obj.style.borderRight = '#FFFFFF 1px solid';
Obj.style.backgroundColor = '#ffffff';
Obj.parentNode.style.border = '#9FA09F 1px solid';
Obj.childNodes[0].childNodes[0].style.left = '3px';
Obj.childNodes[0].childNodes[0].style.color = 'FF0000';
}
function SOut_Right( Obj )
{
Obj.parentNode.style.border = '#9FA09F 1px solid';
Obj.style.borderTop = '#FFFFFF 1px solid';
Obj.style.borderLeft = '#FFFFFF 1px solid';
Obj.style.borderBottom = '#FFFFFF 1px solid';
Obj.style.borderRight = '#FFFFFF 1px solid';
Obj.style.backgroundColor = 'F4FFFF';
Obj.childNodes[0].childNodes[0].style.left = '2px';
Obj.childNodes[0].childNodes[0].style.color = '111111';
}
function SMenu( ID )
{
var ThisID = ShortcutInfoOrder.split(',')[0];
if( ThisID != ID ) SClick( ID );
document.all.SCW.style.display = '';
if( ID == "D" )
document.all.SCW_C.style.display = 'none';
else
document.all.SCW_C.style.display = '';
document.all.SCW.style.top = document.body.scrollTop + event.clientY - document.all.SCW.offsetHeight;
document.all.SCW.style.left = document.body.scrollLeft + event.clientX;
}
// 关闭窗口
function CWClick()
{
document.all.SCW.style.display = 'none';
var ThisID = ShortcutInfoOrder.split(',')[0];
Src_Del( ThisID );
}
// 最小化
function XHClick()
{
document.all.SCW.style.display = 'none';
var ThisID = ShortcutInfoOrder.split(',')[0];
SClick( ThisID );
}
// 关闭其他窗口
function CWOther()
{
document.all.SCW.style.display = 'none';
var ThisID = ShortcutInfoOrder.split(',')[0];
ShortcutInfo_DelOther( ThisID );
Global_Click( ThisID );
}
// 所有的快捷按钮
function Shortcut_List()
{
var ReturnHtml = "<table cellpadding=/"0/" cellspacing=/"0/"><tr><td width=/"1/"><img src=/"images/desktop/0027.gif/"></td>";
for( var i=0; i<ShortcutInfo.split(',').length; i++ )
{
var ThisID = ShortcutInfo.split(',')[i];
var ThisName = "返回桌面";
if( ThisID != "D")
{
var ThisObj = MenuXml.selectNodes("//MenuBotton[@Id='"+ ThisID +"']")[0];
ThisName = ThisObj.getAttribute("Name");
}
var Event = " οnmοuseοver=/"SOver('"+ ThisID +"')/" οncοntextmenu=/"SMenu('"+ ThisID +"')/" οnmοuseοut=/"SOut('"+ ThisID +"')/" οnclick=/"SClick('"+ ThisID +"')/" ";
ReturnHtml += "<td>"+
"<div style=/"position:relative;top:1px;border-color:#9FA09F;border-width:1px;border-style:solid;/">"+
"<div id=/"S_"+ ThisID +"/" "+ Event +" style=/"height:18px;background-color:#F4FFFF;border-color:#FFFFFF;border-width:1px;border-style:solid;/">"+
"<div style=/"position:relative;/"><nobr style=/"position:relative;top:4px;left:2px;height:16px;color:111111/"> "+ ThisName +" </nobr></div></td>"+
"</div>"+
"</div>"+
"</td>";
if( ShortcutInfo.split(',')[i] == "D" )
ReturnHtml += "<td width=/"1/"><img src=/"images/desktop/0026.gif/" style=/"position:relative;top:2px;/"></td>";
else
ReturnHtml += "<td width=/"1/"><img src=/"images/desktop/0027.gif/"></td>";
}
ReturnHtml += "</tr></table>";
return ReturnHtml;
}
// 快捷关闭小窗口
function Shortcut_CloseWindow()
{
var EventCother = " οnclick=/"CWOther()/" ";
var EventX = " οnclick=/"XHClick()/" ";
var EventC = " οnclick=/"CWClick()/" ";
var ReturnHtml = ""+
"<table class=/"shadow/" Id=/"SCW/" style=/"DISPLAY: none; Z-INDEX: 10000; POSITION: absolute/" cellSpacing=/"0/" cellPadding=/"0/" width=/"120/" bgColor=/"#f5f5f8/" border=/"0/" style=/"DISPLAY: nones; Z-INDEX: 10000; POSITION: absolute/" onbeforeactivate=/"window.event.cancelBubble=true;/">"+
"<tr οnmοusemοve=/"this.style.backgroundColor='#FFEADA'/" οnmοuseοut=/"this.style.backgroundColor='#EEFAEF'/" bgColor=/"#eefaef/">"+
"<td align=/"center/" width=/"22/" height=/"22/" background=/"Images/desktop/062.gif/"> </td>"+
"<td colspan=/"2/"><span style=/"CURSOR: default; POSITION: relative; TOP: 2px/" "+ EventCother +"> 关闭其他窗口</span></td>"+
"</tr>"+
"<tr bgColor=/"#eefaef/">"+
"<td align=/"center/" width=/"22/" height=/"2/" background=/"Images/desktop/062.gif/"></td>"+
"<td width=/"5/"></td>"+
"<td width=/"93/"><img src=/"Images/desktop/0017.gif/" width=/"100%/" height=/"2/"></td>"+
"</tr>"+
"<tr οnmοusemοve=/"this.style.backgroundColor='#FFEADA'/" οnmοuseοut=/"this.style.backgroundColor='#EEFAEF'/" bgColor=/"#eefaef/">"+
"<td align=/"center/" height=/"22/" background=/"Images/desktop/062.gif/"><IMG style=/"POSITION: relative; TOP: 1px;left:1px;/" src=/"Images/desktop/0022.gif/"></td>"+
"<td colspan=/"2/"><span style=/"CURSOR: default; POSITION: relative; TOP: 2px/" "+ EventX +"> 最小化窗口</span></td>"+
"</tr>"+
"<tr id=/"SCW_C/" οnmοusemοve=/"this.style.backgroundColor='#FFEADA'/" "+ EventC + " οnmοuseοut=/"this.style.backgroundColor='#EEFAEF'/" bgColor=/"#eefaef/">"+
"<td align=/"center/" height=/"22/" background=/"Images/desktop/062.gif/"><IMG style=/"POSITION: relative; TOP: 1px;left:1px;/" src=/"Images/desktop/0023.gif/"></td>"+
"<td colspan=/"2/"><span style=/"CURSOR: default; POSITION: relative; TOP: 2px/"> 关闭窗口</span></td>"+
"</tr>"+
"</table>";
return ReturnHtml;
}
/** 菜单 **********************************************************************************************************************************************/
function TClick_Right( Obj )
{
Obj.style.borderColor = '#636563';
Obj.style.borderBottom = '#E7E7E7 1px solid';
Obj.style.backgroundColor = '#FFFBF7';
Obj.height = '23px';
Obj.style.top = '2px';
Obj.rows[0].cells[0].childNodes[0].style.top = '1px';
}
function TClick_Right_ChildOpen( ID )
{
var ChildObj = eval( "document.all.M_"+ ID );
ChildObj.style.display = '';
var UpObj = eval( "document.all.B_"+ ID );
var ParentObj = UpObj;
var ParentTop = ParentObj.offsetTop;
var ParentLeft = ParentObj.offsetLeft;
while (ParentObj = ParentObj.offsetParent)
{
ParentTop += ParentObj.offsetTop;
ParentLeft += ParentObj.offsetLeft;
}
ChildObj.style.top = ParentTop + UpObj.offsetHeight - 2;
if( window.document.body.clientWidth - ChildObj.offsetWidth +2 < ParentLeft && (( ParentLeft + UpObj.offsetWidth ) - ChildObj.offsetWidth +2 ) > 0 )
ChildObj.style.left = ( ParentLeft + UpObj.offsetWidth ) - ChildObj.offsetWidth +2;
else
ChildObj.style.left = ParentLeft;
}
function TClick_Right_ChildClose( ID )
{
BClick_Right_ChildClose( ID );
}
function TOver_Right( Obj )
{
Obj.style.backgroundColor = '#D4DAE9';
Obj.style.borderBottom = '#08246B 1px solid';
Obj.style.borderColor = '#08246B';
Obj.height = '20px';
Obj.style.top = '2px';
Obj.rows[0].cells[0].childNodes[0].style.top = '2px';
}
function TOut_Right( Obj )
{
Obj.style.borderColor = '#EFEBEF';
Obj.style.borderBottom = '#EFEBEF 1px solid';
Obj.style.backgroundColor = '#EFEBEF';
Obj.height = '20px';
Obj.style.top = '2px';
Obj.rows[0].cells[0].childNodes[0].style.top = '2px';
}
function BOver_Right( Obj )
{
if( Obj.style.backgroundColor != '' ) return;
Obj.style.border = '#08246B 1px solid';
Obj.style.backgroundColor = '#B5BED6';
Obj.rows[0].cells[1].style.left = '5px';
if( Obj.rows[0].cells[2] != undefined ) Obj.rows[0].cells[2].style.left = '1px';
}
function BOut_Right( Obj )
{
if( Obj.style.backgroundColor == '' ) return;
Obj.style.border = '';
Obj.style.backgroundColor = '';
Obj.rows[0].cells[1].style.left = '6px';
if( Obj.rows[0].cells[2] != undefined ) Obj.rows[0].cells[2].style.left = '0px';
}
function BClick_Right_Src( ID )
{
Global_Right();
Global_Click( ID );
}
function BClick_Right_ChildOpen( ID )
{
var ThisObj = eval( "document.all.B_"+ ID );
var ChildObj = eval( "document.all.M_"+ ID );
ChildObj.style.display = '';
var ParentObj = ThisObj;
var ParentTop = ParentObj.offsetTop;
var ParentLeft = ParentObj.offsetLeft;
while (ParentObj = ParentObj.offsetParent)
{
ParentTop += ParentObj.offsetTop;
ParentLeft += ParentObj.offsetLeft;
}
ChildObj.style.top = ParentTop;
ChildObj.style.left = ParentLeft + ThisObj.offsetWidth +1
if( window.document.body.clientWidth < parseInt( ChildObj.style.left.replace("px","") ) + ChildObj.offsetWidth && ( ParentLeft - ChildObj.offsetWidth ) > 0 )
{
ChildObj.style.left = ParentLeft - ChildObj.offsetWidth;
}
}
function BClick_Right_ChildClose( ID )
{
var MenuObj = eval( "document.all.M_"+ ID );
MenuObj.style.display = 'none';
var ChildObjs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ID +"']");
for( var i=0; i<ChildObjs.length; i++ )
{
var ChildId = ChildObjs[i].getAttribute("Id");
var ChildObj = eval( "document.all.B_"+ ChildId );
BOut_Right( ChildObj );
var Child2Objs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ChildId +"']");
if( Child2Objs.length != 0 ) BClick_Right_ChildClose( ChildId );
}
}
var TFrondID = null;
function TClick( ID )
{
var ThisObj = eval( "document.all.B_"+ ID );
if( TFrondID == null )
{
TClick_Right( ThisObj );
TClick_Right_ChildOpen( ID );
TFrondID = ID;
}
else
{
TOver_Right( ThisObj );
TClick_Right_ChildClose( ID );
TFrondID = null;
}
}
function TOver( ID )
{
try{ document.all.SCW.style.display = 'none'; } catch(e){}
var ThisObj = eval( "document.all.B_"+ ID );
if ( TFrondID == null )
{
TOver_Right( ThisObj );
TClick_Right_ChildClose( ID );
}
else if( TFrondID != ID )
{
var FrondObj = eval( "document.all.B_"+ TFrondID );
TClick_Right( ThisObj );
TClick_Right_ChildClose( TFrondID );
TClick_Right_ChildOpen( ID );
TOut_Right( FrondObj );
TFrondID = ID;
}
}
function TOut( ID )
{
if ( TFrondID == null )
{
var ThisObj = eval( "document.all.B_"+ ID );
TOut_Right( ThisObj );
TFrondID = null;
}
}
function BOver( PID, ID )
{
var ChildObjs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ PID +"']");
for( var i=0; i<ChildObjs.length; i++ )
{
var ChildID = ChildObjs[i].getAttribute("Id");
BOut( ChildID );
var Child2Objs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ChildID +"']");
if( Child2Objs.length != 0 && ID != ChildID ) BClick_Right_ChildClose( ChildID );
}
var ThisObj = eval( "document.all.B_"+ ID );
BOver_Right( ThisObj );
var Child2Objs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ID +"']");
if( Child2Objs.length != 0 )
{
BOverTimeID = ID;
window.setTimeout( 'BOver_Time()', 400 );
}
else
{
BOverTimeID = null;
}
}
var BOverTimeID = null;
function BOver_Time()
{
if( BOverTimeID != null ) BClick( BOverTimeID );
}
function BOut( ID )
{
var ThisObj = eval( "document.all.B_"+ ID );
BOut_Right( ThisObj );
}
function BClick( ID )
{
var ThisObj = eval( "document.all.B_"+ ID );
var ChildObjs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ID +"']");
if( ChildObjs.length == 0 ) BDblClick( ID );
else
{
BClick_Right_ChildOpen( ID );
}
}
function BDblClick( ID )
{
var MenuBottonObj = MenuXml.selectNodes("//MenuBotton[@Id='"+ ID +"']");
var MenuSrc = MenuBottonObj[0].getAttribute("Src");
if( MenuSrc != null && MenuSrc != '' )
{
BClick_Right_Src( ID );
}
}
// 所有顶级按钮集合
function TopMenu_Button()
{
var MenuTopMenuObj = MenuXml.selectNodes("//TitleMenu");
var strMenuTopHtml = "<table height=/"100%/" border=/"0/" cellpadding=/"0/" cellspacing=/"0/" style=/"POSITION: absolute;z-index:1000/" "+ NoneBubbleUp +"><tr>";
for(var i=0; i<MenuTopMenuObj.length; i++)
{
var strMenuId = MenuTopMenuObj[i].getAttribute("Id");
var strMenuName = MenuTopMenuObj[i].getAttribute("Name");
var thisEvent = " οnclick=/"TClick('"+ strMenuId +"');/" οnmοuseοver=/"TOver('"+ strMenuId +"');/" οnmοuseοut=/"TOut('"+ strMenuId +"');/" ";
strMenuTopHtml += "<td style=/"position:relative;top:1px;/" "+ NoneBubbleUp +">"+
"<table id=/"B_"+ strMenuId +"/" height=/"20px/" "+ NoneBubbleUp +" "+ thisEvent +" width=/"1/" border=/"0/" cellspacing=/"0/" cellpadding=/"2/" style=/"position:relative;top:2px;border-color:#EFEBEF;border-width:1px;border-style:solid;/">"+
"<tr "+ NoneBubbleUp +">"+
"<td "+ NoneBubbleUp +">"+
"<nobr style=/"position:relative;top:2px;cursor:default/" "+ NoneBubbleUp +">"+
"<span style=/"width:1px/" "+ NoneBubbleUp +"></span>"+ strMenuName +"<span style=/"width:1px/" "+ NoneBubbleUp +"></span>"+
"</nobr>"+
"</td>"+
"</tr>"+
"</table>"+
"</td>";
}
strMenuTopHtml += "</tr></table>";
return strMenuTopHtml;
}
// 所有的列表
function Menus_Button()
{
var MenuBottonObjs = MenuXml.selectNodes("//TitleMenu");
var MenuHtmls = "";
for(var i=0; i<MenuBottonObjs.length; i++)
{
var strMenuId = MenuBottonObjs[i].getAttribute("Id");
MenuHtmls += Menus_ButtonGet( strMenuId );
}
return MenuHtmls;
}
var ZIndex = 500;
function Menus_ButtonGet( ParentId )
{
ZIndex ++;
var MenuBottonObjs = MenuXml.selectNodes("//MenuBotton[../@Id='"+ ParentId +"']");
var MenuHtmls = "<table "+ NoneBubbleUp +" id=/"M_"+ ParentId +"/" cellpadding=/"0/" cellspacing=/"1/" width=/"160/" class=/"shadow/" background=/"images/desktop/0024.gif/" bgcolor=/"#FFFBF7/" style=/"POSITION: absolute;top:99px;left:84px;border-color:#636563;border-width:1px;border-style:solid;z-index:"+ ZIndex +";display:none/"><tr><td>";
var MenuChildHtmls = "";
for(var i=0; i<MenuBottonObjs.length; i++)
{
var AMenuBottonId = MenuBottonObjs[i].getAttribute("Id");
var AmenuBottonName = MenuBottonObjs[i].getAttribute("Name");
var AmenuBottonIcon = MenuBottonObjs[i].getAttribute("Ico");
var AmenuBottonOrder = MenuBottonObjs[i].getAttribute("Order");
var Event = " οnmοusemοve=/"BOver('"+ ParentId +"', '"+ AMenuBottonId +"')/" οnclick=/"BClick('"+ AMenuBottonId +"')/" οndblclick=/"BDblClick('"+ AMenuBottonId +"')/" ";
MenuHtmls += "<table id=/"B_"+ AMenuBottonId +"/" "+ NoneBubbleUp +" cellpadding=/"0/" value=/""+ AMenuBottonId +"/" cellspacing=/"1/" height=/"24/" width=/"100%/" "+ Event +">"+
"<tr "+ NoneBubbleUp +">"+
"<td "+ NoneBubbleUp +" width=/"20/"><img src=/""+ AmenuBottonIcon +"/" style=/"position:relative;left:1px;/"></td>"+
"<td "+ NoneBubbleUp +" style=/"position:relative;top:2px;left:6px/">"+ AmenuBottonName +"</td>";
// 子菜单
if( MenuXml.selectNodes("//MenuBotton[../@Id='"+ AMenuBottonId +"']").length != 0 )
{
MenuHtmls += "<td "+ NoneBubbleUp +" width=/"1/" style=/"position:relative;left:0px;top:1px/"><img src=/"images/desktop/0016.gif/" "+ NoneBubbleUp +"></td>"
MenuChildHtmls += Menus_ButtonGet( AMenuBottonId );
}
MenuHtmls += "</tr></table>"
// 分割条
if( AmenuBottonOrder.replace("#", "") != AmenuBottonOrder )
{
MenuHtmls += "<table cellSpacing=/"0/" cellPadding=/"0/" width=/"100%/" border=/"0/" "+ NoneBubbleUp +">"+
"<tr bgColor=/"#eefaef/" "+ NoneBubbleUp +">"+
"<td align=/"center/" width=/"24/" height=/"2/" background=/"Images/desktop/062.gif/" "+ NoneBubbleUp +"></td>"+
"<td width=/"5/" "+ NoneBubbleUp +"></td>"+
"<td width=/"131/"><img src=/"Images/desktop/0017.gif/" width=/"100%/" height=/"2/" "+ NoneBubbleUp +"></td>"+
"</tr>"+
"</table>";
}
}
if( MenuBottonObjs.length == 0 )
{
MenuHtmls += "<table cellpadding=/"0/" cellspacing=/"1/" height=/"24/" width=/"100%/" "+ NoneBubbleUp +">"+
"<tr "+ NoneBubbleUp +">"+
"<td width=/"20/" "+ NoneBubbleUp +"> </td>"+
"<td style=/"position:relative;top:2px;left:6px;color:B8BCB8/" "+ NoneBubbleUp +">没有子节点</td>"+
"</tr>"+
"</table>"
}
MenuHtmls += "</td></tr></table>"
return MenuChildHtmls + MenuHtmls;
}
</script>
</HEAD>
<body style="CURSOR: default" bottomMargin="0" leftMargin="0" topMargin="0" scroll="no"
rightMargin="0">
<form id="Form1" method="post" runat="server">
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td background="Images/desktop/0007.jpg" height="29">
<table height="29" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td width="100%">
<table height="100%" width="100%" cellSpacing="2" cellPadding="0" border="0">
<tr>
<td id="TopMenus"> </td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="Frames"><iframe id="F_D" frameborder="0" width="100%" height="100%"></iframe></td>
</tr>
<tr>
<td height="24" background="IMAGES/desktop/0018.gif" id="LinkBottons"> </td>
</tr>
</table>
<XML id='Menus'>
<AhuiMenu>
<TitleMenu Id='1' Name='系统功能'>
<MenuBotton Id='2' Name='我的菜单' Src='edit.htm' Ico='images/desktopicon/none.gif' Order='1'></MenuBotton>
<MenuBotton Id='3' Name='阿灰工作室' Src='http://ahui.net' Ico='images/desktopicon/SetupManage.gif' Order='2#'></MenuBotton>
<MenuBotton Id='4' Name='飞机模型' Src='http://www.carolbox.cn' Ico='images/desktopicon/none.gif' Order='3'></MenuBotton>
</TitleMenu>
<TitleMenu Id='5' Name='人事系统'>
<MenuBotton Id='6' Name='组织机耕' Src='about:blank#6' Ico='images/desktopicon/Mission.gif' Order='1'></MenuBotton>
<MenuBotton Id='7' Name='好好学习' Src='JS:alert()' Ico='images/desktopicon/Mail.gif' Order='2'></MenuBotton>
<MenuBotton Id='8' Name='天天向上' Src='天天向上' Ico='images/desktopicon/BBS.gif' Order='3#'>
<MenuBotton Id='98' Name='天天向上' Src='天天向上' Ico='images/desktopicon/none.gif' Order='1'></MenuBotton>
<MenuBotton Id='27' Name='晴朗万里空' Src='晴朗万里空' Ico='images/desktopicon/Mission.gif' Order='2#'></MenuBotton>
<MenuBotton Id='38' Name='黑黑不归路' Src='黑黑不归路' Ico='images/desktopicon/none.gif' Order='3'>
<MenuBotton Id='16' Name='黎明前的黑暗' Src='黎明前的黑暗' Ico='images/desktopicon/Position.gif' Order='1'></MenuBotton>
</MenuBotton>
</MenuBotton>
<MenuBotton Id='10' Name='我是傻瓜' Src='我是傻瓜' Ico='images/desktopicon/none.gif' Order='4'></MenuBotton>
</TitleMenu>
<TitleMenu Id='9' Name='看看天空' Src='看看天空'></TitleMenu>
</AhuiMenu>
</XML>
</form>
</body>
</HTML>