function showTip(currentLinkobj, msg, animeId) {
	hideTip();
	var obj = 'TipBox';
        //var ubbMsg = UbbToHtml(msg);
	var ubbMsg = msg;
	if (!document.all)	return false;
	if (typeof(hideTimeOut) != 'undefined') clearTimeout(hideTimeOut);
	if (document.getElementById(obj).style.display != 'block') {
		document.getElementById(obj).innerHTML = ubbMsg ;
		var objp = document.getElementById(obj).style;
		//var yy = document.body.scrollTop + y + 12;Ӧ??WEB??׼??ʹScrollTop????ʧЧ?????? 
		var yy = document.documentElement.scrollTop + window.event.clientY;//use : document.documentElement.scrollTop 
		objp.pixelLeft = window.event.clientX;
		objp.top = yy;
	}
	document.getElementById(obj).style.display = 'block';

	setTimeout('ajaxgetlinkhint('+animeId+')', 1);	
}

function ajaxgetlinkhint(animeId) {
	Ajax('/interface/checkLinkHint/'+animeId+'/'+rand(10000000), 'debug=false', 'GET', document.getElementById('TipBox'), 1);	
}

function keepTip() {
	var obj = 'TipBox';
	if (typeof(hideTimeOut) != 'undefined') clearTimeout(hideTimeOut);
	document.getElementById(obj).style.display = 'block';
}

function hideTip() {
	hideTimeOut = setTimeout('delayHide()', 180);
}

function delayHide() {
	var obj = 'TipBox';
	document.getElementById(obj).style.display = 'none';
	if (typeof(hideTimeOut) != 'undefined') {
		clearTimeout(hideTimeOut);
		startSwitchSortTvRecommend();
	}
}


document.write('<div id=popLayer style="position:absolute; z-index:101" class=cPopText></div>');
document.write('<div id=TipBox style="position: absolute; display: none; padding: 5px; background-Color: #FFFFFF; filter: alpha(opacity=100); opacity=1; border: 1px solid #A9C9EA; z-index: 99" onMouseover="keepTip()" onMouseout="hideTip()" ></div>');
