<!--

var arr_to;
function str_to_arr(s){
//alert(isnull(
//alert(s);
arr_to=s.split("###");
//alert(arr[1]);
return arr_to;
}


function showHint(o,html)
{

	var hint=document.getElementById("hintdiv");
	if(hint==null)alert(hint);
	hint.innerHTML=buildHint(html);
	var x=0,y=0;
	for(var obj=o;obj.offsetParent!=null;obj=obj.offsetParent){
		x+=obj.offsetLeft;
		y+=obj.offsetTop;
	}
	var cornerHeight=14+10+1;	// 向上飘时修正高度 
	var pos = 0;				// 默认向下飘，使用左上箭头
	y+=o.offsetHeight;
	if(y+hint.offsetHeight+cornerHeight-document.documentElement.scrollTop>document.documentElement.clientHeight){		// 超过下边界，向上漂，使用下箭头
		y-=(o.offsetHeight+cornerHeight+hint.offsetHeight);
		pos+=1;
	}
	//alert(html);
	//alert(x+"|"+hint.offsetWidth+"|"+document.documentElement.scrollLeft+"|"+document.documentElement.clientWidth);
	//if(x+hint.offsetWidth-document.documentElement.scrollLeft+220>document.documentElement.clientWidth){		// 超过右边界，左移，使用右箭头	
	//	x-=hint.offsetWidth;//document.documentElement.scrollLeft+document.documentElement.clientWidth-hint.offsetWidth;
	//	x+=o.offsetWidth-11;
	//	pos+=2;
	//}else if(x-document.documentElement.scrollLeft < 0 ){		// 小于左边界，右移至左边界，使用左箭头
	//	x=document.documentElement.scrollLeft;
	//}
	hint.innerHTML = addCorner(html,pos);
	if(pos==0||pos==2)y -=5;
	else y+=5;
   // alert(hint.innerHTML);
	hint.style.left=(x-40)+"px";	
	hint.style.top=y+"px";
	hint.style.visibility="visible";
	hint.style.display="";
}
function addCorner(html,pos)
{
	switch(pos){
		case 0:			// 左上
			return "<div style='text-align:left;background:url(/images/skin01/top_linep.gif);background-repeat:repeat-x;'><div style='width:37px;height:14px;background:url(\"/images/skin01/lt_cor.gif\") no-repeat ;'></div></div>"+"<div class='txtleft' style='padding:5px;background-color:#fff;border-color:#515d7c;border-style:solid;border-width:0 1px 1px 1px;'>"+html+"</div>";
		case 1:			// 左下
			return "<div style='text-align:left;padding:5px;background-color:#fff;border-color:#515d7c;border-style:solid;border-width:1px 1px 0 1px;'>"+html+"</div>"+"<div style='text-align:left;background:url(/images/skin01/btm_linep.gif);background-repeat:repeat-x;'><div style='width:37px;height:14px;background:url(\"/images/skin01/lb_cor.gif\") no-repeat;'></div></div>";

		case 2:			// 右上
			return "<div style='text-align:right;background:url(/images/skin01/top_linep.gif);background-repeat:repeat-x;'><div style='text-align:right;width:37px;height:14px;background:url(\"/images/skin01/rt_cor.gif\") no-repeat;'></div></div>"+"<div class='txtleft' style='padding:5px;background-color:#fff;border-color:#515d7c;border-style:solid;border-width:0 1px 1px 1px;'>"+html+"</div>";

		case 3:			// 右下
			return "<div style='text-align:left;padding:5px;background-color:#fff;border-color:#515d7c;border-style:solid;border-width:1px 1px 0 1px;'>"+html+"</div>"+"<div style='text-align:right;background:url(/images/skin01/btm_linep.gif);background-repeat:repeat-x;'><div style='width:37px;height:14px;background:url(\"/images/skin01/rb_cor.gif\") no-repeat;'></div></div>";

	}
}
function hideHint()
{
	document.getElementById('hintdiv').style.visibility="hidden";
	document.getElementById('hintdiv').style.display="none";
}
function buildHint(arr)
{
	return "<div><span >"+arr[0]+"</span> &nbsp;<br><span >"+arr[1]+"</span></div>"
			+"<div>"+arr[2]+"</div>"

		+"<div>"+arr[3]+" "+arr[4]+" "+arr[5]+" </div>"	
		+"<div>"+arr[6]+"</div>"
		+"<div>"+arr[7]+"</div>"
		+"<div>"+arr[8]+"</div>"
		+"<div>"+arr[9]+"</div>";

}
function preloadImg(arr)
{
	var imgs= new Array();
	for(var i=0;i<arr.length;i++){
		imgs[i]=new Image();
		imgs[i].src="/images/skin01/"+arr[i];
	}
}
preloadImg(new Array("lt_cor.gif","top_linep.gif","btm_linep.gif","lb_cor.gif","rt_cor.gif","rb_cor.gif"));
var pre_path = "http://www.clbase.com";
function openContent(p)
{
	var c=window.open(pre_path+p,'xikee_content_window','');
	if(c!=null) c.focus();
}

-->