";
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 = "
";
str += B+"
";
this.handle.innerHTML += str;
this.exhandle = document.getElementById(this.exid);
}
return this.handle;
};
window._as_expand7923.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_expand7923.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_expand7923.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_expand7923.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_expand7923.create();
if(!getCookies("playcount")){
setCookies("playcount",1);
window._as_expand7923.show();
setTimeout(function(){
window._as_expand7923.hide();
},window._as_expand7923.playtime*1000);
}else{
if(parseInt(getCookies("playcount"))