(function() { var w2898_obj = document.getElementById("w2898_18340"); var width = "1200"; var height = "90" var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), isMobile = isIphone || isAndroid; if(isMobile) { if(document.body.clientWidth < 768 ){ width = window.innerWidth-20; } } var protocol = (("https:" == document.location.protocol) ? "https:" : "http:") var gourl = protocol+"//exchange.2898.com/ad2898.htm?type=flowimg&gid=18340&size=1200*90&ad_type=横幅广告"; if (w2898_obj) { var create_2898 = document.createElement("iframe"); create_2898.width = width+'px'; create_2898.height = height+'px'; create_2898.frameborder = "0"; create_2898.scrolling = "no"; create_2898.style = "display:block;margin:0 auto;border:0;" create_2898.src = gourl; w2898_obj.parentNode.insertBefore(create_2898, w2898_obj); } else { document.write(""); } })()