var lchadl__id__;
var lchadl__ad__;
var __bs__ = navigator.userAgent.indexOf("MSIE") > 0 ?
	"MSIE" : navigator.userAgent.indexOf("Safari") > 0 ?
	"Safari" : "others";
var __dt__ = (document.documentElement.clientHeight > 0) &&
	(__bs__ == "MSIE" || document.body.clientHeight > document.documentElement.clientHeight) ?
	"W3C" : "undefined";
function MK_pageY() {
	if (__bs__ == "MSIE") {
		if (__dt__ == "W3C")
			return document.documentElement.scrollTop;
		else
			return document.body.scrollTop;
	} else {
		return window.pageYOffset;
	}
}
function MK_pageX() {
	if (__bs__ == "MSIE") {
		if (__dt__ == "W3C")
			return document.documentElement.scrollLeft;
		else
			return document.body.scrollLeft;
	} else {
		return window.pageXOffset;
	}
}
function MK_pageH() {
	if (__bs__ == "Safari")
		return window.innerHeight;
	else if (__dt__ == "W3C")
		return document.documentElement.clientHeight;
	else
		return document.body.clientHeight;
}
function MK_pageW() {
	if (__bs__ == "Safari")
		return window.innerWidth;
	else if (__dt__ == "W3C")
		return document.documentElement.clientWidth;
	else
		return document.body.clientWidth;
}
function MK_posY(o, v) {
	if (!o || !o.style) return ;
	if (v) {
		o.style.top = parseInt(v) + "px";
	} else {
		return o.style.top;
	}
}
function MK_posX(o, v) {
	if (!o || !o.style) return ;
	if (v) {
		o.style.left = parseInt(v) + "px";
	} else {
		return o.style.left;
	}
}
function atoi(s) {
	var r = parseInt(s);
	return isNaN(r) ? 0 : r;
}
function magic_locus(x1, x2, n) {
	x1 = atoi(x1);
	x2 = atoi(x2);
	n = atoi(n);
	var d = Math.abs(x1 - x2);
	if (d < n) return magic_locus(x1, x2, d / 2);
	return n <= 1 ? x1 : (x1 + (n-1) * x2) / n ;
}

function lchadl_Move() {try{var _div = document.getElementById('lchadl_Div');var _left = MK_pageX() + 8;var _top = MK_pageY() + 130;_top = magic_locus(_top, MK_posY(_div), 4);var max_y = MK_pageY() + MK_pageH();if (_top > max_y) _top = max_y;if (_top < 130) _top = 130;MK_posY(_div, _top);MK_posX(_div, _left);} catch(e) {}}
function lchadl_closeAD() {
try {
document.getElementById('lchadl_Div').style.display = 'none';
clearInterval(lchadl__id__);
} catch(e) {}}
function lchadl_Load() {
document.writeln('<div id="lchadl_Div" style="position: absolute;"><div style="position: absolute; z-index: 1;">');
document.writeln('<a href="http://vhead.blog.sina.com.cn/player/FLVPlayer_bk_v1_7.swf?auto=1&vid=14769673" target="_blank"><img src="images/ad2.gif" width="100" height="300" border="0" /></a>');
document.writeln('</div>');
document.writeln('<div style="position: absolute; z-index: 2; left: 0px; top: 0px;"><a href="javascript:" style="color: #000; text-decoration: none; font-size: 12px;" onClick="lchadl_closeAD();"><img src="images/close.gif" border="0"></a></div>');
document.writeln('</div>');
lchadl__id__ = setInterval("lchadl_Move();", 50);
}
lchadl_Load();
