/*
 * Copyright (c) 2011 pop-fashion.com All rights reserved.
 */

// 跟随滚动
$(document).ready(function() {
    $(window).scroll(function() {
        var offsetTop = $(window).scrollTop() + "px";
        $("#scrollService").animate({
            top: offsetTop
        },
        {
            duration: 500,
            queue: false
        });
    });
});

// 输入框状态
$(document).ready(function() {
    $('input[type="text"], input[type="password"]').addClass("idleField");
    $('input[type="text"], input[type="password"]').focus(function() {
        $(this).removeClass("idleField").addClass("focusField");
        if (this.value == this.defaultValue) {
            this.value = '';
        }
        if (this.value != this.defaultValue) {
            this.select();
        }
    });
    $('input[type="text"], input[type="password"]').blur(function() {
        $(this).removeClass("focusField").addClass("idleField");
        if ($.trim(this.value) == '') {
            this.value = (this.defaultValue ? this.defaultValue: '');
        }
    });
});

// 分类收缩
$(function() {
    function clickScroll(objul, objbtn) {
        var category = $(objul);
        category.hide();
        var togglebtn = $(objbtn);
        togglebtn.click(function() {
            if (category.is(":visible")) {
                category.hide();
                $(objbtn).text("显示全部");
            } else {
                category.show();
                $(objbtn).text("隐藏部分");
            }
        })
        return false;
    }
    clickScroll(".shoeCategory li:gt(20)", ".shoeBtn span");
    clickScroll(".shoeCategory2 li:gt(8)", ".shoeBtn2 span");
    clickScroll(".shoeCategory5 li:gt(8)", ".shoeBtn5 span");
});

// 焦点大图轮换
$(function() {
    var len = $(".num > li").length;
    var index = 0;
    var adTimer;
    $(".num li").mouseover(function() {
        index = $(".num li").index(this);
        showImg(index);
    }).eq(0).mouseover();
    $('.slider').hover(function() {
        clearInterval(adTimer);
    },
    function() {
        adTimer = setInterval(function() {
            showImg(index)
            index++;
            if (index == len) {
                index = 0;
            }
        },
        5000);
    }).trigger("mouseleave");
});
function showImg(index) {
    var adHeight = $(".slider").height();
    $(".picture").stop(true, false).animate({
        top: -adHeight * index
    },
    500);
    $(".num li").removeClass("on").eq(index).addClass("on");
}

