function name_area(ccc){ if(ccc.checked){ document.getElementById("name_area").style.display='none'; writeCookie('nameshow',1,720) }else{ document.getElementById("name_area").style.display=''; writeCookie('nameshow',0,720) } } function readCookie(name){ var cookieValue = ""; var search = name + "="; if(document.cookie.length > 0){ offset = document.cookie.indexOf(search); if (offset != -1){ offset += search.length; end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; cookieValue = unescape(document.cookie.substring(offset, end)) } } return cookieValue; } function writeCookie(name, value, hours){ var expire = ""; var domain = "; path=/; domain=.hangzhou.com.cn"; if(hours != null){ expire = new Date((new Date()).getTime() + hours * 3600000); expire = "; expires=" + expire.toGMTString(); } document.cookie = name + "=" + escape(value) + expire + domain; } function comcheck(frm){ if(frm.content.value==''){ alert("请输入评论类容!"); frm.content.focus(); return false; } if(frm.niming.checked===false && frm.name.value==''){ alert("请输入昵称,或者勾选匿名发表!"); frm.name.focus(); return false; }else{ writeCookie('namecom',frm.name.value,720); } return true; } function byteLength (sStr) { aMatch = sStr.match(/[^\x00-\x80]/g); return (sStr.length + (! aMatch ? 0 : aMatch.length)); } function getStrbylen(str, len) { var num = 0; var strlen = 0; var newstr = ""; var laststrlen = 1; var obj_value_arr = str.split(""); for(var i = 0; i < obj_value_arr.length; i ++) { if(i < len && num + byteLength(obj_value_arr[i]) <= len) { num += byteLength(obj_value_arr[i]); strlen = i + 1; } } if(str.length > strlen) { if(byteLength(str.charAt(strlen-1)) == 1){ laststrlen = 2; } newstr = str.substr(0, strlen-laststrlen) + '…'; } else { newstr = str; } return newstr; } function textCounter(obj, maxlimit) { var len = strLen(obj.value); if(len > maxlimit) { obj.value = getStrbylen(obj.value, maxlimit); alert("最多"+maxlimit+"个字节"); } } function strLen(str) { var charset = document.charset; var len = 0; for(var i = 0; i < str.length; i++) { len += str.charCodeAt(i) < 0 || str.charCodeAt(i) > 255 ? (charset == "utf-8" ? 3 : 2) : 1; } return len; } document.write(''); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('

网友提问选登

'); document.write('

所有发帖(已有56位网友发帖)

'); document.write('
'); document.write('
'); document.write('
'); document.write('

万象更新 2011-04-26 15:00:41

'); document.write('
说得不错啊,我一直都在看,希望能将访谈中提到的种种措施都一一落实
'); document.write('
'); document.write('
'); document.write('

麦秆子 2011-04-26 14:50:04

'); document.write('
非常喜欢西溪这个地方,为此留在杭州,希望这里不要让我失望
'); document.write('
'); document.write('
'); document.write('

春天的尾巴 2011-04-26 14:48:33

'); document.write('
芦锥几顷界为田,一曲溪流一曲烟。说得真好。现在的西溪之美,正美在它的真实。一定要好好加以保护!
'); document.write('
'); document.write('
'); document.write('

可莎米儿 2011-04-26 14:42:16

'); document.write('
西溪的大气和精致让人流连忘返啊!
'); document.write('
'); document.write('
'); document.write('

4C COFFEE 2011-04-26 14:41:08

'); document.write('
很喜欢花朝节,请继续下去呀!
'); document.write('
'); document.write('
'); document.write('

T牌小柜台 2011-04-26 14:40:37

'); document.write('
好想搬去西溪边上住着啊,每天都活在仙境一般。
'); document.write('
'); document.write('
'); document.write('

COSTA 2011-04-26 14:40:23

'); document.write('
我去看过那个小巨蛋,西溪湿地,有点意思
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 14:37:34

'); document.write('
在条例的第一条有中华人民共和国林业法,请问章教授有这部法律吗
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 14:18:08

'); document.write('
任何景致都需要爱护、保护
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 14:17:39

'); document.write('
杭州的定位是精致和谐,大气开放,希望美丽的西溪湿地也能如此
'); document.write('
'); document.write('
'); document.write('

杭儿风 2011-04-26 14:17:08

'); document.write('
每年龙舟节都和家人去西溪凑热闹,喜欢那里的气息和氛围,喜欢这一片美丽的湿地
'); document.write('
'); document.write('
'); document.write('

佳佳 2011-04-26 14:15:39

'); document.write('
西溪一定要保留它的原汁原味才能魅力永存
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 13:54:13

'); document.write('
希望能多考虑市民的垂钓需求,开放更多的钓鱼区域。
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 12:35:27

'); document.write('
听说西溪的花朝节就是杭州政府听取了一份市民的建议,之后将这个传统节日恢复的。这个做法非常好!
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 12:04:51

'); document.write('
西溪那到底能不能钓鱼的啊
'); document.write('
'); document.write('
'); document.write('

蓝色圆珠笔 2011-04-26 11:34:04

'); document.write('
西溪公共自行车的点太少了,这么大一片地方,应该多设置一些慢行系统的公交工具
'); document.write('
'); document.write('
'); document.write('

飞飞猪 2011-04-26 11:02:35

'); document.write('
前段时间去了下诸湖,同样是湿地,和西溪的感觉还是很不一样的。西溪更大,更多地方可以利用开发,但是却也更重人工痕迹。一定要保护好这里难得的珍惜资源,不要让它受到破坏啊!
'); document.write('
'); document.write('
'); document.write('

胡子拉碴 2011-04-26 10:51:31

'); document.write('
大爱西溪,杭州总是给我惊喜!
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2011-04-26 10:30:37

'); document.write('
昨天是发现胜景,今天是名扬天下,明天是什么?很期待
'); document.write('
'); document.write('
'); document.write('

爱西溪里 2011-04-26 10:21:32

'); document.write('
杭州开发西溪的时候,我就很看好,这是一个英明决策。之后有了非诚勿扰的宣传和西溪名人文华园的修建,这里开始渐渐有了浓重的人工痕迹。在西溪天堂开放后,我觉得应该对这个地方进行一些保护和管理。现在真的有一个条例要出台了,我相信这又会是一个英明的决策,让这片美丽的景致保留得更加长久、完整。
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
选登 55 条 显示 1 - 20123
'); document.write('
'); document.write('

'); document.write('所有发帖(已有56位网友发帖)'); document.write('

'); document.write('
'); document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write('
'); var nameshow = readCookie('nameshow'); if(nameshow==1){ document.getElementById("name_area").style.display='none'; document.comfrm.niming.checked=true; }else{ if(document.getElementById("name_area")){ document.getElementById("name_area").style.display=''; } } var namecom = readCookie('namecom'); if(namecom){ document.comfrm.name.value=namecom; //document.comfrm.name.readOnly=true; //document.getElementById("niming_area").style.display='none'; } function getpage(page){ var news_id=1155; // $("#comment_list").load("https://web.hangzhou.com.cn/comment/ajax/index.php?action=getpage&news_id="+news_id+"&page="+page+"&i="+Math.random(),function(){$(this).fadeIn();}); // parent.document.getElementById("hzcomment").src="https://web.hangzhou.com.cn/comment/index.php?news_id=1155&page="+page; //alert(parent.document.getElementById("hzcomment").src) $.getJSON("https://web.hangzhou.com.cn/comment/ajax/index.php?action=getpage&news_id="+news_id+"&page="+page+"&jsoncallback=?",{bian:"是"}, function(json){ //alert(json.pagelist) $("#comment_list").html(json.infolist); $("#page_area").html(json.pagelist); }) }