
	function funX(value){

		var _width,_height,_objWidth,_objHeight
			_width=document.body.clientWidth
			_height=document.body.scrollHeight
			_displayHeight=document.body.clientHeight

			if (_height<window.screen.availHeight-166)
			{
				_height=window.screen.availHeight-166
			}

			//请设置框的长宽
			_objWidth=495
			_objHeight=495


		//警示框显示
		abc(value).style.display="block";
		abc(value).style.top=5;
		abc(value).style.left=_width/2-_objWidth/2;
		
		//不允许其它操作
		abc("blank").style.display="block";
		abc("blank").style.width=_width
		abc("blank").style.height=_height
	}

	function closeMe(value){
		abc(value).style.display="none";
		abc("blank").style.display="none";
	}

	function abc(value){
		
		return document.getElementById(value)

	}

	//表单安检
	function funZ(value){
		if (value.name.value=="")
		{
			alert("请输入贵站名称！")
			value.name.focus();
			return false;
		}
		else
		{
			if (value.http.value=="")
			{
				alert("请输入链接网址！")
				value.http.focus();
				return false;
			}
			else
			{
				if (value.logo.value=="")
				{
					alert("请输入LoGo地址！")
					value.logo.focus();
					return false;
				}
				else
				{
					if (value.kind(0).checked==false&&value.kind(1).checked==false&&value.desc.value=="")
					{
						alert("请选择链接方式！");
						return false;
					}
					else
					{
						return true;
					}
				}
			}
		}
	}