(function($) {
    $.fn.Slide = function(options) {
        var opts = $.extend({},
        $.fn.Slide.deflunt, options);
        var index = 1;
        var targetLi = $("." + opts.claNav + " li", $(this)); //目标对象
        var clickNext = $("." + opts.claNav + " .next", $(this)); //点击下一个按钮
        var clickPrev = $("." + opts.claNav + " .prev", $(this)); //点击上一个按钮
        var ContentBox = $("." + opts.claCon, $(this)); //滚动的对象
        var ContentBoxNum = ContentBox.children().size(); //滚动对象的子元素个数
        var slideH = ContentBox.children().first().height(); //滚动对象的子元素个数高度，相当于滚动的高度
        var slideW = ContentBox.children().first().width(); //滚动对象的子元素宽度，相当于滚动的宽度
        var autoPlay;
        var slideWH;
        if (opts.effect == "scroolY" || opts.effect == "scroolTxt") {
            slideWH = slideH;
        } else if (opts.effect == "scroolX" || opts.effect == "scroolLoop") {
            ContentBox.css("width", ContentBoxNum * slideW);
            slideWH = slideW;
        } else if (opts.effect == "fade") {
            ContentBox.children().first().css("z-index", "1");
        }
        return this.each(function() {
            var $this = $(this); //滚动函数
            var doPlay = function() {
                $.fn.Slide.effect[opts.effect](ContentBox, targetLi, index, slideWH, opts);
                index++;
                if (index * opts.steps >= ContentBoxNum) {
                    index = 0;
                }
            };
            clickNext.click(function(event) {
                $.fn.Slide.effectLoop.scroolLeft(ContentBox, targetLi, index, slideWH, opts,
                function() {
                    for (var i = 0; i < opts.steps; i++) {
                        ContentBox.find("li:first", $this).appendTo(ContentBox);
                    }
                    ContentBox.css({
                        "left": "0"
                    });
                });
                event.preventDefault();
            });
            clickPrev.click(function(event) {
                for (var i = 0; i < opts.steps; i++) {
                    ContentBox.find("li:last").prependTo(ContentBox);
                }
                ContentBox.css({
                    "left": -index * opts.steps * slideW
                });
                $.fn.Slide.effectLoop.scroolRight(ContentBox, targetLi, index, slideWH, opts);
                event.preventDefault();
            }); //自动播放
            if (opts.autoPlay) {
                autoPlay = setInterval(doPlay, opts.timer);
                ContentBox.hover(function() {
                    if (autoPlay) {
                        clearInterval(autoPlay);
                    }
                },
                function() {
                    if (autoPlay) {
                        clearInterval(autoPlay);
                    }
                    autoPlay = setInterval(doPlay, opts.timer);
                });
            } //目标事件
            targetLi.hover(function() {
                if (autoPlay) {
                    clearInterval(autoPlay);
                }
                index = targetLi.index(this);
                window.setTimeout(function() {
                    $.fn.Slide.effect[opts.effect](ContentBox, targetLi, index, slideWH, opts);
                },
                200);
            },
            function() {
                if (autoPlay) {
                    clearInterval(autoPlay);
                }
                autoPlay = setInterval(doPlay, opts.timer);
            });
        });
    };
    $.fn.Slide.deflunt = {
        effect: "scroolY",
        autoPlay: true,
        speed: "normal",
        timer: 1000,
        defIndex: 0,
        claNav: "JQ-slide-nav",
        claCon: "JQ-slide-content",
        steps: 1
    };
    $.fn.Slide.effectLoop = {
        scroolLeft: function(contentObj, navObj, i, slideW, opts, callback) {
            contentObj.animate({
                "left": -i * opts.steps * slideW
            },
            opts.speed, callback);
            if (navObj) {
                navObj.eq(i).addClass("on").siblings().removeClass("on");
            }
        },
        scroolRight: function(contentObj, navObj, i, slideW, opts, callback) {
            contentObj.stop().animate({
                "left": 0
            },
            opts.speed, callback);
        }
    }
    $.fn.Slide.effect = {
        fade: function(contentObj, navObj, i, slideW, opts) {
            contentObj.children().eq(i).stop().animate({
                opacity: 1
            },
            opts.speed).css({
                "z-index": "1"
            }).siblings().animate({
                opacity: 0
            },
            opts.speed).css({
                "z-index": "0"
            });
            navObj.eq(i).addClass("on").siblings().removeClass("on");
        },
        scroolTxt: function(contentObj, undefined, i, slideH, opts) {
            //alert(i*opts.steps*slideH);
            contentObj.animate({
                "margin-top": -opts.steps * slideH
            },
            opts.speed,
            function() {
                for (var j = 0; j < opts.steps; j++) {
                    contentObj.find("li:first").appendTo(contentObj);
                }
                contentObj.css({
                    "margin-top": "0"
                });
            });
        },
        scroolX: function(contentObj, navObj, i, slideW, opts, callback) {
            contentObj.stop().animate({
                "left": -i * opts.steps * slideW
            },
            opts.speed, callback);
            if (navObj) {
                navObj.eq(i).addClass("on").siblings().removeClass("on");
            }
        },
        scroolY: function(contentObj, navObj, i, slideH, opts) {
            contentObj.stop().animate({
                "top": -i * opts.steps * slideH
            },
            opts.speed);
            if (navObj) {
                navObj.eq(i).addClass("on").siblings().removeClass("on");
            }
        }
    };
})(jQuery);
$(function(){
    $("#style-gallery").Slide({
        effect : "fade",
        speed : "normal",
        timer : 5000
    });
});

// 栏目小图切换
$(document).ready(function() {
    $("#switch li:not(:first)").css("display", "none");
    var B = $("#switch li:last");
    var C = $("#switch li:first");
    setInterval(function() {
        if (B.is(":visible")) {
            C.fadeIn(500).addClass("in");
            B.hide()
        } else {
            $("#switch li:visible").addClass("in");
            $("#switch li.in").next().fadeIn(500);
            $("li.in").hide().removeClass("in")
        }
    },
    5000)
});

