<!--
// Maple Tone Production / Mind++

var ckerr=0;
function scrollit() { 
	var hitomi, day = new Date(), hr = day.getHours();
	if ((hr==1)||(hr==2)||(hr==3)||(hr==4))
		hitomi = "凌晨好";
	if ((hr==5)||(hr==6)||(hr==7))
		hitomi = "早上好";
	if ((hr==8)||(hr==9)||(hr==10))
		hitomi = "上午好";
	if ((hr ==11)||(hr==12)||(hr==13))
		hitomi = "中午好";
	if ((hr==14)||(hr==15)||(hr==16))
		hitomi = "下午好";
	if ((hr==17)||(hr==18))
		hitomi = "傍晚好";
	if ((hr==19)||(hr==20)||(hr==21)||(hr==22)||(hr==23))
		hitomi = "晚上好";
	if (hr==0)
		hitomi = "零点过咯";
	document.getElementById('wcl').innerHTML = hitomi;
} 
scrollit();

var omitformtags=["input","textarea","select"]; 
omitformtags=omitformtags.join("|"); 
function disableselect(e)
{ 
	if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1) 
	return false; 
} 
function reEnable()
{ 
	return true;
}
if (typeof document.onselectstart!="undefined") {
document.onselectstart=new Function ("return false"); 
}else
{ 
	document.onmousedown=disableselect; 
	document.onmouseup=reEnable;
}
function stop()
{ 
	return false; 
} 
document.oncontextmenu=stop;

function srText()
{
	
}
var uha_mt =0;
function showintro()
{
	if(uha_mt==0){
		document.getElementById("uha_ngis").style.display=""; 
		DIVShow("uha_ngis",0);
		uha_mt=1;
	}else{
		document.getElementById("uha_ngis2").style.display="none";
		DIVHide("uha_ngis",100);
		uha_mt=0;
	}
}

function DIVShow(dv,ff){ 
  ff=ff+5; 
  document.getElementById(dv).style.filter="alpha(opacity="+ff+")";
	opacity = ff/100; 
  document.getElementById(dv).style.opacity=opacity;
  if(ff <100){ 
    window.setTimeout("DIVShow('"+dv+"',"+ff+")",5); 
  }else{
		document.getElementById("uha_ngis2").style.display="";
  }
} 
function DIVHide(dv,ff){ 
  ff=ff-5; 
  document.getElementById(dv).style.filter="alpha(opacity="+ff+")"; 
	opacity = ff/100; 
  document.getElementById(dv).style.opacity=opacity;
  if(ff>0){ 
    window.setTimeout("DIVHide('"+dv+"',"+ff+")",5); 
  }else{ 
    document.getElementById(dv).style.display="none"; 
  } 
} 

var qTipTag = "a,span";
var qTipX = -100;
var qTipY = 10;

tooltip = {
  name : "ef_poplayer",
  offsetX : qTipX,
  offsetY : qTipY,
  tip : null
}

tooltip.init = function () {
	var tipNameSpaceURI = "http://www.w3.org/1999/xhtml";
	if(!tipContainerID){ var tipContainerID = "ef_poplayer";}
	var tipContainer = document.getElementById(tipContainerID);

	if(!tipContainer) {
	  tipContainer = document.createElementNS ? document.createElementNS(tipNameSpaceURI, "div") : document.createElement("div");
		tipContainer.setAttribute("id", tipContainerID);
	  document.getElementsByTagName("body").item(0).appendChild(tipContainer);
	}

	if (!document.getElementById) return;
	this.tip = document.getElementById (this.name);
	if (this.tip) document.onmousemove = function (evt) {tooltip.move (evt)};

	var a, sTitle, elements;
	
	var elementList = qTipTag.split(",");
	for(var j = 0; j < elementList.length; j++)
	{	
		elements = document.getElementsByTagName(elementList[j]);
		if(elements)
		{
			for (var i = 0; i < elements.length; i ++)
			{
				a = elements[i];
				sTitle = a.getAttribute("title");				
				if(sTitle)
				{
					a.setAttribute("tiptitle", sTitle);
					a.removeAttribute("title");
					a.removeAttribute("alt");
					a.onmouseover = function() {tooltip.show(this.getAttribute('tiptitle'))};
					a.onmouseout = function() {tooltip.hide()};
				}
			}
		}
	}
	if(ckerr!=1){
		document.getElementById("uha_infobox").innerHTML="正在获取节点信息...";
		document.getElementById("uha_infobox").style.display="none";
	}
}

tooltip.move = function (evt) {
	var x=0, y=0;
	if (document.all) {
		x = (document.documentElement && document.documentElement.scrollLeft) ? document.documentElement.scrollLeft : document.body.scrollLeft;
		y = (document.documentElement && document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop;
		x += window.event.clientX;
		y += window.event.clientY;
		
	} else {
		x = evt.pageX;
		y = evt.pageY;
	}
	this.tip.style.left = (x + this.offsetX) + "px";
	this.tip.style.top = (y + this.offsetY) + "px";
}

tooltip.show = function (text) {
	if (!this.tip) return;
	this.tip.innerHTML = text;
	this.tip.style.display = "block";
}

tooltip.hide = function () {
	if (!this.tip) return;
	this.tip.innerHTML = "";
	this.tip.style.display = "none";
}

window.onload = function () {
	tooltip.init ();
}
function gourl(){
	document.getElementById("uha_infobox").style.display='';
	document.getElementById("uha_infobox").innerHTML="网页正在跳转...";
}

//-->