function pageLoad() {//页面载入
    MM_preloadImages('/images/index_10_1.gif','/images/index_11_1.gif','/images/a6.gif','/images/m11.gif','/images/m21.gif','/images/m31.gif','/images/m41.gif','/images/m51.gif','/images/m61.gif','/images/m71.gif')
}

function showTop() {//显示页面顶部
    document.writeln("<div style=\"padding-left:5px\">");   
      document.writeln("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"/images/bg.gif\">");
        document.writeln("<tr>");
          document.writeln("<td>");
            document.writeln("<script>");
              document.writeln("WriteFlash('/images/star.swf', 'swf1', 210, 70);");
            document.writeln("</script>");
          document.writeln("</td>");
          document.writeln("<td height=\"74\" align=\"right\" valign=\"middle\" style=\"padding-right:5px; line-height:25px\">");
            document.writeln("．<a href=\"javascript:void(0);\" onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.sentree.com.cn');\">设盛传为首页</a><br>");
            document.writeln("．<a href=\"javascript:void(0);\" onclick=\"AddFavorites();\" >添加到收藏夹</a>");
          document.writeln("</td>");
        document.writeln("</tr>");
      document.writeln("</table>");
    document.writeln("</div>");
}

function WriteFlash(flash, cid, _width, _height) {//调用flash
    document.writeln("<embed src=\"" + flash + "\" id=\"" + cid + "\" wmode=\"transparent\" width=\"" + _width + "\" height=\"" + _height + "\" type=\"application/x-shockwave-flash\"></embed>");
}

function showMenu() {//显示菜单
    document.writeln("<table id=\"bodyMenu\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
      document.writeln("<tr>");
        document.writeln("<td width=956 height=30 background=\"/images/nav.gif\" valign=bottom style=\"padding-left:10px; padding-bottom:5px\">");
          document.writeln("<A href=\"/\">关于盛传</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/introduce\">功能介绍</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/price\">产品价格</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/client\">典型客户</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/article\">盛传文化</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/support\">技术支持</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/contact\">联系我们</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");
          document.writeln("<A href=\"/payment\">付款方式</A>&nbsp&nbsp&nbsp|&nbsp&nbsp&nbsp");                
        document.writeln("</td>");
      document.writeln("</tr>");
      document.writeln("<tr>");
        document.writeln("<td height=2 bgcolor=\"#F27A00\"></td>");
      document.writeln("</tr>");
    document.writeln("</table>");
}

function showLogin() {//显示登录区
    document.writeln("<div id=\"fr\" style=\"padding-left:5px;\">");
      document.writeln("<div class=\"blockA\">");
        document.writeln("<div class=\"blockTitleA\">☉盛传移动商务平台登录入口</div>");
        document.writeln("<div class=\"blockContentA\">");
          document.writeln("<table border=0 width=100%>");            
            document.writeln("<tr>");
              document.writeln("<td><a href=\"javascript:void(0);\" onclick=\"openShopAdminWindow();this.blur();\" onmouseout=\"MM_swapImgRestore()\"><img src=\"/images/entrance_sa.gif\" width=\"142\" height=\"37\" border=\"0\"/></a></td>");
              document.writeln("<td><a href=\"http://vip1.sentree.com.cn/app.jsp\"><img src=\"/images/app.gif\" border=0 title=\"苹果专用入口\"></a></td>");
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td><a href=\"javascript:void(0);\" onclick=\"openEmployeeWindow();this.blur();\" onmouseout=\"MM_swapImgRestore()\"><img src=\"/images/entrance_employee.gif\" width=\"142\" height=\"37\" border=\"0\"/></a></td>");
              document.writeln("<td></td>");
            document.writeln("</tr>");
          document.writeln("</table>");
        document.writeln("</div>");
      document.writeln("</div>");
    document.writeln("</div>");
}