// 标签切换
$(function() {
    $(".tabs a").live('mouseover',
    function() {
        $(this).addClass("selected").siblings().removeClass("selected");
        var index = $(".tabs a").index(this);
        $(".tabs-box > div").eq(index).show().siblings().hide();
    });
});
$(function(){
    $("ul.tabss > li").live('mouseover',function(){
        $(this).addClass("selected").siblings().removeClass("selected");
        var index = $("ul.tabss > li").index(this);
        $(".tabss-box > div").eq(index).show().siblings().hide();
    });
});
$(function() {
    $(".tabs a").live('click',function() {
        $(this).addClass("check").siblings().removeClass("check");
        var index = $(".tabs a").index(this);
        $(".tabs_box > table").eq(index).show().siblings().hide();
    });
});

// 单行不间断滚动
function autoScroll(obj) {
    var h = $(obj).find("ul > li:first").height();
    $(obj).find("ul:first").animate({
        marginTop: -h + "px"
    },
    500,
    function() {
        $(this).css({
            marginTop: "0px"
        }).find("li:first").appendTo(this);
    });
}
$(document).ready(function() {
    setInterval('autoScroll("#scroll")', 5000)
});

// 多行单行滚动
$(function() {
    var _wrap = $('ul.mulitline');
    var _interval = 5000;
    var _moving;
    _wrap.hover(function() {
        clearInterval(_moving);
    },
    function() {
        _moving = setInterval(function() {
            var _field = _wrap.find('li:first');
            var _h = _field.height();
            _field.animate({
                marginTop: -_h + 'px'
            },
            500,
            function() {
                _field.css('marginTop', 0).appendTo(_wrap);
            })
        },
        _interval)
    }).trigger('mouseleave');
});
$(function() {
    var _wrap = $('ul.mulitline2');
    var _interval = 5000;
    var _moving;
    _wrap.hover(function() {
        clearInterval(_moving);
    },
    function() {
        _moving = setInterval(function() {
            var _field = _wrap.find('li:first');
            var _h = _field.height();
            _field.animate({
                marginTop: -_h + 'px'
            },
            500,
            function() {
                _field.css('marginTop', 0).appendTo(_wrap);
            })
        },
        _interval)
    }).trigger('mouseleave');
});

// 品牌轮换
(function() {
    $.fn.infiniteCarousel = function() {
        function repeat(str, n) {
            return new Array(n + 1).join(str);
        }
        return this.each(function() {
            var $wrapper = $('> div', this),
            $slider = $wrapper.find('> ul').width(9999),
            $items = $slider.find('> li'),
            $single = $items.filter(':first')
            singleWidth = $single.outerWidth(),
            visible = Math.ceil($wrapper.innerWidth() / singleWidth),
            currentPage = 1,
            pages = Math.ceil($items.length / visible);
            if ($items.length % visible != 0) {
                $slider.append(repeat('<li class="empty" />', visible - ($items.length % visible)));
                $items = $slider.find('> li');
            }
            $items.filter(':first').before($items.slice( - visible).clone().addClass('cloned'));
            $items.filter(':last').after($items.slice(0, visible).clone().addClass('cloned'));
            $items = $slider.find('> li');
            $wrapper.scrollLeft(singleWidth * visible);
            function gotoPage(page) {
                var dir = page < currentPage ? -1 : 1,
                n = Math.abs(currentPage - page),
                left = singleWidth * dir * visible * n;
                $wrapper.filter(':not(:animated)').animate({
                    scrollLeft: '+=' + left
                },
                500,
                function() {
                    if (page > pages) {
                        $wrapper.scrollLeft(singleWidth * visible);
                        page = 1;
                    } else if (page == 0) {
                        page = pages;
                        $wrapper.scrollLeft(singleWidth * visible * pages);
                    }
                    currentPage = page;
                });
            }
            $('a.back', this).click(function() {
                gotoPage(currentPage - 1);
                return false;
            });
            $('a.forward', this).click(function() {
                gotoPage(currentPage + 1);
                return false;
            });
            $(this).bind('goto',
            function(event, page) {
                gotoPage(page);
            });
            $(this).bind('next',
            function() {
                gotoPage(currentPage + 1);
            });
        });
    };
})(jQuery);
$(document).ready(function() {
    var autoscrolling = true;
    $('.infiniteCarousel').infiniteCarousel().mouseover(function() {
        autoscrolling = false;
    }).mouseout(function() {
        autoscrolling = true;
    });
    setInterval(function() {
        if (autoscrolling) {
            $('.infiniteCarousel').trigger('next');
        }
    },
    5000);
});

