var getflashcode = function(width, height, srcUrl, clickUrl, clicktag){ var html = "
"; html += ""; html += ""; html += ""; html += ""; if(clicktag) { html += ""; } html += ""; html += ""; html += "
"; if(!clicktag) { html += ""; html += "
"; html += "
"; } return html; }; var getimgcode = function(width, height, srcUrl, clickUrl) { var html = "
"; html += ""; html += ""; html += "
"; return html; }; var setCookies = function(name,value){var Days = 30;var exp = new Date();exp.setTime(exp.getTime() + Days*24*60*60*1000);document.cookie = name +"="+ escape(value) +";expire ="+ exp.toGMTString();};var getCookies = function(name){var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));if(arr != null) return unescape(arr[2]); return null;};var delCookies = function(name){var exp = new Date();exp.setTime(exp.getTime() - 1);var cval=getCookie(name);if(cval!=null) document.cookie=name +"="+cval+";expire*="+exp.toGMTString();}; window._as_expand8680 = { id: "_ADSAME_OUT8680", exid: "_ADSAME_INNER8680", handle: null, mousein: false, direct: 0, speed: 0, expandflag: 0, width: 180, height: 33, exwidth: 180, exheight: 33, src: "https://info.stockstar.com/info/180x33/20180625-180-33_1.jpg", ctag: 0, exsrc: "https://info.stockstar.com/info/180x33/20180625-180-33_1.jpg", exctag: 0, clk: "https://same1.stockstar.com/c?z=stockstar&la=0&si=1&cg=13&c=452&ci=1&or=1&l=1965&bg=1964&b=2236&u=http://www.bida24.com/", target: "_blank", autoclosetime: 0, playcount:0, playtime:0 }; window._as_expand8680.create = function() { var A = getimgcode(this.width, this.height, this.src, this.clk, this.ctag); var str = "
"; str += "
"; str += A; str += "
"; document.write(str); this.handle = document.getElementById(this.id); if (this.handle) { var B = getimgcode(this.exwidth, this.exheight, this.exsrc, this.clk, this.exctag); var str = "
"; this.handle.innerHTML += str; this.exhandle = document.getElementById(this.exid); } return this.handle; }; window._as_expand8680.show = function() { this.mousein = true; var obj = this; clearTimeout(this.hd); this.hd = setTimeout(function() { if (!obj.mousein || obj.expandflag > 0) return; var h = obj.exheight; if (obj.speed > 0) h = 1; var s = obj.exhandle.style; /* s.position = "absolute";*/ /* s.display = "block";*/ if (obj.direct) { s.top = "auto"; s.bottom = "0px"; } else { s.bottom = "auto"; s.top = "0px"; } s.left = "0px"; s.width = obj.exwidth+"px"; s.height = h+"px"; /* obj.handle.style.overflow = "visible";*/ if (obj.speed > 0) obj.expand(); else { obj.expandflag = 2; if (!obj.mousein) obj.hide(); } }, 200); }; window._as_expand8680.hide = function() { this.mousein = false; var obj = this; clearTimeout(this.hd); this.hd = setTimeout(function() { if (obj.mousein || obj.expandflag < 2) return; if (obj.speed > 0) obj.collapse(); else { var es = obj.exhandle.style; /* es.position = "static";*/ /* es.display = "none";*/ es.width = "1px"; es.height = "1px"; es.top = "0px"; es.left = "0px"; /* obj.handle.style.overflow = "hidden";*/ obj.expandflag = 0; if (obj.mousein) obj.show(); } }, 200); }; window._as_expand8680.expand = function() { var c = 1; var gap = parseInt(this.exheight/this.speed); this.expandflag = 1; var obj = this; var es = this.exhandle.style; var hd = setInterval(function() { es.height = (gap*c)+"px"; if (++c>obj.speed) { es.height = (obj.exheight)+"px"; window.clearInterval(hd); obj.expandflag = 2; if (!obj.mousein) obj.hide(); } }, 10); }; window._as_expand8680.collapse = function() { var c = 1; var gap = parseInt(this.exheight/this.speed); this.expandflag = 1; var obj = this; var es = this.exhandle.style; var hd = setInterval(function() { es.height = (obj.exheight - gap*c)+"px"; if (++c>obj.speed) { es.height = "1px"; window.clearInterval(hd); /* es.position = "static";*/ /* es.display = "none";*/ es.width = "1px"; es.height = "1px"; es.top = "0px"; es.left = "0px"; /* obj.handle.style.overflow = "hidden";*/ obj.expandflag = 0; if (obj.mousein) obj.show(); } }, 10); }; window._as_expand8680.create(); if(!getCookies("playcount")){ setCookies("playcount",1); window._as_expand8680.show(); setTimeout(function(){ window._as_expand8680.hide(); },window._as_expand8680.playtime*1000); }else{ if(parseInt(getCookies("playcount"))