function etangNavigate(url)
{
	document.location = url;
}
function getGNBLinkColor(moduleID)
{
	if (moduleID == "dglt") return "#42829C";
	if (moduleID == "awtj") return "#A5B600";
	if (moduleID == "jlb") return "#189EA5";
	if (moduleID == "duanxin") return "#00AEC6";
	if (moduleID == "renwu") return "#BC21CE";	
	return "#C64142";
}

  function getGNBLayerColor(moduleID)
  {
	return "#ffffff";
  }

  function getGNBLayerHighlightColor(moduleID)
  {
	  if (moduleID == "renwu") return "#996633";
	  if (moduleID == "awtj") return "#009966";
	  if (moduleID == "dglt") return "#006699";
	  if (moduleID == "jlb") return "#CC3300";
	  if (moduleID == "duanxin") return "#336666";	
	  return "#660099";	  
  }

  function generateGNBLayerMenu(moduleID, subMenu, menuID, strOption)
  {
    if (subMenu[0].substr(0, 7) == "http://")
      var href = "javascript:etangNavigate('"+subMenu[0].replace(/'/g, '\\\'')+"');"
    else
      var href = subMenu[0];

    if (subMenu[2] == "normal")
      return "<TD "+strOption+" ONMOUSEOVER=\"javascript:highlightLayer('"+moduleID+"', '"+menuID+"')\" ONMOUSEOUT=\"javascript:restoreLayer('"+moduleID+"', '"+menuID+"')\" ONMOUSEDOWN=\""+href+"\" STYLE=\"cursor:hand\" CLASS=gnbSubMenu>&nbsp;<SPAN ID=text_"+menuID+" class=\"menu_font\">" + subMenu[1] + "</SPAN>&nbsp;&nbsp;</TD>";
    else if (subMenu[2] == "special")
      return "<TD "+strOption+" ONMOUSEOVER=\"javascript:highlightLayer('"+moduleID+"', '"+menuID+"');document.all.arrow_"+menuID+".color='#FFFFFF';\" ONMOUSEOUT=\"javascript:restoreLayer('"+moduleID+"', '"+menuID+"');document.all.arrow_"+menuID+".color='#BFBFBF';\" ONMOUSEDOWN=\""+href+"\" STYLE=\"cursor:hand\" CLASS=gnbSubMenu>&nbsp;<SPAN ID=text_"+menuID+"><FONT ID=arrow_"+menuID+" COLOR=#BFBFBF style='font-size:8pt;'>⒑</FONT>" + subMenu[1] + "</SPAN>&nbsp;&nbsp;</TD>";
    else
      return "<TD "+strOption+" ONMOUSEOVER=\"javascript:highlightLayer('"+moduleID+"', '"+menuID+"')\" ONMOUSEOUT=\"javascript:restoreLayer('"+moduleID+"', '"+menuID+"');document.all.text_"+menuID+".style.color='#646464';\" ONMOUSEDOWN=\""+href+"\" STYLE=\"cursor:hand; color:#646464;\" CLASS=gnbSubMenu ALIGN=right>&nbsp;<SPAN ID=text_"+menuID+"><b>more <FONT SIZE=-2>&gt;</FONT></b></SPAN>&nbsp;&nbsp;</TD>";
  }

  function generateGNBLayerTop(moduleID, subMenu, bgcolor, menuID)
  {
    document.writeln(
"<TR VALIGN=bottom HEIGHT=1>"+
  "<TD ROWSPAN=2 BGCOLOR=#></TD>"+
  "<TD ID="+menuID+" BGCOLOR="+bgcolor+" ROWSPAN=2 COLSPAN=3></TD>"+
  generateGNBLayerMenu(moduleID, subMenu, menuID, 'ID='+menuID+' BGCOLOR='+bgcolor+' ROWSPAN=2')+
  "<TD ID="+menuID+" BGCOLOR="+bgcolor+" ROWSPAN=2 COLSPAN=2></TD>"+
  "<TD ROWSPAN=2 BGCOLOR=#717171></TD>"+
  "<TD></TD>"+
"</TR>"+

"<TR BGCOLOR="+bgcolor+" VALIGN=bottom HEIGHT=17>"+
  "<TD BGCOLOR=#333333></TD>"+
"</TR>");
  }

  function generateGNBLayerCommon(moduleID, subMenu, bgcolor, menuID)
  {
	  /*
    document.writeln(
"<TR ID="+menuID+" BGCOLOR="+bgcolor+" VALIGN=bottom HEIGHT=18>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD COLSPAN=3></TD>"+
  generateGNBLayerMenu(moduleID, subMenu, menuID, '')+
  "<TD COLSPAN=2></TD>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD BGCOLOR=#333333></TD>"+
"</TR>");
	*/
	document.writeln("<TR ID="+menuID+" BGCOLOR="+bgcolor+" VALIGN=bottom HEIGHT=18>");
	document.writeln(generateGNBLayerMenu(moduleID, subMenu, menuID, ''));
	document.writeln("</tr>");
  }

  function generateGNBLayerBottom(moduleID, subMenu, bgcolor, menuID)
  {
    document.writeln(
"<TR ID="+menuID+" BGCOLOR="+bgcolor+" VALIGN=bottom HEIGHT=16>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD></TD>"+
  "<TD ROWSPAN=2></TD>"+
  "<TD ROWSPAN=3></TD>"+
  generateGNBLayerMenu(moduleID, subMenu, menuID, 'ROWSPAN=3')+
  "<TD ROWSPAN=2></TD>"+
  "<TD></TD>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD ROWSPAN=2 BGCOLOR=#333333></TD>"+
"</TR>"+

"<TR HEIGHT=1>"+
  "<TD ROWSPAN=2></TD>"+
  "<TD ROWSPAN=2 BGCOLOR=#717171></TD>"+
  "<TD ROWSPAN=2 BGCOLOR=#717171></TD>"+
  "<TD ROWSPAN=2 BGCOLOR=#333333></TD>"+
"</TR>"+

"<TR HEIGHT=1>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD></TD>"+
"</TR>");
  }
  
  function generateGNBLayerLine()
  {
    document.writeln(
"<TR BGCOLOR=#D3D3D3 HEIGHT=1>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD COLSPAN=6></TD>"+
  "<TD BGCOLOR=#717171></TD>"+
  "<TD BGCOLOR=#333333></TD>"+
"</TR>");
  }

  function generateGNBLayer(moduleID, subMenus)
  {
    var bgcolor = getGNBLayerColor(moduleID);

    document.writeln(
"<DIV ID=gnb_layer_"+moduleID+"  ONMOUSEOVER=\"javascript:showSubMenuLayer('"+moduleID+"')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer('"+moduleID+"')\" STYLE=\"position:absolute; display:none; z-index:99\">");

	document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> ");
document.write(" <tr> ");
document.write(" <td> ");
document.write(" <table border=\"0\" style=\"border: 1 solid #999999\" cellspacing=\"0\" cellpadding=\"0\"> ");
document.write(" <tr> ");
document.write(" <td width=\"100%\" valign=\"top\" class=\"font\"> ");
document.write(" <table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\">");

    var isSpecial = false;
    var bgcolor = '#FFFFFF';

    for (key in subMenus)
    {
//      if (subMenus[key][2] != 'normal')
//        bgcolor = "#F8F8F3";
//      else if (key % 2 == 0)
        bgcolor = getGNBLayerColor(moduleID);
//      else
 //       bgcolor = "#FFFFFF";

//      if (subMenus[key][2] != 'normal' && !isSpecial)
//      {
//        generateGNBLayerLine();
//        isSpecial = true;
 //     }

//      if (key == subMenus.length - 1)
//        generateGNBLayerBottom(moduleID, subMenus[key], bgcolor, "gnb_layer_"+moduleID+"_"+key);
//      else if (key == 0)
//        generateGNBLayerTop(moduleID, subMenus[key], bgcolor, "gnb_layer_"+moduleID+"_"+key);
//      else
        generateGNBLayerCommon(moduleID, subMenus[key], bgcolor, "gnb_layer_"+moduleID+"_"+key);
    }
document.write("</table></td> ");
document.write(" </tr> ");
document.write(" </table></td> ");
document.write(" <td rowspan=\"2\" valign=\"top\" background=\"kuai.gif\"><img src=\"\" width=\"2\" height=\"2\"></td> ");
document.write(" </tr> ");
document.write(" <tr> ");
document.write(" <td background=\"kuai.gif\"><img src=\"\" width=\"2\" height=\"2\"></td> ");
document.write(" </tr> ");
document.write(" </table>");
//	document.writeln("</TABLE>")
document.writeln("</div>")
		/*
    document.writeln(
  "<TR HEIGHT=1>"+
    "<TD COLSPAN=2></TD>"+
    "<TD BGCOLOR=#333333></TD>"+
    "<TD COLSPAN=2 BGCOLOR=#717171></TD>"+
    "<TD COLSPAN=3 BGCOLOR=#333333></TD>"+
    "<TD></TD>"+
  "</TR>"+

  "<TR HEIGHT=1>"+
    "<TD COLSPAN=4></TD>"+
    "<TD COLSPAN=2 BGCOLOR=#333333></TD>"+
    "<TD COLSPAN=3></TD>"+
  "</TR>"+

"</TABLE>"+
"</DIV>");*/
  }

  var originalLayerBGColor;
  var originalLayerFontColor;

  function highlightLayer(moduleID, menuID)
  {
    //showSubMenuLayer(moduleID);
    originalLayerBGColor = document.getElementById(menuID).bgColor;
    var colMenu = document.getElementsByName(menuID);
    for (var i=0; i<colMenu.length; i++)
      colMenu[i].bgColor = getGNBLayerHighlightColor(moduleID);
    document.all("text_"+menuID).style.color = "#FFFFFF";
  }

  function restoreLayer(moduleID, menuID)
  {
    //hideSubMenuLayer(moduleID);
    var colMenu = document.getElementsByName(menuID);
    for (var i=0; i<colMenu.length; i++)
      colMenu[i].bgColor = originalLayerBGColor;
    document.all("text_"+menuID).style.color = "#333333";
  }

  var originalMenuColor;
  var originalMenuFontWeight;
  var currentShewModuleID = '';

  function showSubMenuLayer(moduleID)
  {
    if (currentShewModuleID == moduleID)
      return;

    if (currentShewModuleID != '')
      hideSubMenuLayer(currentShewModuleID);

    currentShewModuleID = moduleID;

    var tg = document.all( "gnb_layer_" + moduleID);
    var link = document.all( "gnb_link_" + moduleID);
    var linkText = document.all( "gnb_link_text_" + moduleID);

    originalMenuColor = linkText.style.color;
    originalMenuFontWeight = linkText.style.fontWeight;
    linkText.style.color = getGNBLinkColor(moduleID);
//    linkText.style.fontWeight = "bold";

    if (tg != null)
    {
      tg.style.posTop = link.offsetTop + link.offsetHeight;
      tg.style.posLeft = link.offsetLeft;
      tg.style.display = "inline";

      for (var i=0; i<objectForClipping.length; i++)
      {
        var frameName = objectForClipping[i];
        var tableName = oTableForClipping[i];    
        var oFrame = document.all[frameName];
        var oTable = document.all[tableName]; 

        if( 'undefined' != typeof(tableName) && '' != tableName )    
        {    
           var oldFrameOffsetTop = oFrame.offsetTop;    
           var oldFrameOffsetLeft = oFrame.offsetLeft;    
           var frameOffsetTop = oFrame.offsetTop + parseInt(oTable.style.top);    
           var frameOffsetLeft = oFrame.offsetLeft + parseInt(oTable.style.left);    
           var frameOffsetBottom = frameOffsetTop + oFrame.offsetHeight;    
           var frameOffsetRight = frameOffsetLeft + oFrame.offsetWidth;    
        }    
        else    
        {  
          oFrame.style.position = 'relative';

          var frameOffsetTop = oFrame.offsetTop;
          var frameOffsetLeft = oFrame.offsetLeft;
          var frameOffsetBottom = oFrame.offsetTop + oFrame.offsetHeight;
          var frameOffsetRight = oFrame.offsetLeft + oFrame.offsetWidth;
        }

        var layerOffsetTop = tg.offsetTop;
        var layerOffsetBottom = tg.offsetTop + tg.offsetHeight;
        var layerOffsetLeft = tg.offsetLeft;
        var layerOffsetRight = tg.offsetLeft + tg.offsetWidth;

        if (frameOffsetTop <= layerOffsetBottom &&
            (layerOffsetLeft >= frameOffsetLeft && layerOffsetLeft <= frameOffsetRight ||
             frameOffsetLeft >= layerOffsetLeft && frameOffsetLeft <= layerOffsetRight))
        {
          oFrame.style.position = 'absolute';

          if( 'undefined' != typeof(tableName) && '' != tableName )    
          {    
            oFrame.style.top = oldFrameOffsetTop;    
            oFrame.style.left = oldFrameOffsetLeft;    
          }    
          else    
          {    
            oFrame.style.top = frameOffsetTop;
            oFrame.style.left = frameOffsetLeft;
          }
          oFrame.style.clip = "rect(" + (layerOffsetBottom - frameOffsetTop + 1) + " auto auto auto)";
        }
      }
    }
  }

  function hideSubMenuLayer(moduleID, force)
  {
    if (currentShewModuleID != moduleID)
      return;
    var tg = document.all("gnb_layer_" + moduleID);
    var linkText = document.all("gnb_link_text_"+moduleID);
    currentShewModuleID = '';
//    linkText.style.color = originalMenuColor?originalMenuColor:"#333333";
	linkText.style.color = "#333333";
    linkText.style.fontWeight = originalMenuFontWeight?originalMenuFontWeight:"normal";

    if (tg != null)
    {
      tg.style.display = "none";
      for (var i=0; i<objectForClipping.length; i++)
      {
        var frameName = objectForClipping[i];
        var tableName = oTableForClipping[i]; 
        var oFrame = document.all[frameName];
        var oTable = document.all[tableName]; 

        oFrame.style.position = 'relative';
        oFrame.style.top = 0;
        oFrame.style.left = 0;
        oFrame.style.clip = "rect(auto)";
      }
    }
  }

  function showSubMenuLayer2(moduleID)
  {
    if (currentShewModuleID == moduleID)
      return;

    if (currentShewModuleID != '')
      hideSubMenuLayer(currentShewModuleID);

    currentShewModuleID = moduleID;

    var linkText = document.all("gnb_link_text_"+moduleID);

    originalMenuColor = linkText.style.color;
    originalMenuFontWeight = linkText.style.fontWeight;
    linkText.style.color = getGNBLinkColor(moduleID);
    linkText.style.fontWeight = "bold";
  }

  function hideSubMenuLayer2(moduleID)
  {
    if (currentShewModuleID != moduleID)
      return;

    var linkText = document.all("gnb_link_text_"+moduleID);

    currentShewModuleID = '';

//    linkText.style.color = originalMenuColor?originalMenuColor:"#333333";
	linkText.style.color = "#333333";
    linkText.style.fontWeight = originalMenuFontWeight?originalMenuFontWeight:"normal";
  }

  var objectForClipping = new Array();
  var oTableForClipping = new Array();

  function addIFrameForClipping(frameName, tableName)
  {
    var count = objectForClipping.length;
    objectForClipping[count] = frameName;
    oTableForClipping[count] = tableName;
  }