// 品牌上翻
$(document).ready(function() {
    $('#brand li').hover(function() {
        $(".cover-b", this).stop().animate({
            top: '-30px'
        },
        {
            queue: false,
            duration: 300
        });
    },
    function() {
        $(".cover-b", this).stop().animate({
            top: '0px'
        },
        {
            queue: false,
            duration: 300
        });
    });
});

// 鼠标掠过
$(document).ready(function() {
    $(".item-download li:nth-child(even), .consume tr:nth-child(odd)").addClass("color"); //自动隔行变颜色
    $(".item-list dl, .trend-list, .book-list, .presscon-list, .design-list, .item-list li, .item-download li, .report-list li, .nfd-list dl, .nfd-item li, .consume tr").mouseover(function() {
        $(this).addClass("over");
    }).mouseout(function() {
        $(this).removeClass("over");
    });
    $(".nfd-list dl").live('mouseover',
    function() {
        $(this).addClass("over");
    });
    $(".nfd-list dl").live('mouseout',
    function() {
        $(this).removeClass("over");
    });
});

// 图片隐藏提示
$(document).ready(function() {
    $(".item-list dl").hover(function() {
        $(".cover", this).stop().animate({
            bottom: "0px"
        },
        {
            queue: false,
            duration: 120
        })
    },
    function() {
        $(".cover", this).stop().animate({
            bottom: "-100px"
        },
        {
            queue: false,
            duration: 200
        })
    });
    $(".nfd-list dl").live('mouseover',
    function() {
        $(".cover", this).stop().animate({
            bottom: "0px"
        },
        {
            queue: false,
            duration: 120
        })
    });
    $(".nfd-list dl").live('mouseout',
    function() {
        $(".cover", this).stop().animate({
            bottom: "-100px"
        },
        {
            queue: false,
            duration: 120
        })
    });
});

// 权限图片判断
$(document).ready(function() {
    var viptype = GetCookie('viptype');
    var trail = GetCookie('trailqt');
    if (viptype == 0){
        viptype = 1;
    }
    else if (viptype == 1){
        viptype = 2;
    };
    if (!viptype) {
        $('.cb').css('opacity', 0).hover(function() {
            $(this).stop().fadeTo(130, 0.65);
        },
        function() {
            $(this).stop().fadeTo(200, 0);
        });
    } else {
        if (viptype == '1') {
            if (trail == '1') {
                $('.cb').css('opacity', 0);
                $('.ny').addClass('y');
                $('.item-regist').addClass('hidden');
                $('.item-list dl').removeClass('regist');
            } else {
                $('.cb').css('opacity', 0).hover(function() {
                    $(this).stop().fadeTo(130, 0.65);
                },
                function() {
                    $(this).stop().fadeTo(200, 0);
                });
            }
        } else {
            $('.cb').css('opacity', 0);
            $('.ny').addClass('y');
            $('.item-regist').addClass('hidden');
            $('.item-list dl').removeClass('regist');
        }
    }
});

// 分类切换
$(function() {
    var tabContent = $('.category-item');
    tabContent.hide().filter(':first').show();
    $('.category-title a').click(function() {
        tabContent.hide();
        tabContent.filter($(this).attr("rel")).show();
        $('.category-title a').removeClass('selected');
        $(this).addClass('selected');
    })
});

// 加入收藏
$(document).ready(function($) {
    $("#addFavorite").click(function() {
        var ctrl = (navigator.userAgent.toLowerCase()).indexOf('mac') != -1 ? 'Command/Cmd': 'CTRL';
        if (document.all) {
            window.external.addFavorite('http://www.pop-bags.com', 'POP-bags 中国最大的箱包设计网站、箱包品牌资讯、时尚包包图片')
        } else if (window.sidebar) {
            window.sidebar.addPanel('POP-bags 中国最大的箱包设计网站、箱包品牌资讯、时尚包包图片', 'http://www.pop-bags.com', "")
        } else {
            alert('您可以通过快捷键 ' + ctrl + ' + D 加入到收藏夹')
        }
    })
});

