


<!-- 
function killErrors() {
return true;
}
window.onerror = killErrors;

function CopyURL(){
var myHerf=top.location.href;
if(window.clipboardData){
var tempCurLink=myHerf;
var ok=window.clipboardData.setData("Text",tempCurLink);
if(ok) alert("按Ctrl + V ,粘贴到MSN上发给你的好友们吧 ！");
}else{alert("对不起，目前此功能只支持IE，请直接复制地址栏的地址！");}
}

function CheckPl(obj)
 {
  if(obj.saytext.value=="")
  {
   alert("您没什么话要说吗？");
   obj.saytext.focus();
   return false;
  }
  return true;
 }
function login_showhide() {
	if (document.getElementById('login2').style.display =="") {
		document.getElementById('login2').style.display = "none";
		document.getElementById('login1').style.display = "";
	} else {
		document.getElementById('login2').style.display = "";
		document.getElementById("login_uname").focus();
		document.getElementById('login1').style.display = "none";
	}
	return false;
}

// -->
function login_showhide() {
	if (document.getElementById('login2').style.display =="") {
		document.getElementById('login2').style.display = "none";
		document.getElementById('login1').style.display = "";
	} else {
		document.getElementById('login2').style.display = "";
		document.getElementById("login_uname").focus();
		document.getElementById('login1').style.display = "none";
	}
	return false;
}

//检查内容是否过期
function GetIsOver(str){
 if(str != ""){
   var vd = new Date(str);
   var xc = Math.floor((vd-new Date()) / (1000 * 60 *60 *24 ));
   if(vd<new Date()){
   isover.innerHTML="<font color=#FF0000>此信息可能已过期</font>";
   }else{
     if (xc==0){
	   isover.innerHTML="<font color=#FF00FF>此信息即将过期</font>";
	 }else{
	   isover.innerHTML="<font color=#0000FF>此信息离过期还有"+xc+"天</font>";
	 }
   }
 }
}