var subMenus_renwu = new Array();
subMenus_renwu[0] = new Array();
subMenus_renwu[0][0] = "http://www.qzdzj.gov.cn/zhishi/a.htm";
subMenus_renwu[0][1] = "地震基础知识";
subMenus_renwu[0][2] = "normal";
subMenus_renwu[1] = new Array();
subMenus_renwu[1][0] = "http://www.qzdzj.gov.cn/zhishi/b.htm";
subMenus_renwu[1][1] = "地震前兆与预报 ";
subMenus_renwu[1][2] = "normal";
subMenus_renwu[2] = new Array();
subMenus_renwu[2][0] = "http://www.qzdzj.gov.cn/zhishi/c.htm";
subMenus_renwu[2][1] = "避震与救护";
subMenus_renwu[2][2] = "normal";
subMenus_renwu[3] = new Array();
subMenus_renwu[3][0] = "http://www.qzdzj.gov.cn/zhishi/d.htm";
subMenus_renwu[3][1] = "我国的地震状况";
subMenus_renwu[3][2] = "normal";
subMenus_renwu[4] = new Array();
subMenus_renwu[4][0] = "http://www.qzdzj.gov.cn/zhishi/e.htm";
subMenus_renwu[4][1] = "相关名词解释";
subMenus_renwu[4][2] = "normal";

