﻿//function ResumeError() { return true; }
//window.onerror = ResumeError;
var mySwiper;var mySwiper1;
$(document).ready(function () {

    //common
    try {

        $(window).resize(function () {
            repage();
        });

        if ($(document).width() > 768) {
            $(".topfr").css({ "position": "fixed", "left": "0px", "top": "0px", "width": "100%" }).removeClass("row");
            $(".top_empty").css({ "height": $(".topfr").innerHeight() + "px" });
        }
        else {
            $(".topfr").css({ "position": "relative", "left": "0px", "top": "0px", "width": "auto" }).addClass("row");
            $(".top_empty").css({ "height":"0px" });
        }
        //        $(window).scroll(function () {
        //            var sc_top = $(document).scrollTop();
        //            if (sc_top > 0) {
        //                $(".topfr").css({ "position": "fixed","left":"0px","top":"0px","width":"100%"}).removeClass("row");
        //            }
        //            else {
        //                $(".topfr").css({ "position": "relative", "left": "0px", "top": "0px" }).addClass("row");
        //            }
        //        });

        //发展历程
        try {
            mySwiper = new Swiper('.fzlc_nr1_slide', {
                slidesPerView: 5,
                prevButton: ".prev",
                nextButton: ".next"
            })
        }
        catch (e) { };

        //index
        try {
            $(".banner_slide").slick({
                dots: true,
                autoplay: true,
                autoplaySpeed: 6000,
                speed: 800,
                onInit: function (t) {
                    banner_slide(0);
                },
                onBeforeChange: function (t, i, e, b) {
                    banner_slide(e);
                }
            });

        }
        catch (e) { }

        //
        try {
            $(".ywly_01_c ul li").each(function () {
                $(this).hover(
                    function () {
                        var $this = $(this);
                        $(this).find("b.b1").stop(true, true).animate({ "opacity": "1" }, 100, function () {
                            $this.find("b.b2").css({ "margin-top": ($this.innerHeight() - $this.find("b.b2 img").height()) / 2 + "px" }).stop(true, true).animate({ "opacity": "1" }, 500);
                        });
                    },
                    function () {
                        var $this = $(this);
                        $(this).find("b.b1").stop(true, true).animate({ "opacity": "0" }, 100, function () {
                            $this.find("b.b2").stop(true, true).animate({ "opacity": "0" }, 100);
                        });
                    }
                );
            });
        }
        catch (e) { }

        //search
        try {
            $(".top_fr_c a.a1").click(function (e) {
                $(".searchfr").stop(true, true).animate({ "width": "88%" }).show();
                e.stopPropagation();
            });
            $(".searchfr .in_ser_btn").click(function () {
                if ($(this).attr("isopen") != "1") {
                    $(".searchfr .in_ser_txt").show().stop(true, true).animate({ "width": "10vw", "opacity": "1" });
                    $(this).attr("isopen", "1");
                }
                else {
                    $(".searchfr .in_ser_txt").stop(true, true).animate({ "width": "0px", "opacity": "0", "display": "none" });
                    $("#search_from").submit();
                    //$(this).attr("isopen", "0");
                }

            });
            $(document).click(function (e) {
                var e = e || window.event; //浏览器兼容性
                var elem = e.target || e.srcElement;
                if ($(elem).closest(".searchfr").length == 0) {
                    $(".searchfr .in_ser_txt").stop(true, true).animate({ "width": "0px", "opacity": "0", "display": "none" });
                }

            });
        }
        catch (e) { }

        try {
            $(".topfr a.wrap_a1").click(function (e) {
                $(".searchfr1").css({ "top": $(".top_fr_t").position().top + "px" });
                $(".searchfr1").stop(true, true).animate({ "width": "50%" }).show();
                e.stopPropagation();
            });
            $(".searchfr1 .in_ser_btn").click(function () {
                $(".searchfr1").css({ "width": "0px" }).hide(100);
            });
            $(document).click(function (e) {
                var e = e || window.event; //浏览器兼容性
                var elem = e.target || e.srcElement;
                if ($(elem).closest(".searchfr1").length == 0) {
                    $(".searchfr1").css({ "width": "0px" }).hide(100);
                }

            });
        }
        catch (e) { }

        repage();

    }
    catch (e) { }

});

