//函数名:chksafe
//功能:检查是否含有"<",">"," ","'","\""
//参数:要检查的字符串
//返回值:true 有 false 无
function chksafe(a){
fibdn = new Array ("<" ,">", " ", "'", "\"",".");
	i=fibdn.length;
	j=a.length;
	for (ii=0;ii<i;ii++)
	{	for (jj=0;jj<j;jj++)
		{	temp1=a.charAt(jj);
			temp2=fibdn[ii];
			if (temp1==temp2)
			{	return true; }
		}
	}
return false
}
//函数名：fucPWDchk
//功能介绍：检查是否含有非数字或字母或下划线
//参数说明：要检查的字符串
//返回值：true：含有 false：全部为数字或字母或下划线
function fucPWDchk(str)
{
  var ch;
  var i;
  for(i=0;i<=(str.length-1);i++)
  {ch=str.charAt(i)
  if(!((ch>="0" && ch<="9")||(ch>="a" && ch<="z")||(ch>="A" && ch<="Z")||ch=="_")){
  return true
  }}
  return false
}