// 设为首页
function setHomepage(obj) {
    var url = "http://www.pop-bags.com/";
    try { //IE
        obj.style.behavior = "url(#default#homepage)";
        obj.setHomepage(url);
    } catch(e) {
        if ($.browser.mozilla) { //ff
            try {
                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
            } catch(e) {
                alert('此操作被浏览器拒绝！\n请在浏览器地址栏输入 about:config 并回车\n然后将 signed.applets.codebase_principal_support 设置为 true');
            }
        }
        else if ($.browser.webkit) {
            alert('您可以通过 "自定义浏览器" 或 "偏好设置" 选项设置主页')
        }
        else if ($.browser.opera) {
            alert('您可以通过以下步骤设置主页：\n工具 > 参数 > 通用')
        }
    }
}

// 登录表单
function ajax_login_info(backurl) {
    $.ajax({
        type: "GET",
        url: "ajax_login_info.php",
        data: "backurl=" + backurl,
        cache: false,
        async: false,
        success: function(msg) {
            login_callback(msg);
        }
    });
}
function login_callback(msg) {
    document.getElementById('ajax_login').innerHTML = msg;
}

// 登录表单验证码
function refresh_check_code() {
    window.document.getElementById("checkimg").src = "./inc/checkimg.php?refresh=1&temp=" + (new Date().getTime().toString(36));
}

// 登录表单校验
function form_check() {
    try {
        if (document.loginForm.account.value == "") {
            alert("请输入用户名");
            return false;
        } else if (document.loginForm.passwd.value == "") {
            alert("请输入密码");
            return false;
        } else if (document.loginForm.check_code.value == "") {
            alert("请输入验证码");
            return false;
        }
        return true;
    } catch(err) {
        txt = "此页面存在一个错误。\n\n";
        txt += "错误描述: " + err.description + "\n\n";
        txt += "点击OK继续。\n\n";
        alert(txt);
    }
}

// 通告中心
//弹出框
function ajax_user_message() {
    $.ajax({
        type: "GET",
        url: "/user_message.php",
        data: false,
        cache: false,
        async: false,
        success: function(msg) {
            user_message_callback(msg);
        }
    });
}
function user_message_callback(msg) {
    document.getElementById('user_message').innerHTML = msg;
}
//数据操作
function ajax_user_message_deal(id, operate, account, message_id) {
    $.ajax({
        type: "GET",
        url: "/user_message.php",
        data: "operate=" + operate + "&account=" + account + "&message_id=" + message_id,
        cache: false,
        async: false,
        /*
        success:function(msg){
            user_message_callback(msg);
        }*/
        success: function() {
            /*
            if(operate=='open_message'){
                ajax_user_message();
                $(".hidden").hide();
                $(".show").html("展开内容");
            }else if(operate=='message_read'){
            //$(document).ready();
                //$(".show").click();
                //$(".bt_show").click();
            }
            else{*/
            ajax_user_message_deal_callback(id); //}
        }
    });
}
function ajax_user_message_deal_callback(id) {
    $("#" + id).css("display", "none");
}
//勾选不再显示
function check_message(account) {
    //alert("435");
    if (document.getElementById("checkbox_message").checked == true) {
        ajax_user_message_deal('', 'open_auto_check', account);
        document.getElementById('pm').style.display = 'none';
        document.getElementById('hidden_iframe').style.display = 'none';
    } else {
        //alert("885");
        ajax_user_message_deal('', 'open_auto_uncheck', account);
    }
}

