﻿//添加页面样式   
function addStyle(content) {
    var style;
    if (document.all) {
        //IE   
        style = document.createStyleSheet();
        style.cssText = content;
    }
    else {
        style = document.createElement("style");
        style.type = "text/css";
        //style.innerHTML = content;//Safari、Chrome 下innerHTML只读   
        style.textContent = content;
    }
    try { document.getElementsByTagName("head")[0].appendChild(style); } catch (e) { } //IE Error:不支持此接口   
}
//添加外部样式   
function includeStyle(url) {
    var style = document.createElement("link");
    style.type = "text/css";
    style.setAttribute("rel", "stylesheet");
    style.setAttribute("href", url);
    document.getElementsByTagName("head")[0].appendChild(style);
}
//addStyle("#div1{background-color:#CC99FF;width:200px;height:100px;}");   
includeStyle("http://www.kingsunsoft.com/Template/footjs.css");

//www.kingsunsoft.com  author:yky 2009.7.30  
function StringBuilder(value) {
    this.strings = new Array("");
    this.append(value);
}

// Appends the given value to the end of this instance.
StringBuilder.prototype.append = function(value) {
    if (value) {
        this.strings.push(value);
    }
}
// Clears the string buffer
StringBuilder.prototype.clear = function() {
    this.strings.length = 1;
}
// Converts this instance to a String.
StringBuilder.prototype.toString = function() {
    return this.strings.join("");
}
//=========================================

var navigeteHtml = new StringBuilder("");

navigeteHtml.append("  <script type='text/javascript' src='http://www.google-analytics.com/ga.js'></script>\n");
document.write(navigeteHtml.toString());
navigeteHtml = new StringBuilder("");
navigeteHtml.append("        <div id=\"common_foot_main\"> \n");
navigeteHtml.append("         <table id=\"common_tb_link\"> \n");
navigeteHtml.append("             <tr> \n");
navigeteHtml.append("                <td> \n");
navigeteHtml.append("               <ul id=\"commonfoottitle\"> \n");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/CompanyNews.aspx\" title=\"关于金太阳\" target=\"_blank\">关于金太阳</a></li> \n");
navigeteHtml.append("               <li class=\"comm_line\"><b>|</b></li> \n ");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/zhaoshang/index.html\" title=\"招商加盟\" target=\"_blank\">招商加盟</a></li> \n");
navigeteHtml.append("               <li class=\"comm_line\"><b>|</b></li> \n");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/Contect.aspx\" title=\"联系我们\" target=\"_blank\">联系我们</a></li> \n");
navigeteHtml.append("               <li class=\"comm_line\"><b>|</b></li> \n");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/SiteMap.htm\" title=\"网站地图\" target=\"_blank\">网站地图</a></li> \n");
navigeteHtml.append("               <li class=\"comm_line\"><b>|</b></li> \n");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/PropertyRight.aspx\" title=\"产权声明\" target=\"_blank\">产权声明</a></li> \n");
navigeteHtml.append("               <li class=\"comm_line\"><b>|</b></li> \n");
navigeteHtml.append("               <li><a href=\"http://www.kingsunsoft.com/MenHu/Link.aspx\" title=\"友情链接\" target=\"_blank\">友情链接</a></li> \n");
navigeteHtml.append("               </ul> \n");
navigeteHtml.append("                </td> \n");
navigeteHtml.append("             </tr> \n");
navigeteHtml.append("             <tr> \n");
navigeteHtml.append("               <td> \n");
//navigeteHtml.append("               <div class=\"QQline\"> \n");
navigeteHtml.append("               <p id=\"telephone\">电话：400 111 8180</p>");
navigeteHtml.append("               <img src=\"http://www.kingsunsoft.com/App_Themes/Mehu/images/other/emailbg.gif\" alt=\"金太阳英语网邮箱地址\" class=\"imgclass\"/> \n");
navigeteHtml.append("               <span>\n");
//
navigeteHtml.append("               <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?V=1&Uin=714255930&Site=互动服务&Menu=yes\"dfg>");
navigeteHtml.append("        <img src=\"http://www.kingsunsoft.com/App_Themes/Mehu/images/help/qq.gif\" alt=\"金太阳英语网在线咨询1\"/></a> \n");
navigeteHtml.append("               </span>\n");
navigeteHtml.append("               <span>\n");
navigeteHtml.append("               <a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?V=1&Uin=675606840&Site=互动服务&Menu=yes\"> \n ");
//navigeteHtml.append("互动服务");
navigeteHtml.append("         <img src=\"http://www.kingsunsoft.com/App_Themes/Mehu/images/help/qq.gif\" alt=\"金太阳英语网在线咨询2\"/></a>\n");
navigeteHtml.append("               </span> \n");
//alert(navigeteHtml.toString());
//navigeteHtml.append("               </div> \n");
navigeteHtml.append("               </td> \n");
navigeteHtml.append("             </tr> \n");
navigeteHtml.append("             <tr> \n");
navigeteHtml.append("                 <td> \n");
navigeteHtml.append("                    <p id=\"copyright\"> \n");
navigeteHtml.append("                    Copyright &copy;2010　<a href=\"http://www.kingsunsoft.com/about.aspx\" title=\"深圳市方直科技股份有限公司\" style=\"color:#000;\" target=\"_blank\">深圳市方直科技股份有限公司</a>　版权所有&nbsp;&nbsp;<a href=\"http://www.miibeian.gov.cn/\" target=\"_blank\">粤ICP备08010091号</a></p> \n");
navigeteHtml.append("                    <span><script language=\"javascript\" type=\"text/javascript\" src=\"http://js.users.51.la/1640258.js\"></script> \n");
navigeteHtml.append("                      <noscript><a href=\"http://www.51.la/?1640258\" target=\"_blank\"> \n");
navigeteHtml.append("                      <img alt=\"&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;\" src=\"http://img.users.51.la/1640258.asp\"/></a> \n");
navigeteHtml.append("                    </noscript></span>\n");
navigeteHtml.append("<div style='width:100%;position:relative;font-size:0%;'><a href='http://www.sznet110.gov.cn' target='_blank'><img src='http://www.kingsunsoft.com/App_Themes/Mehu/images/default/gongan.gif' width='60' height='80' style='position:absolute;right:10px;top:-75px;' alt=''/></a></div>");
navigeteHtml.append("  <script type='text/javascript'> \n");
navigeteHtml.append('var h51Time = window.setInterval("hidden51la()",100);\n');
navigeteHtml.append('function hidden51la(){for(i=document.getElementsByTagName("Img").length-1;i>=0;i--){var temObj = document.getElementsByTagName("Img")[i]; if(temObj.src.indexOf("ajiang")>=0)temObj.style.display = "none";if( temObj.src.indexOf("51.la")>=0){temObj.style.display = "none";clearInterval(h51Time);}}}\n');
navigeteHtml.append("  </script> \n");
navigeteHtml.append("                 </td> \n");
navigeteHtml.append("             </tr> \n");
navigeteHtml.append("         </table> \n");
navigeteHtml.append("     </div> \n\n");
navigeteHtml.append("     \n\n");