var subMenus_dglt = new Array();
subMenus_dglt[0] = new Array();
subMenus_dglt[0][0] = "http://www.qzdzj.gov.cn/taiwang/";
subMenus_dglt[0][1] = "泉州市地震监测区域台网 ";
subMenus_dglt[0][2] = "normal";
subMenus_dglt[1] = new Array();
subMenus_dglt[1][0] = "http://www.qzdzj.gov.cn/yubao/1.htm";
subMenus_dglt[1][1] = "地震预报专题 ";
subMenus_dglt[1][2] = "normal";



var subMenus_awtj = new Array();
subMenus_awtj[0] = new Array();	 	
subMenus_awtj[0][0] = "http://www.qzdzj.gov.cn/fagui/1.htm";
subMenus_awtj[0][1] = "中华人民共和国防震减灾法";
subMenus_awtj[0][2] = "normal";
subMenus_awtj[1] = new Array();
subMenus_awtj[1][0] = "http://www.qzdzj.gov.cn/fagui/2.htm";
subMenus_awtj[1][1] = "中华人民共和国地震预报条例";
subMenus_awtj[1][2] = "normal";
subMenus_awtj[2] = new Array();
subMenus_awtj[2][0] = "http://www.qzdzj.gov.cn/fagui/3.htm";
subMenus_awtj[2][1] = "中国地震局行政执法规定";
subMenus_awtj[2][2] = "normal";
subMenus_awtj[3] = new Array();
subMenus_awtj[3][0] = "http://www.qzdzj.gov.cn/fagui/4.htm";
subMenus_awtj[3][1] = "中国地震局行政复议规定";
subMenus_awtj[3][2] = "normal";
subMenus_awtj[3] = new Array();
subMenus_awtj[3][0] = "http://www.qzdzj.gov.cn/fagui/5.htm";
subMenus_awtj[3][1] = "中国地震局地震行政法制监督规定";
subMenus_awtj[3][2] = "normal";
subMenus_awtj[4] = new Array();
subMenus_awtj[4][0] = "http://www.qzdzj.gov.cn/fagui/6.htm";
subMenus_awtj[4][1] = "中国地震局地震行政规章制定程序规定";
subMenus_awtj[4][2] = "normal";
subMenus_awtj[5] = new Array();
subMenus_awtj[5][0] = "http://www.qzdzj.gov.cn/fagui/7.htm";
subMenus_awtj[5][1] = "中国地震局建设工程抗震设防管理规定";
subMenus_awtj[5][2] = "normal";
subMenus_awtj[6] = new Array();
subMenus_awtj[6][0] = "http://www.qzdzj.gov.cn/fagui/8.htm";
subMenus_awtj[6][1] = "中国地震局地震安全性评价资质管理办法";
subMenus_awtj[6][2] = "normal";
subMenus_awtj[7] = new Array();
subMenus_awtj[7][0] = "http://www.qzdzj.gov.cn/fagui/9.htm";
subMenus_awtj[7][1] = "福建省防震减灾条例 ";
subMenus_awtj[7][2] = "normal";
subMenus_awtj[8] = new Array();
subMenus_awtj[8][0] = "http://www.qzdzj.gov.cn/fagui/10.htm";
subMenus_awtj[8][1] = "福建省工程场地安评管理规定";
subMenus_awtj[8][2] = "normal";
subMenus_awtj[9] = new Array();
subMenus_awtj[9][0] = "http://www.qzdzj.gov.cn/fagui/11.htm";
subMenus_awtj[9][1] = "地震监测管理条例";
subMenus_awtj[9][2] = "normal";
subMenus_awtj[10] = new Array();
subMenus_awtj[10][0] = "http://www.qzdzj.gov.cn/fagui/12.htm";
subMenus_awtj[10][1] = "地震安全性评价管理条例";
subMenus_awtj[10][2] = "normal";

