//------（百度分享）begin--------//
window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "slide": { "type": "slide", "bdImg": "0", "bdPos": "right", "bdTop": "58.5" }, "image": { "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "分享到：", "viewSize": "32" }, "selectShare": { "bdContainerClass": null, "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"]} }; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
//------（百度分享）end--------//
//===============（返回顶部）begin==================//
var w = 45;     //bubuko提示：离右侧距离
var h = 110;    //bubuko提示：离底部距离

var wW = document.body.clientWidth;     //bubuko提示：获得当前页面宽度
if (wW > 1000)                          //bubuko提示：页面宽度大于1000时贴在内容旁边
    w = (wW - 1000) / 2 - 5;

var str = "";
var obj = document.getElementById("divStayTopLeft");
if (obj) str = obj.innerHTML;
if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
    document.writeln('<DIV  style="z-index:9;right:0;bottom:0;height:' + h + 'px;width:' + w + 'px;overflow:hidden;POSITION:fixed;_position:absolute; _margin-top:expression(document.documentElement.clientHeight-this.style.pixelHeight+document.documentElement.scrollTop);">');
}
else {
    document.writeln('<DIV  style="z-index:9;right:0;bottom:0;height:' + h + 'px;width:' + w + 'px;overflow:hidden;POSITION:fixed;*position:absolute; *top:expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-this.style.pixelHeight);">');
}
document.writeln('<div style="clear:both;margin:auto;height:180px;overflow:hidden;font-weight:bold;text-align:left;">');
document.writeln('<a href="javascript:scroll(0,0)" hidefocus="true" style="text-decoration:none;"><div style="text-align:center;width:20px;border:1px #e1e1e1 solid;  padding:6px 6px 6px 6px;font-weight:bold;font-size:20px;border-radius:20px;-webkit-border-radius:20px;-moz-border-radius:20px;">↑</div></a>');
document.writeln('<a href="javascript:scroll(0,document.body.scrollHeight)" hidefocus="true" style="text-decoration:none;"><div style="text-align:center;width:20px;border:1px #e1e1e1 solid; padding:6px 6px 6px 6px;margin-top:10px;font-weight:bold;font-size:20px;border-radius:20px;-webkit-border-radius:20px;-moz-border-radius:20px;">↓</div></a></div> ');
document.write('<div style="clear:both;margin:auto;overflow:hidden;text-align:left;">' + str + '</div>');
document.writeln('</DIV>');
//===============（返回顶部）end===================//
//===============（菜单栏选中处理）begin==================//
if (typeof (topmenu_i) != "undefined") {
    if (topmenu_i == "1")
        document.getElementById("topmenu-1").className = "title0c";
    else
        document.getElementById("topmenu-" + topmenu_i).className = "title1c";
}
if (typeof (toptopmenu_i) != "undefined")
    document.getElementById("toptopmemuli-" + toptopmenu_i).className = "backgroundcolorbai";

if (typeof (newsmenu_i) != "undefined") {
    if (newsmenu_i == "0")
        document.getElementById("news/").className = "title0c";
    else
        document.getElementById("news/list-" + newsmenu_i + "-").className = "title1c";
}

if (typeof (infomenu_i) != "undefined") {
    if (infomenu_i == "-1")
        document.getElementById("infohtml").className = "title0c";
    else
        document.getElementById("infolist-" + infomenu_i).className = "title1c";
}
//===============（菜单栏选中处理）end===================//
$.ajax({
    type: "POST", cache: false,
    url: "/ajaxjs/member_login.aspx?act=loginstate",
    data: "",
    success: function (data) {
        if (data != null && data != "")
            $("#logintopdescription").html(data);
    }
});
(function ($) {
    var obj = $("#xuanting");
    if(obj)
    {
        var left = parseInt(($(document.body).width() - 1000) / 2) + 1000 - 300 + 1;
        var contentTop = parseInt(obj.offset().top);
        $(window).bind("scroll", function () {
            var tt = $(document).scrollTop() + 19;
            if (tt > contentTop && $(document).height() > contentTop + 600 + 500) {
                obj.css("position", "fixed");
                obj.css("left", "" + left + "px");
                obj.css("top", "1px");
                obj.css("z-index", "1000");
            }
            if (tt <= contentTop)
                obj.css("position", "");
        });
    }
})(jQuery);

function ad_analysis(key) {
    $.ajax({
        type: "POST", cache: false,
        url: "/ajaxjs/info_detail_ajaxjs.aspx?act=ad_analysis&key="+key,
        data: "",
        success: function (data) {
        }
    });
}