<div class="per_cen_header">
    <div class="pch_inner main_wrap">
        <div class="newLogo">
            <a href="/"><img src="./imgg/newlogo.png" alt=""></a>
        </div>
        <div class="podcast">
            <img src="./imgg/ads.png" alt="">
            <!-- 滚动新闻 -->
            <div style="display: inline-block;width: 300px;height: 30px;vertical-align: middle">
                <div id="deal2" style="overflow:hidden;height: 30px;position: relative;">
                     
                  <a href="#" style="display: block; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 290px;color: #f4340e;font-size: 12px;font-weight: 600; ">
				  星期派全新会员中心改版成功
				  </a>   
                
                     
                   <a href="/message/detail/id/804.html" style="display: block; overflow: hidden;text-overflow: ellipsis;white-space: nowrap;width: 290px;color: #f4340e;font-size: 12px;font-weight: 600; ">
				  关于交易的细节
				   </a>   
                </div>
            </div>
            <!-- 滚动新闻 -->
        </div>
        <div class="navitems">
            <ul class="navitems_ul">
              
                <li class="navitem_3">
                    <div class="navitems_comm nav_mod">
                            <span>版块导航</span>
                    </div>
                    <!--下拉菜单-->
                    <div class="dargmenu">
                        <ul>
                            <li><a href="/Index/index.html">首页</a></li>
							<? while1("*","yjcode_ad where adbh='ADI02' and type1='文字' order by xh asc limit 7");while($row1=mysql_fetch_array($res1)){?>
                            <li><a href="<?=$row1[aurl]?>"><?=$row1[tit]?></a></li>
							<? }?>
                            
                        </ul>
                    </div>
                </li>
                <!--顶部导航下拉菜单开始-->
                <script>
                    $(function(){
//                        第一个li hover效果

//                        第三个li hover效果
                            $(".navitem_4").hover(function () {
                                $('.quitBtn').css({
                                    'backgroundImage':"url(imgg/out1.png)",
                                    'backgroundColor':'#009def',
                                    'backgroundPosition':'26px 12px',
                                    'backgroundRepeat':'no-repeat'
                                });
//                                $('.quitBtn').css('background','#009def');
                                $('.quitBtn a').css('color','#fff');
                        },function () {
                                $('.quitBtn').css({
                                    'backgroundImage':"url(imgg/out.png)",
                                    'backgroundColor':'#fff',
                                    'backgroundPosition':'26px 12px',
                                    'backgroundRepeat':'no-repeat'
                                });
//                                $('.quitBtn').css('background','#fff')
                                $('.quitBtn a').css('color','#727272');
                        })
                        
                        
                        $(".navitem_3").hover(function () {
                            $('.nav_mod').css({
                                'backgroundImage':"url(imgg/more_write.png)",
                                'backgroundColor':'#009def',
                                'backgroundPosition':'10px 12px',
                                'backgroundRepeat':'no-repeat'
                            });
                            $('.nav_mod a').css('color','#fff')
                            $('.dargmenu').slideToggle(200);
                        },function () {
                            $('.nav_mod').css({
                                'backgroundImage':"url(imgg/more.png)",
                                'backgroundColor':'#fff',
                                'backgroundPosition':'10px 12px',
                                'backgroundRepeat':'no-repeat'
                            });
                            $('.nav_mod a').css('color','#727272')
//                            $('.dargmenu').slideToggle(10);
                            $('.dargmenu').hide();
                        })
//                        下拉菜单选择变色
                        $('.dargmenu li').hover(function(){
                            $(this).css('background','#009def')
                            $(this).children('a').css('color','#fff')
                        },function () {
                            $(this).css('background','#fff')
                            $(this).children('a').css('color','#727272')
                        });
                        
                    })
                </script>
                <script type="text/javascript">
                
                    //滚动新闻
                        var oMarquee2 = document.getElementById("deal2"); //滚动对象
                        var iLineHeight2 =30; //单行高度，像素
                        var iLineCount2 = 3; //实际行数
                        var iScrollAmount2 = 1; //每次滚动高度，像素
                        var time2 = setTimeout(run2,1000);
                        function run2() {
                            oMarquee2.scrollTop += iScrollAmount2;

                            if ( oMarquee2.scrollTop == iLineCount2 * iLineHeight2 ){
                                // oMarquee2.scrollTop = 0;
                                setTimeout(function(){
                                    oMarquee2.scrollTop = 0;
                                },1000)
                            }
                            if ( oMarquee2.scrollTop % iLineHeight2 == 0 ) {
                                time2 = window.setTimeout(run2, 1000 );
                            } else {
                                time2 = window.setTimeout(run2, 50 );
                            }
                        }
                        oMarquee2.innerHTML += oMarquee2.innerHTML;
                        oMarquee2.onmouseout = function(){
                            time2 = setTimeout(run2,1000);
                        }
                        oMarquee2.onmouseover = function(){
                            clearTimeout(time2);
                        }
                        $('#noMsg').click(function(){
                            layer.msg('暂时没有最新消息', function(){
                                //关闭后的操作
                            });
                        })
                </script>
                <!--顶部导航下拉菜单结束-->
                <li class="navitem_4">
                    <div class="navitems_comm quitBtn">
                        <a href="un.php">
                            <span>退出</span>
                        </a>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>