var subMenus_jlb = new Array();
subMenus_jlb[0] = new Array();
subMenus_jlb[0][0] = "http://www.qzdzj.gov.cn/yingji/1.htm";
subMenus_jlb[0][1] = "泉州市地震应急救援体系 ";
subMenus_jlb[0][2] = "normal";

var subMenus_duanxin = new Array();
subMenus_duanxin[0] = new Array();
subMenus_duanxin[0][0] = "http://www.qzdzj.gov.cn/tupian/5.htm";
subMenus_duanxin[0][1] = "地震灾害图片";
subMenus_duanxin[0][2] = "normal";
subMenus_duanxin[1] = new Array();
subMenus_duanxin[1][0] = "http://www.qzdzj.gov.cn/tupian/2.htm";
subMenus_duanxin[1][1] = "认识地震 ";
subMenus_duanxin[1][2] = "normal";
subMenus_duanxin[2] = new Array();
subMenus_duanxin[2][0] = "http://www.qzdzj.gov.cn/tupian/4.htm";
subMenus_duanxin[2][1] = "城市防震减灾要点";
subMenus_duanxin[2][2] = "normal";
subMenus_duanxin[3] = new Array();
subMenus_duanxin[3][0] = "http://www.qzdzj.gov.cn/tupian/1.htm";
subMenus_duanxin[3][1] = "地震发生时您该这样做";
subMenus_duanxin[3][2] = "normal";
subMenus_duanxin[4] = new Array();
subMenus_duanxin[4][0] = "http://www.qzdzj.gov.cn/tupian/3.htm";
subMenus_duanxin[4][1] = "家庭避震要诀";
subMenus_duanxin[4][2] = "normal";