// cookie
function GetCookieVal(offset) { //获得Cookie解码后的值
    //alert(offset);
    var endstr = document.cookie.indexOf(";", offset);
    if (endstr == -1) endstr = document.cookie.length;
    return unescape(document.cookie.substring(offset, endstr));
}
function SetCookie(name, value) {
    var today = new Date();
    var expires = new Date();
    expires.setTime(today.getTime() + 1000 * 60 * 60 * 24 * 365);
    document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString();
}
function DelCookie(name) //删除Cookie
{
    var exp = new Date();
    exp.setTime(exp.getTime() - 1);
    var cval = GetCookie(name);
    document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString() + ";path=/";
}
function GetCookie(name) //获得Cookie的原始值
{
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i < clen) {
        var j = i + alen;
        if (document.cookie.substring(i, j) == arg) return GetCookieVal(j);
        i = document.cookie.indexOf(" ", i) + 1;
        if (i == 0) break;
    }
    return null;
}
function submitForm() {
    if (document.loginForm.checkbox1.checked) {
        SetCookie("password", document.loginForm.passwd.value);
        SetCookie("username", document.loginForm.account.value);
    } else {}
}
function GetUserNameCookie() //获得Cookie的用户名原始值
{
    var name = "username";
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i < clen) {
        var j = document.cookie.indexOf(name) + alen;
        if (document.cookie.indexOf(name) > 0) {
            document.loginForm.account.value = GetCookieVal(j);
        }
        if (document.cookie.substring(i, j) == arg) {
            document.loginForm.account.value = GetCookieVal(j);
            document.loginForm.account.focus();
            return GetCookieVal(j);
        }
        i = document.cookie.indexOf("", i) + 1;
        if (i == 0) break;
    }
    return null;
}
function GetPassWordCookie() //获得Cookie的密码原始值
{
    var name = "password";
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i < clen) {
        var j = document.cookie.indexOf(name) + alen;
        if (document.cookie.indexOf(name) > 0) {
            document.loginForm.passwd.value = GetCookieVal(j);
        }
        if (document.cookie.substring(i, j) == arg) {
            document.loginForm.passwd.value = GetCookieVal(j);
            document.loginForm.passwd.focus();
            return GetCookieVal(j);
        }
        i = document.cookie.indexOf("", i) + 1;
        if (i == 0) break;
    }
    return null;
}
function GetMyCookie(myKey) {
    var name = myKey;
    var arg = name + "=";
    var alen = arg.length;
    //var clen = document.cookie.length;
    //alert(clen);
    //var i = 0;
    var ret = null;
    var j = document.cookie.indexOf(name) + alen;
    ret = GetCookieVal(j);
    if (ret == null) {
        var j = document.cookie.indexOf(alen) + alen;
        ret = GetCookieVal(j);
    }
    /*
    while (i < clen) {
        if (document.cookie.substring(i,j) == arg) {
            ret=GetCookieVal(j);
        }
        i = document.cookie.indexOf("",i) + 1;
        if (i == 0) break;
    }*/
    return ret;
}

// 联系方式cookie方法
function addcookie_y(name,value,expireHours) {
    var cookieString=name+"="+escape(value);
    //判断是否设置过期时间
    if(expireHours > 0) {
        var date = new Date();
        date.setTime(date.getTime+expireHours*3600*1000);
        cookieString = cookieString+"; expire="+date.toGMTString();
    }
    document.cookie=cookieString;
}

function getCookie_y(name) {
    //取cookies函数
    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
    if(arr != null) return unescape(arr[2]); return null;
}

function sevicetg() {
    $('#scrollService').addClass('hidden');
    addcookie_y('scrollService','2',0);
}

$(document).ready(function() {
    var xService=getCookie_y('scrollService');
    if(!xService){
        $('#scrollServiceWrap').append('<div id=\"scrollService\"><a href=\"javascript:void(0);\" title=\"关闭\" class=\"cl\" onclick=\"sevicetg()\"></a><a href=\"http://b3.qq.com/webc.htm?new=0&sid=800030036&eid=&o=POP(全球)时尚网络机构&q=7\" title="业务咨询" target="_blank" class="bs"><img src="/global/img/service/pa.gif" width="23" height="16" alt="点击这里给我发消息" /></a> <a href=\"http://b3.qq.com/webc.htm?new=0&sid=800020016&eid=&o=POP(全球)时尚网络机构&q=7\" title=\"客服中心\" target=\"_blank\" class=\"cs\"><img src=\"/global/img/service/pa.gif\" width=\"23\" height=\"16\" alt=\"点击这里给我发消息\" /></a><a href=\"#header\" title=\"返回顶部\" class=\"tp\"></a></div>');
    }
});