function repage() {
    $(".container").imagesLoaded(function () {

        var pagew = $(document).width();
        var pageh = $(document).height();

        //document.title = pagew;

        //初始化
        $(".in_nr2_l_t0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });
        $(".in_nr2_l_c0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });
        $(".in_nr2_c0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });

        $(".topfr .fl").css({ "height": "auto" });
        $(".topfr .fr").css({ "height": "auto" });
        var topfr_fl_h_old = $(".topfr .fl").height();
        var topfr_fl_h = $(".topfr .fl").height() * 0.7050359712230215;
        $(".topfr .fl").css({ "height": topfr_fl_h + "px" });
        $(".topfr .fr").css({ "height": topfr_fl_h + "px" });


        //
        try {
            $(".about_jtld_01 img").css({"width":"100%","height":"auto"});
        }
        catch (e) { }


        //index
        try {
            $(".in_nr1_t ul li").each(function () {
                $(this).hover(
                    function () {
                        $(this).find("img.img1").stop(true, true).animate({ "opacity": "1" }, 500);
                        $(this).find("img.img0").stop(true, true).animate({ "opacity": "0" }, 500);
                        $(this).find("span").stop(true, true).animate({ "color": "#ed6d00" }, 500);
                    },
                    function () {
                        $(this).find("img.img1").stop(true, true).animate({ "opacity": "0" }, 500);
                        $(this).find("img.img0").stop(true, true).animate({ "opacity": "1" }, 500);
                        $(this).find("span").stop(true, true).animate({ "color": "#333" }, 500);
                    }
                );
            });
        }
        catch (e) { }

        //btn
        try {
            $(".btnfr .fr img").each(function () {
                $(this).hover(
                    function () {
                        $(this).attr("src", $(this).attr("_bsrc"));

                    },
                    function () {
                        $(this).attr("src", $(this).attr("_src"));
                    }
                );
            });
            $(".btnfr .fr a.a1 img").hover(
                function () {
                    var bt_l = $(this).offset().left - $(".fx_wx").width() / 2.5;
                    var bt_t = $(this).offset().top - $(".fx_wx").height();
                    $(".fx_wx").css({ "left": bt_l + "px", "top": bt_t + "px" }).show();
                },
                function () {
                    $(".fx_wx").hide();
                }
            );
        }
        catch (e) { }

        /*集团宣传片*/
        try {
            $(".about_xcp_01 ul li").each(function () {
                $(this).hover(
                    function () {
                        $(this).find("a em.em2").stop(true, true).animate({ "background-color": "#ed6d00" }, 500);
                        $(this).addClass("on");
                    },
                    function () {
                        $(this).find("a em.em2").stop(true, true).animate({ "background-color": "#fff" }, 500);
                        $(this).removeClass("on");
                    }
                );
            });
        }
        catch (e) { }

        //
        try {
            $(".fzlc_nr1_slide_bg").stop(true, true).animate({ "left": "100%" }, 1200);
        }
        catch (e) { }

        if (pagew >= 768) {
            $(".topfr_c").css({ "margin-top": $(".topfr .fl").innerHeight() - $(".topfr_c").innerHeight() + "px" });
            //$(".top_fr_c").css({ "margin-top": ($(".topfr .fl").innerHeight() - $(".top_fr_t").innerHeight() - $(".top_fr_c").innerHeight() - 1) + "px" });
            $(".searchfr1").hide();
            //$(".searchfr").css({ "top": $(".top_fr_c a").position().top + parseInt($(".top_fr_c").css("margin-top").split("p")[0]) + "px" });

            //pc导航
            try {
                $(".top_fr_c ul li").each(function () {
                    $(this).hover(
                        function () {
                            var pos_l_p = $(this).find(".toprc_sub").width() - $(this).find("a").width();
                            pos_l_p = pos_l_p / 2;
                            var pos_l = $(this).find("a").position().left - pos_l_p;
                            var pos_t = $(this).position().top + $(this).find("a").height();
                            var pos_t_banner = 0;
                            try {
                                if ($(".banner").attr("class").indexOf("banner") > -1) {
                                    pos_t_banner = $(".banner").css("margin-top").split("p")[0];
                                    pos_t_banner = parseFloat(pos_t_banner);
                                }
                            } catch (e) { }
                            try {
                                if ($(".subBanner").attr("class").indexOf("subBanner") > -1) {
                                    pos_t_banner = $(".subBanner").css("margin-top").split("p")[0];
                                    pos_t_banner = parseFloat(pos_t_banner);
                                }
                            }
                            catch (e) { }
                            $(this).addClass("on1");
                            $(this).find(".toprc_sub").css({ "left": pos_l + "px", "top": pos_t + "px" }).find(".toprc_sub_c").css({ "margin-top": ($(".topfr .fr").height() - pos_t + pos_t_banner) + "px" });
                            $(this).find(".toprc_sub").stop(true, true).slideDown();
                        },
                        function () {
                            $(this).removeClass("on1");
                            $(this).find(".toprc_sub").hide();
                        }
                    );
                });
            }
            catch (e) { }

        }
        else {
            $(".searchfr").hide(1, function () {
                $(".searchfr").css({ "width": "0px" });
            });

            $(".topfr_c").css({ "margin-top": ($(".topfr .fl").innerHeight() - $(".topfr_c").innerHeight()) / 2 + "px" });


            $(".meun").click(function () {
                if ($(this).attr("class").indexOf("a2_on") > -1) {
                    $(".submeun").hide();
                    $(".meun").removeClass("a2_on");
                } else {
                    $(".submeun").show();
                    $(this).addClass("a2_on");
                    $(".submeun ul").css({ "top": $(".topfr .fl img").height() + ($(".topfr .fl img").height() - $(".topfr .fl").height()) + "px" });
                    $(".submeun ul li").css({ "line-height": $(".submeun ul li").innerHeight() + "px" });
                }
            });

            var submeun_1 = -1;
            $(".submeun ul li").each(function (i, e) {
                $(this).find(".sub_menu_t").click(function () {
                    if (submeun_1 != i) {
                        $(this).find("a").addClass("on");
                        $(this).closest("li").find(".sub_menu_c").stop(true, true).slideDown();
                        if (submeun_1 != -1) {
                            $(this).closest("ul").find("li").eq(submeun_1).find(".sub_menu_t a").removeClass("on");
                            $(this).closest("ul").find("li").eq(submeun_1).find(".sub_menu_c").stop(true, true).slideUp();
                        }
                        submeun_1 = i;
                    }
                });
            });
            var submenu_2 = -1;
            $(".sub_menuc_li").each(function (i, e) {
                $(this).find(".sub_menuc_li_t").click(function () {
                    if (submenu_2 != i) {
                        $(this).find("a").addClass("on");
                        $(".sub_menuc_li").eq(i).find(".sub_menuc_li_c").stop(true, true).slideDown();
                        if (submenu_2 != -1) {
                            $(".sub_menuc_li").eq(submenu_2).find(".sub_menuc_li_t a").removeClass("on");
                            $(".sub_menuc_li").eq(submenu_2).find(".sub_menuc_li_c").stop(true, true).slideUp();
                        }
                        submenu_2 = i;
                    }
                });
            });

            $(".submeun_bg").click(function () {
                $(".submeun").hide();
                $(".meun").removeClass("a2_on");
            });
        }



        //news
        if (pagew >= 768) {
            in_news();

            var in_nr1_c_on = -1;
            $(".in_nr1_c a").each(function (i, e) {
                if ($(this).attr("class") == "on") {
                    in_nr1_c_on = i;
                }
                $(this).click(function () {
                    if (in_nr1_c_on != i) {
                        $(this).addClass("on").closest(".in_nr1_c").find("a").eq(in_nr1_c_on).removeClass("on");
                        if (in_nr1_c_on != -1) {
                            $(".in_nr2_c_0" + i).show();
                            $(".in_nr2_c_0" + in_nr1_c_on).hide();
                            in_news();
                        }
                        in_nr1_c_on = i;
                    }
                });
            });

            $(".in_nr3 ul li").css({ "height": "auto" });

            $(".in_nr3 ul li").each(function (i, e) {
                $(this).css({ "height": $(this).height() + "px" });
                $(this).find(".in_nr3_r a").css({ "margin-top": ($(this).find(".in_nr3_r").height() - $(this).find(".in_nr3_r a").height()) / 2 + "px" });
                if (i == 2 || i == 3) {
                    $(this).addClass("li1");
                }
                $(this).hover(
                    function () {
                        $(this).find(".in_nr3_r").stop(true, true).animate({ "background-color": "#ed6d00" }, 500);
                        $(this).find(".in_nr3_r i").stop(true, true).animate({ "color": "#fff" }, 500);
                        $(this).find(".in_nr3_r span").stop(true, true).animate({ "color": "#fff" }, 500);
                        var $obj = $(this);
                        //document.title = $obj.attr("class");
                        if ($obj.attr("class").indexOf("li1") > -1) {
                            $(this).find(".in_nr3_l b").stop(true, true).animate({ "left": "-30%" }, 500, function () {
                                $obj.find(".in_nr3_l b").css({ "background": "url('/statics/web/images/in_05_on.png') no-repeat" }).stop(true, true).animate({ "left": "0px" }, 500);
                            });
                        }
                        else {
                            $(this).find(".in_nr3_l b").stop(true, true).animate({ "right": "-30%" }, 500, function () {
                                $obj.find(".in_nr3_l b").css({ "background": "url('/statics/web/images/in_04_on.png') no-repeat" }).stop(true, true).animate({ "right": "0px" }, 500);
                            });
                        }

                        $(this).find(".in_nr3_l i").stop(true, true).animate({ "background-color": "rgba(0,0,0,0.3)" }, 500);
                        $(this).find(".in_nr3_l em").stop(true, true).animate({ "width": "80px", "height": "70px", "margin-left": "-40px", "margin-top": "-35px" }, 500);

                    },
                    function () {
                        $(this).find(".in_nr3_r").stop(true, true).animate({ "background-color": "#fff" }, 500);
                        $(this).find(".in_nr3_r i").stop(true, true).animate({ "color": "#2132ac" }, 500);
                        $(this).find(".in_nr3_r span").stop(true, true).animate({ "color": "#333" }, 500);
                        var $obj = $(this);
                        if ($obj.attr("class").indexOf("li1") > -1) {
                            $(this).find(".in_nr3_l b").stop(true, true).animate({ "left": "-30%" }, 500, function () {
                                $obj.find(".in_nr3_l b").css({ "background": "url('/statics/web/images/in_05.png') no-repeat" }).stop(true, true).animate({ "left": "0px" }, 500);
                            });
                        }
                        else {
                            $(this).find(".in_nr3_l b").stop(true, true).animate({ "right": "-30%" }, 500, function () {
                                $obj.find(".in_nr3_l b").css({ "background": "url('/statics/web/images/in_04.png') no-repeat" }).stop(true, true).animate({ "right": "0px" }, 500);
                            });
                        }

                        $(this).find(".in_nr3_l i").stop(true, true).animate({ "background-color": "rgba(0,0,0,0)" }, 500);
                        $(this).find(".in_nr3_l em").stop(true, true).animate({ "width": "0px", "height": "0px", "margin-left": "0px", "margin-top": "0px" }, 500);
                    }
                );
            });

            //comm
            try {
                var comlt_h = $(".com_l_t").height() * 0.2602040816326531;
                $(".com_nr1 .fl").css({ "top": "-" + comlt_h + "px" });
            }
            catch (e) { }

            try {
                if ($(".com_nr1 .fl").innerHeight() > $(".com_nr1 .fr").innerHeight()) {
                    $(".com_nr1").css({ "min-height": $(".com_nr1 .fl").innerHeight() + "px" });
                }
            }
            catch (e) { }


            //map
            try {
                $(".map_c_01").css({ "margin-top": ($(".map_c_fl").height() - $(".map_c_01").height()) / 2 + "px" });
            }
            catch (e) { }

            //公益捐助
            try {
                $(".gsjz_nr1 ul li").each(function () {
                    $(this).find("em").css({ "margin-top": "0px", "margin-bottom": "0px" });
                    $(this).find("img").css({ "margin-top": "0px" });
                    if ($(this).find("img").height() > $(this).find("em").height()) {
                        $(this).find("em").css({ "margin-top": ($(this).height() - $(this).find("em").height()) / 2 + "px" });
                    }
                    else {
                        $(this).find("em").css({ "margin-top": "1rem", "margin-bottom": "1rem" });
                        $(this).find("img").css({ "margin-top": ($(this).height() - $(this).find("img").height()) / 2 + "px" });
                    }
                    $(this).hover(
                        function () {
                            $(this).addClass("on");
                        },
                        function () {
                            $(this).removeClass("on");
                        }
                    );
                });
            }
            catch (e) { }

            //社会责任
            try {
                $(".shzr_01_r em").css({ "margin-top": "0px" });
                var shzr_01_r_top = $(".shzr_01_r").height() - $(".shzr_01_r em").height();
                shzr_01_r_top = shzr_01_r_top / 2;
                $(".shzr_01_r em").css({ "margin-top": shzr_01_r_top + "px" });
            }
            catch (e) { }

            //投资管理
            try {
                var max_tzgl_h = 0;
                $(".com_nr2_c ul li").css({ "height": "auto" });
                $(".com_nr2_c ul li").each(function () {
                    var $this = $(this);
                    $(this).stop(true, true).animate({ "padding": ($(this).width() - $(this).find("img").width()) / 2 + "px 0px" }, 100, function () {
                        if ($this.innerHeight() > max_tzgl_h) {
                            max_tzgl_h = $this.innerHeight();
                        }
                    });
                    $(this).hover(
                        function () {
                            $(this).stop(true, true).animate({ "background-color": "#ed6d00", "color": "#fff" }, 300);
                            $(this).find("a").stop(true, true).animate({ "color": "#fff" }, 300);
                            $(this).find("span").stop(true, true).animate({ "color": "#fff" }, 300);
                            $(this).find("b").stop(true, true).animate({ "background-color": "#fff", "border-color": "#fff" }, 300);
                        },
                        function () {
                            $(this).stop(true, true).animate({ "background-color": "#fff" }, 150);
                            $(this).find("a").stop(true, true).animate({ "color": "#333" }, 300);
                            $(this).find("span").stop(true, true).animate({ "color": "#2132ac" }, 300);
                            $(this).find("b").stop(true, true).animate({ "background-color": "#ccc", "border-color": "#ccc" }, 300);
                        }
                    );
                });
                var tzgl_time = setInterval(function () {
                    if (max_tzgl_h > 0) {
                        clearInterval(tzgl_time);
                        $(".com_nr2_c ul li").each(function () {
                            $(this).css({ "height": max_tzgl_h + "px" });
                        });
                    }
                }, 100);

            }
            catch (e) { }

            //业务领域综合页2
            try {
                $(".ywly_02_c ul li").each(function () {
                    $(this).find("i").css({ "margin-top": ($(this).height() - $(this).find("i").height()) / 2 + "px" });
                    $(this).hover(
                        function () {
                            $(this).find(".img1").stop(true, true).animate({ "opacity": "1" });
                            $(this).find("em").css({ "background-color": "rgba(46,68,166,0.5)" });
                            $(this).find("em img").attr("src", $(this).find("em img").attr("_bsrc"));
                            $(this).find("em span").css({ "color": "#fff" });
                        },
                        function () {
                            $(this).find(".img1").stop(true, true).animate({ "opacity": "0" });
                            $(this).find("em").css({ "background-color": "#f3f3f4" });
                            $(this).find("em img").attr("src", $(this).find("em img").attr("_src"));
                            $(this).find("em span").css({ "color": "#333" });
                        }
                    );
                });
            }
            catch (e) { }

            //news
            try {
                var news_max_h = 0;
                $(".news_01 ul li").each(function () {
                    $(this).css({ "height": "auto" });
                });
                $(".news_01 ul li").each(function () {
                    if ($(this).height() > news_max_h) {
                        news_max_h = $(this).height();
                    }
                });
                $(".news_01 ul li").each(function () {
                    $(this).css({ "height": news_max_h + "px" });
                    $(this).hover(
                        function () {
                            $(this).find("a").stop(true, true).animate({ "background-color": "#ed6d00" }, 1000);
                        },
                        function () {
                            $(this).find("a").stop(true, true).animate({ "background-color": "#fff" }, 500);
                        }
                    );
                });
            }
            catch (e) { }

            //发展历程
            try {
                $(".fzlc_nr1 .fzlc_nr1_slide").css({ "width": "90%" });
                $(".fzlc_nr1 .fzlc_nr1_slide").css({ "width": $(".fzlc_nr1 .fzlc_nr1_slide").width() + "px" });
                mySwiper.params.slidesPerView = 5;

                $(".fzlc_nr1_slide .swiper-slide a").each(function (i, e) {
                    if ($(this).attr("class") == "swiper_on") {
                        mySwiper.slideTo(i);
                    }
                });

                $(".fzlc_nr2c_li").each(function () {
                    $(this).find("em.em2").css({ "width": ($(this).width() - $(this).find(".em1").width() - 70) + "px" });
                });
            }
            catch (e) { }

            //pc_meun
            try {
                $(".com_l_c ul li").each(function () {
                    $(this).find(".comlc_t").click(function () {
                        if ($(this).closest("li").find(".comlc_c").attr("class") == "comlc_c") {
                            if ($(this).closest("li").find(".comlc_c").css("display") == "none") {
                                $(this).closest("li").find(".comlc_c").show();
                            }
                            else {
                                $(this).closest("li").find(".comlc_c").hide();
                            }
                        }
                    });
                });
            }
            catch (e) { }

            //index
            try {
                $(".in_nr2_l_t").each(function () {
                    $(this).hover(
                        function () {
                            $(this).css({ "background-color": "#fff", "position": "relative", "top": "-2px", "-moz-box-shadow": "0px 5px 10px #ccc", "-webkit-box-shadow": "0px 5px 10px #ccc", "box-shadow": "0px 5px 10px #ccc" });
                        },
                        function () {
                            $(this).css({ "background-color": "#f8f8f8", "top": "0px", "-moz-box-shadow": "0px 0px 0px #ccc", "-webkit-box-shadow": "0px 0px 0px #ccc", "box-shadow": "0px 0px 0px #ccc" });
                        }
                    );
                });
                $(".in_nr2_l_t").each(function () {
                    $(this).hover(
                        function () {
                            $(this).css({ "background-color": "#fff", "position": "relative", "top": "-2px", "-moz-box-shadow": "0px 5px 10px #ccc", "-webkit-box-shadow": "0px 5px 10px #ccc", "box-shadow": "0px 5px 10px #ccc" });
                        },
                        function () {
                            $(this).css({ "background-color": "#f8f8f8", "top": "0px", "-moz-box-shadow": "0px 0px 0px #ccc", "-webkit-box-shadow": "0px 0px 0px #ccc", "box-shadow": "0px 0px 0px #ccc" });
                        }
                    );
                });
                $(".in_nr2_l_c").each(function () {
                    $(this).hover(
                        function () {
                            $(this).css({ "background-color": "#fff", "position": "relative", "top": "-2px", "-moz-box-shadow": "0px 5px 10px #ccc", "-webkit-box-shadow": "0px 5px 10px #ccc", "box-shadow": "0px 5px 10px #ccc" });
                        },
                        function () {
                            $(this).css({ "background-color": "#f8f8f8", "top": "0px", "-moz-box-shadow": "0px 0px 0px #ccc", "-webkit-box-shadow": "0px 0px 0px #ccc", "box-shadow": "0px 0px 0px #ccc" });
                        }
                    );
                });
                $(".in_nr2_c").each(function () {
                    $(this).hover(
                        function () {
                            $(this).css({ "background-color": "#fff", "position": "relative", "top": "-2px", "-moz-box-shadow": "0px 5px 10px #ccc", "-webkit-box-shadow": "0px 5px 10px #ccc", "box-shadow": "0px 5px 10px #ccc" });
                        },
                        function () {
                            $(this).css({ "background-color": "#f8f8f8", "top": "0px", "-moz-box-shadow": "0px 0px 0px #ccc", "-webkit-box-shadow": "0px 0px 0px #ccc", "box-shadow": "0px 0px 0px #ccc" });
                        }
                    );
                });

            }
            catch (e) { }
            //银行信托列表，列表项鼠标悬停效果
            try {
                $(".yhxt_03 ul li img").each(function () {
                    $(this).hover(
                        function () {
                            $(this).css({ "background-color": "#fff", "position": "relative", "top": "-2px", "-moz-box-shadow": "0px 5px 10px #ccc", "-webkit-box-shadow": "0px 5px 10px #ccc", "box-shadow": "0px 5px 10px #ccc" });
                        },
                        function () {
                            $(this).css({ "background-color": "#f8f8f8", "top": "0px", "-moz-box-shadow": "0px 0px 0px #ccc", "-webkit-box-shadow": "0px 0px 0px #ccc", "box-shadow": "0px 0px 0px #ccc" });
                        }
                    );
                });
            }
            catch (e) { }
            //
            try {
                $(".job_info_01 table tr td a").each(function () {
                    $(this).hover(
                        function () {
                            $(this).stop(true, true).animate({ "background-color": "#ed6d00" }, 500);
                        },
                        function () {
                            $(this).stop(true, true).animate({ "background-color": "#01125e" }, 500);
                        }
                    );
                });

            }
            catch (e) { }

        }
        else {

            //投资管理
            try {
                var max_tzgl_h = 0;
                $(".com_nr2_c ul li").css({ "height": "auto" });
                $(".com_nr2_c ul li").each(function () {
                    var $this = $(this);
                    $(this).stop(true, true).animate({ "padding": ($(this).width() - $(this).find("img").width()) / 2 + "px 0px" }, 100, function () {
                        if ($this.innerHeight() > max_tzgl_h) {
                            max_tzgl_h = $this.innerHeight();
                        }
                    });
                    $(this).hover(
                        function () {
                            $(this).addClass("on");
                        },
                        function () {
                            $(this).removeClass("on");
                        }
                    );
                });
                var tzgl_time = setInterval(function () {
                    if (max_tzgl_h > 0) {
                        clearInterval(tzgl_time);
                        $(".com_nr2_c ul li").each(function () {
                            $(this).css({ "height": max_tzgl_h + "px" });
                        });
                    }
                }, 100);

            }
            catch (e) { }

            //业务领域综合页2
            try {
                $(".ywly_02_c ul li").each(function () {
                    $(this).find("i").css({ "margin-top": ($(this).height() - $(this).find("i").height()) / 2 + "px" });
                    $(this).hover(
                        function () {
                            $(this).find(".img1").stop(true, true).animate({ "opacity": "1" });
                            $(this).find("em").css({ "background-color": "rgba(46,68,166,0.5)" });
                            $(this).find("em img").attr("src", $(this).find("em img").attr("_bsrc"));
                            $(this).find("em span").css({ "color": "#fff" });
                        },
                        function () {
                            $(this).find(".img1").stop(true, true).animate({ "opacity": "0" });
                            $(this).find("em").css({ "background-color": "#f3f3f4" });
                            $(this).find("em img").attr("src", $(this).find("em img").attr("_src"));
                            $(this).find("em span").css({ "color": "#333" });
                        }
                    );
                });
            }
            catch (e) { }

            //发展历程
            try {
                $(".fzlc_nr1 .fzlc_nr1_slide").css({ "width": "90%" });
                $(".fzlc_nr1 .fzlc_nr1_slide").css({ "width": $(".fzlc_nr1 .fzlc_nr1_slide").width() + "px" });
                mySwiper.params.slidesPerView = 5;

                $(".fzlc_nr2c_li").each(function () {
                    $(this).find("em.em2").css({ "width": ($(this).width() - $(this).find(".em1").width() - 70) + "px" });
                });
            }
            catch (e) { }

            //news
            try {

                $(".in_nr2_l_t0").each(function () {
                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                });
                $(".in_nr2_l_c0").each(function () {
                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                });
                $(".in_nr2_c0").each(function () {
                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                });

                $(".in_nr2_l_t0").each(function () {
                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                });
                $(".in_nr2_l_c0").each(function () {
                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                });
                $(".in_nr2_c0").each(function () {
                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                });

                var in_nr1_c_on = -1;
                $(".in_nr1_c a").each(function (i, e) {
                    if ($(this).attr("class") == "on") {
                        in_nr1_c_on = i;
                    }
                    $(this).click(function () {
                        if (in_nr1_c_on != i) {
                            $(this).addClass("on").closest(".in_nr1_c").find("a").eq(in_nr1_c_on).removeClass("on");
                            if (in_nr1_c_on != -1) {
                                $(".in_nr2_c_0" + i).show();
                                $(".in_nr2_c_0" + in_nr1_c_on).hide();

                                $(".in_nr2_l_t0").each(function () {
                                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                                });
                                $(".in_nr2_l_c0").each(function () {
                                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                                });
                                $(".in_nr2_c0").each(function () {
                                    $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
                                    $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
                                    $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
                                });
                                $(".in_nr2_l_t0").each(function () {
                                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                                });
                                $(".in_nr2_l_c0").each(function () {
                                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                                });
                                $(".in_nr2_c0").each(function () {
                                    //$(this).find("a").css({ "margin": ($(this).width() - $(this).find("a").width()) / 2 + "px auto", "height": "auto" });
                                });

                            }
                            in_nr1_c_on = i;
                        }
                    });
                });

            }
            catch (e) { }

        }

    });

    try {
        $(".about_xcp_01 ul li").each(function () {
            $(this).css({"height":"auto"});
        });
        var about_xcp_01_max = 0;
        $(".about_xcp_01 ul li").each(function () {
            if (about_xcp_01_max < $(this).height()) {
                about_xcp_01_max = $(this).height();
            }
        });
        $(".about_xcp_01 ul li").each(function () {
            $(this).css({ "height": about_xcp_01_max+"px" });
        });
    }
    catch (e) { }


}

function banner_slide(i) {
    var pagew = $(document).width();
    if (pagew > 1200) {
        if (i == 0) {
            $(".banner a.a1").stop(true, true).animate({ "left": "50%" }, 2000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 1) {
            $(".banner a.a2").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 2) {
            $(".banner a.a3").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-40%" });
            });
        }
    }
    else if (pagew > 992) {
        if (i == 0) {
            $(".banner a.a1").stop(true, true).animate({ "left": "50%" }, 2000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-60%" });
            });
        }
        else if (i == 1) {
            $(".banner a.a2").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 2) {
            $(".banner a.a3").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-60%" });
            });
        }
    }
    else if (pagew > 768) {
        if (i == 0) {
            $(".banner a.a1").stop(true, true).animate({ "left": "50%" }, 2000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-60%" });
            });
        }
        else if (i == 1) {
            $(".banner a.a2").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 2) {
            $(".banner a.a3").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-60%" });
            });
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-60%" });
            });
        }
    }
    else if (pagew >= 320) {
        if (i == 0) {
            $(".banner a.a1").stop(true, true).animate({ "left": "50%" }, 2000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 1) {
            $(".banner a.a2").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a3").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a3").css({ "opacity": "1", "left": "-40%" });
            });
        }
        else if (i == 2) {
            $(".banner a.a3").stop(true, true).animate({ "left": "50%" }, 1000, "easeOutCubic");
            $(".banner a.a2").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a2").css({ "opacity": "1", "left": "-40%" });
            });
            $(".banner a.a1").stop(true, true).animate({ "opacity": "0", "left": "100%" }, 2000, function () {
                $(".banner a.a1").css({ "opacity": "1", "left": "-40%" });
            });
        }
    }
}


