//<![CDATA[
	function sent2friend(){
		document.getElementById("send2friend").style.display = "block";
		//setheight();
		document.getElementById("sendadd").value = window.location.href;
		document.getElementById("sendadd").select();
		window.clipboardData.setData("Text",document.getElementById("sendadd").value);
	};
//]]>

  function makecomment(txt)
  {
   document.getElementById("comment_content").value = txt;
   //document.getElementById("form_comment").submit();
  }


function checkform_PinfoS()
{
//	if (document.form_comment.Pinfo_name.value =="")
//	{
//		alert("请输入留言人....    ");
//		document.form_comment.Pinfo_name.focus();
//		return false;
//	}
//	else
	if (document.form_comment.Pinfo_content.value  == "")
	{
		alert("请输入您的评论内容....    ");
		document.form_comment.Pinfo_content.focus();
		return false;
	}
	else
	if (document.form_comment.Pinfo_content.value.length > 2000)
	{
		alert("评论内容不能多于2000字....    ");
		document.form_comment.Pinfo_content.focus();
		return false;
	}
	else
		document.form_comment.action="/e/savePL/";
		return true;
}





