function doZoom(size){
	document.getElementById('zoom').style.fontSize=size+'px'
}
function reply_info_check(){
	if (document.all.vfyName.value=="") {
		alert ("请正确填写验证码！");
		document.all.vfyName.focus();
		return false;
	}
	if (document.all.web_reply_info.value=="") {
		alert ("请正确填写内容！");
		document.all.web_reply_info.focus();
		return false;
	}
}
function sercher_check(){
	if (document.all.KeyWord.value=="") {
		alert ("请正确填写关键字！");
		document.all.KeyWord.focus();
		return false;
	}
	else {
		KeyWord2=document.all.KeyWord.value;
		CID2=document.all.CID.value;
		top.location.href='ArticleList.aspx?CID='+CID2+'&KeyWord='+KeyWord2;
	}
	return true;
}
function LoginSystem () {
	User=window.document.all.Username.value;
	Pass=window.document.all.Passwd.value;
	if (User=="") {
		alert("请正确输入你的用户名");
		document.all.Username.focus();
		return false;
	}
	if (Pass=="") {
		alert("请正确输入你的密码");
		document.all.Passwd.focus();
		return false;
	}
	if (screen.width > 1024) {
		Window_width=1000;
		Window_height=750;
		Window_left=(screen.Width-Window_width)/2
		Window_top=(screen.Height-Window_height)/2
	}
	else {
		Window_width=screen.availWidth-10;
		Window_height=screen.availHeight-25;
		Window_top=0
		Window_left=0
	}
	window.open('http://www.pkm.cn/AdminCenter/Default.aspx?Username='+User+'&UserPass='+Pass+'','all_window','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+Window_width+',height='+Window_height+',left='+Window_left+',top='+Window_top+'');
	return true;
}
function OpenWindow(url,window_name,width1,height1) {
	//如果是XP系统，窗口扩大一些
	if (width1=="")
		width1=520;
	if (height1=="")
		height1=550;
	var open_canshu="toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+width1+",height="+height1+",top="+((screen.availheight-height1)/2-20)+",left="+(screen.availwidth-width1)/2;
	window.open(url,window_name,open_canshu);
}