//navigeteHtml.append("  <script type='text/javascript'> \n");
//navigeteHtml.append("var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");\n");
//navigeteHtml.append("document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));\n");
//navigeteHtml.append("  </script> \n");
document.write(navigeteHtml.toString());
navigeteHtml = new StringBuilder("");
navigeteHtml.append("  <script type='text/javascript'> \n");
navigeteHtml.append("    try { \n");
navigeteHtml.append("     var pageTracker = _gat._getTracker(\"UA-2644194-2\"); \n");
navigeteHtml.append("     pageTracker._setDomainName(\"kingsunsoft.com\"); \n");
navigeteHtml.append("     pageTracker._initData(); \n");
navigeteHtml.append("     pageTracker._trackPageview(); \n");
navigeteHtml.append("    } \n");
navigeteHtml.append("     catch (err) { } \n");
navigeteHtml.append("  </script> \n");
//navigeteHtml.append("<script language=\"javascript\" src=\"http://webservice.zoosnet.net/JS/LsJS.aspx?siteid=LZA93785002&float=1\"></script>");
//navigeteHtml.append("<script type='text/javascript' src='http://chat.53kf.com/kf.php?arg=cogozhou&style=1'></script>");
navigeteHtml.append("<div style='display:none'><a href=' http://www.looyu.com' target='_blank'>在线客服</a></div><script language='javascript' src=' http://js.doyoo.net/j.jsp?c=28639&f=61514'></script>");

document.write(navigeteHtml.toString());