function showDowns() {//显示常用软件下载
    document.writeln("<div id=\"fr\" style=\"padding-left:5px;\">");
      document.writeln("<div class=\"blockA\">");
        document.writeln("<div class=\"blockTitleA\">☉常用工具软件下载</div>");
        document.writeln("<div class=\"blockContentA\">");
          document.writeln("<table border=0 width=100% style=\"line-Height:24px\">");            
            document.writeln("<tr>");
              document.writeln("<td width=3 height=25 valign=top class=TColor5>·</td><td><a class=BL target=\"_blank\" href=\"http://pc.qq.com/\">QQ音乐</a>(酷狗极端占用网速,导致操作盛传很慢，强烈建议使用QQ音乐播放歌曲)</td>");              
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td height=25 valign=top class=TColor5>·</td><td><a class=BL href=\"/downfile/IEv70.zip\">IE浏览器7.0版</a>(操作盛传平台最佳浏览器，请卸载360浏览器，搜狗浏览器等其他浏览器。)</td>"); 
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td height=25 valign=top class=TColor5>·</td><td><a class=BL href=\"/downfile/IExf.zip\">IE浏览器修复工具</a>(IE浏览器出现无法登陆、显示页面脚本错误等异常状况时，请下载此文件解压缩后直接运行即可修复。)</td>"); 
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td height=25 valign=top class=TColor5>·</td><td><a class=BL href=\"/downfile/p2pover.zip\">P2Pover网速控制软件</a>(如店内有多台电脑使用网络的情况，请下载此软件，并联系盛传技术支持人员远程安装和配置，可有效控制其他电脑对网络的占用，保证前台收银电脑的网速。)</td>"); 
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td height=25 valign=top class=TColor5>·</td><td><a class=BL href=\"/downfile/AutoRun.zip\">系统自启动项目管理工具</a>(可查看所有的开机自动启动程序，并禁用其中的垃圾自启动程序，加快电脑的开机及运行速度。)</td>"); 
            document.writeln("</tr>");
            document.writeln("<tr>");
              document.writeln("<td height=25 valign=top class=TColor5>·</td><td><a class=BL href=\"/downfile/Office2003.zip\">Office2003办公软件精简版</a>(办公软件请使用office，不要使用wps)</td>"); 
            document.writeln("</tr>");
          document.writeln("</table>");
        document.writeln("</div>");
      document.writeln("</div>");
    document.writeln("</div>");
}

function showFooter() {//显示页面底部
    document.writeln("<div id=\"footer\">");   
      document.writeln("<img src=\"/images/index_34.gif\" width=\"944\" height=\"55\"/>");
      document.writeln("<div class=\"footerMenu\">");
        document.writeln("<a href=\"/index.html\">关于盛传</a> | <a href=\"/product\">功能介绍</a> | <a href=\"/price\">报价方案</a> | <a href=\"/shop\">典型客户</a> | <a href=\"/article\">盛传文化</a> | <a href=\"/support\">技术支持</a> | <a href=\"/contact\"> 联系我们</a> | <a href=\"/payment\"> 付款方式</a>");
      document.writeln("</div>");
      document.writeln("<div class=\"footerText\" style=\"margin-top:10px;\">");
        document.writeln("版权所有：深圳市盛传网络技术有限公司 &nbsp&nbsp&nbsp&nbsp;电话：0755-28288128 &nbsp&nbsp&nbsp&nbsp;传真：0755-29524182");
      document.writeln("</div>");
      document.writeln("<div class=\"footerText\">");
        document.writeln("公司地址：深圳市布吉街道办吉华路215号恒扬大厦3楼整层(布吉中学正对面)");
      document.writeln("</div>");
      document.writeln("<div class=\"footerText\" style=\"font-size:10px;\">");
        document.writeln("COPYRIGHT &copy; 2011 SENTREE ALL RIGHTS RESERVED.&nbsp&nbsp&nbsp&nbsp;粤ICP备09034400<p>&nbsp;</p><p>&nbsp;</p>");
      document.writeln("</div>");
    document.writeln("</div>");
} 