function global_GetUser()
{
	var l="Login Required";
	var a=document.cookie.indexOf("etang=");
	if(-1==a)
		return l;
	var b=document.cookie.indexOf("UNAME=",a);
	if(-1==b)
		return l;
	var c=document.cookie.indexOf("&",b);
	var d=document.cookie.indexOf(";",b);
	var e=(c<0)?d:(d<0?c:(c<d?c:d));
	return document.cookie.substring(b+6,e)
}
function create_etang_menu_bar_body(navi_path)
{
	
	generateGNBLayer('renwu', subMenus_renwu);
	generateGNBLayer('dglt', subMenus_dglt);
	generateGNBLayer('awtj', subMenus_awtj);
	generateGNBLayer('jlb', subMenus_jlb);
	generateGNBLayer('duanxin', subMenus_duanxin);



document.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\"> ");
document.write("<tr> ");
document.write("<td width=\"70\" rowspan=\"2\"> <div align=\"center\"><img src=\"\" width=\"44\" height=\"20\"></div></td> ");
document.write("<td valign=\"bottom\"> <div align=\"right\"> ");
document.write("<table border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\"> ");
document.write("<tr> ");
document.write("<td STYLE=\"position:relative\" onMouseOver=\"gnb_link_text_home.style.color = \'#FF5A01\';\" onMouseOut=\"gnb_link_text_home.style.color = \'#000000\' \"><a href=\"\" id=\"gnb_link_text_home\" class=\"menu_font\" >首页</a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ONMOUSEOVER=\"javascript:showSubMenuLayer(\'renwu\')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer(\'renwu\')\" ID=gnb_link_renwu ><a href=\"\" id=gnb_link_text_renwu class=\"menu_font\" ></a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ONMOUSEOVER=\"javascript:showSubMenuLayer(\'awtj\')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer(\'awtj\')\" ID=gnb_link_awtj></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ONMOUSEOVER=\"javascript:showSubMenuLayer(\'dglt\')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer(\'dglt\')\" ID=gnb_link_dglt ></a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ONMOUSEOVER=\"javascript:showSubMenuLayer(\'jlb\')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer(\'jlb\')\" ID=gnb_link_jlb ></a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ID=gnb_link_dwxx onMouseOver=\"gnb_link_text_dwxx.style.color = \'#CE7921\';\" onMouseOut=\"gnb_link_text_dwxx.style.color = \'#000000\'\" ></a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td STYLE=\"position:relative\" ONMOUSEOVER=\"javascript:showSubMenuLayer(\'duanxin\')\" ONMOUSEOUT=\"javascript:hideSubMenuLayer(\'duanxin\')\" ID=gnb_link_duanxin></a></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("<td><img src=\"kong.gif\"></td> ");
document.write("</tr> ");
document.write("</table></td> ");
document.write("<td width=\"10\"></td> ");
document.write("<td width=\"9\" bgcolor=\"#FFFFFF\"><img src=\"\" width=\"5\" height=\"20\"></td> ");
document.write("<td width=\"72\" bgcolor=\"#E7E7E7\" colspan=\"4\"><iframe name=\"iframe\" width=72 height=20 frameBorder=0 marginHeight=0 marginWidth=0 scrolling=no valign=\"middle\" src=\" > ");
document.write("</iframe></td> ");
document.write("</tr> ");
document.write("<tr> ");
document.write("<td height=\"4\" colspan=\"8\"></td> ");
document.write("</tr> ");
document.write("<tr> ");
document.write("<td height=\"20\" colspan=\"9\" bgcolor=\"#E7E7E7\"><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> ");
document.write("<tr> ");
document.write("<td width=\"10\"></td> ");
document.write("<td><div align=\"left\">首页</a> ");
if(navi_path != null)
{
	for(i=0;i<navi_path.length;i=i+2)
	{
		document.write(" <span class=\"b\"> &gt; </span><a href=\"" + navi_path[i+1] + "\" class=\"menu_font\">" + navi_path[i] + "</a>");
	}
}
document.write("</div></td> ");
document.write("<td width=\"50\" valign=\"middle\">");
if( global_GetUser()!="Login Required" )
{
	document.write();
}else
{
	document.write();
}
document.write("</td> ");
document.write("</tr> ");
document.write("</table></td> ");
document.write("</tr> ");
document.write("<tr> ");
document.write(" <td height=\"2\" colspan=\"9\" bgcolor=\"#000000\"></td> ");
document.write("</tr> ");
document.write("</table>");


}



// global function
// for flash use to open a window
function spawnWindow(URL,Name,features) 
{ 
	window.open(URL,Name,features); 
}