function in_news() {

    try {
        //初始化
        $(".in_nr2_l_t0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });
        $(".in_nr2_l_c0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });
        $(".in_nr2_c0").each(function () {
            $(this).find("a").css({ "margin": "0px auto", "height": "auto" });
            $(this).find("a").find("em").css({ "height": "auto", "line-height": "2rem" });
            $(this).find("a").find("span").css({ "height": "auto", "line-height": "2rem" });
        });
        

        $(".in_nr2_c_c").css({ "height": "0px" });
        $(".in_nr2_c_c").css({ "height": new_h + "px" });
        $(".in_nr2_c_c .fl0 .fl0_1").css({ "height": "0px" });
        $(".in_nr2_c_c .fl0 .fl0_2").css({ "height": "0px", "margin-top":"0px" });
        $(".in_nr2_c_c .fl0 .fl0_3").css({ "height": "0px", "margin-top": "0px" });

        $(".in_nr2_c_c .fc0 .fc0_1").css({ "height": "0px" });
        $(".in_nr2_c_c .fc0 .fc0_2").css({ "height":"0px", "margin-top": "0px" });

        $(".in_nr2_c_c .fr0 .fr0_1").css({ "height": "0px" });
        $(".in_nr2_c_c .fr0 .fr0_2").css({ "height": "0px", "margin-top": "0px" });
        $(".in_nr2_c_c .fr0 .fr0_3").css({ "height": "0px", "margin-top": "0px" });

        //计算值
        $(".in_nr2_c_c").css({"height":"auto"});
        var new_h = $(".in_nr3").height();
        $(".in_nr2_c_c").css({ "height": new_h + "px" });
        $(".in_nr2_c_c .fl0 .fl0_1").css({ "height": new_h * 0.236318407960199 + "px" });
        $(".in_nr2_c_c .fl0 .fl0_2").css({ "height": new_h * 0.26616915422885572 + "px","margin-top":new_h * 0.024875621890547266+"px" });
        $(".in_nr2_c_c .fl0 .fl0_3").css({ "height": new_h * 0.44776119402985074 + "px", "margin-top": new_h * 0.024875621890547266 + "px" });

        $(".in_nr2_c_c .fc0 .fc0_1").css({ "height": new_h * 0.708955223880597 + "px" });
        $(".in_nr2_c_c .fc0 .fc0_2").css({ "height": new_h * 0.26616915422885572 + "px", "margin-top": new_h * 0.024875621890547266 + "px" });

        $(".in_nr2_c_c .fr0 .fr0_1").css({ "height": new_h * 0.44776119402985074 + "px" });
        $(".in_nr2_c_c .fr0 .fr0_2").css({ "height": new_h * 0.236318407960199 + "px", "margin-top": new_h * 0.024875621890547266 + "px" });
        $(".in_nr2_c_c .fr0 .fr0_3").css({ "height": new_h * 0.26616915422885572 + "px", "margin-top": new_h * 0.024875621890547266 + "px" });

        $(".in_nr2_l_t0").each(function () {
            var temp_a_h = $(this).innerHeight();
            var temp_a_h_a = $(this).find("a").height();
            var temp_a_w = ($(this).width() - $(this).find("a").width()) / 2;

            //$(this).find("a").css({ "height": temp_a_h - temp_a_w + "px", "margin-top": temp_a_w / 2 + "px" });
            $(this).find("a").css({ "height": temp_a_h - temp_a_w + "px", "margin-top": $(this).find("a").css("margin-left") });


            var in_nr2_i = $(this).find("a i").height();
            var in_nr2_span = $(this).find("a span").height();
            var in_nr2_em = $(this).find("a em").height();
            var in_nr2_em_top = parseInt($(this).find("a em").css("margin-top").split("p")[0]);
            if ($(this).find("a").height() < in_nr2_i + in_nr2_span + in_nr2_em) {
                var em_linH = parseFloat($(this).find("a em").css("line-height").split("p")[0]);
                var em_linH_1 = $(this).find("a").height() - in_nr2_i - in_nr2_span - in_nr2_em_top;
                if (em_linH_1 > em_linH) {
                    $(this).find("a em").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px" });
                }
                else {
                    $(this).find("a em").css({ "height": "0px" });
                }

                if ($(this).find("a").height() < in_nr2_i + in_nr2_span) {
                    var em_linH = parseFloat($(this).find("a span").css("line-height").split("p")[0]);
                    var em_linH_1 = $(this).find("a").height() - in_nr2_i;
                    if (em_linH_1 > em_linH) {
                        $(this).find("a span").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px" });
                    }
                    else {
                        $(this).find("a span").css({ "height": "0px" });
                    }
                }
            }
            if ($(this).find("a").height() > in_nr2_i + in_nr2_span + in_nr2_em) {
                $(this).find("a").css({"height":"auto"});
                $(this).find("a").css({ "margin-top": $(this).find("a").css("margin-left") });
            }

        });
        $(".in_nr2_l_c0").each(function () {
            var temp_a_h = $(this).innerHeight();
            var temp_a_h_a = $(this).find("a").height();
            var temp_a_w = ($(this).width() - $(this).find("a").width()) / 2;

            //$(this).find("a").css({ "height": temp_a_h - temp_a_w + "px", "margin-top": temp_a_w / 2 + "px" });
            $(this).find("a").css({ "height": temp_a_h - temp_a_w + "px", "margin-top": $(this).find("a").css("margin-left") });

            var in_nr2_i = $(this).find("a i").height();
            var in_nr2_span = $(this).find("a span").height();
            var in_nr2_em = $(this).find("a em").height();
            var in_nr2_em_top = parseInt($(this).find("a em").css("margin-top").split("p")[0]);
            if ($(this).find("a").height() < in_nr2_i + in_nr2_span + in_nr2_em) {
                var em_linH = parseFloat($(this).find("a em").css("line-height").split("p")[0]);
                var em_linH_1 = $(this).find("a").height() - in_nr2_i - in_nr2_span - in_nr2_em_top;
                if (em_linH_1 > em_linH) {
                    $(this).find("a em").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px" });
                }
                else {
                    $(this).find("a em").css({ "height": "0px" });
                }

                if ($(this).find("a").height() < in_nr2_i + in_nr2_span) {
                    var em_linH = parseFloat($(this).find("a span").css("line-height").split("p")[0]);
                    var em_linH_1 = $(this).find("a").height() - in_nr2_i;
                    if (em_linH_1 > em_linH) {
                        $(this).find("a span").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px" });
                    }
                    else {
                        $(this).find("a span").css({ "height": "0px" });
                    }
                }
            }
            else {
                $(this).find("a").css({ "margin-top": $(this).find("a").css("margin-left") });
            }

            if ($(this).attr("class").indexOf("fl0_2") > 0) {
                if ($(this).find("a").height() > in_nr2_i + in_nr2_span + in_nr2_em) {
                    $(this).find("a").css({ "height": "auto" });
                    $(this).find("a").css({ "margin-top": $(this).find("a").css("margin-left") });
                }
            }

            if ($(this).attr("class").indexOf("fr0_3") > 0) {
                if ($(this).find("a").height() > in_nr2_i + in_nr2_span + in_nr2_em) {
                    $(this).find("a").css({ "height": "auto" });
                    $(this).find("a").css({ "margin-top": $(this).find("a").css("margin-left") });
                }
            }

        });
        $(".in_nr2_c0").each(function () {
            var temp_a_h = $(this).innerHeight();
            var temp_a_h_a = $(this).find("a").height();
            var temp_a_w = ($(this).width() - $(this).find("a").width()) / 2;

            //$(this).find("a").css({ "height": temp_a_h - temp_a_w + "px", "margin-top": temp_a_w / 2 + "px" });
            $(this).find("a").css({ "height": temp_a_h - temp_a_w + "px","margin-top": $(this).find("a").css("margin-left")});

            var in_nr2_i = $(this).find("a i").height();
            var in_nr2_span = $(this).find("a span").height();
            var in_nr2_em = $(this).find("a em").height();
            var in_nr2_i_top = parseInt($(this).find("a i").css("margin-top").split("p")[0]);
            var in_nr2_em_top = parseInt($(this).find("a em").css("margin-top").split("p")[0]);
            var in_nr2_img = $(this).find("a img").height();
            if ($(this).find("a").height() < in_nr2_img + in_nr2_i + in_nr2_span + in_nr2_em) {
                var em_linH = parseFloat($(this).find("a em").css("line-height").split("p")[0]);
                var em_linH_1 = $(this).find("a").height() - in_nr2_i - in_nr2_span - in_nr2_img - in_nr2_i_top - in_nr2_em_top;
                if (em_linH_1 > em_linH) {
                    $(this).find("a em").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px"});
                }
                else {
                    $(this).find("a em").css({ "height": "0px" });
                }

                if ($(this).find("a").height() < in_nr2_i + in_nr2_span) {
                    var em_linH = parseFloat($(this).find("a span").css("line-height").split("p")[0]);
                    var em_linH_1 = $(this).find("a").height() - in_nr2_i;
                    if (em_linH_1 > em_linH) {
                        $(this).find("a span").css({ "line-height": parseInt((em_linH_1 / parseInt(em_linH_1 / em_linH))) + "px" });
                    }
                    else {
                        $(this).find("a span").css({ "height": "0px" });
                    }
                }
            } else {
                $(this).find("a").css({ "margin-top": $(this).find("a").css("margin-left") });
            }
            
        });

    }
    catch (e) { }

}

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)];