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('

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

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

给蔡市长一点建议 2009-06-01 12:04:05

'); document.write('
从长远的利益出发;一,杭州旅游饭店房间内的一次性卫生用品是否能和香港学习,给予取消。为国内率先做起。二,取消市民日常用品的外部包装盒。如;牙膏,牙刷,肥皂之类的给以简包装。以上二条建议主要是要尽量少用外包装盒。因为外包装盒往往要消耗大量印刷用的油墨和硬纸(耗能源),而人们往往又将这些外盒扔掉的(污染环境)。
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2009-06-01 11:23:59

'); document.write('
谢谢市长!!!再见啊,市长慢走!
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2009-06-01 11:23:20

'); document.write('
这么快结束了,希望下次还有这样的机会!
'); document.write('
'); document.write('
'); document.write('

见光 2009-06-01 11:23:11

'); document.write('
哈哈 蔡市长也上杭网论坛的民生版哦 那我们在里边反应的那些问题 市长也看的到的啰 有这些公共平台不错的 希望我们大家共同维护这个平台
'); document.write('
'); document.write('
'); document.write('

哈密瓜 2009-06-01 11:22:42

'); document.write('
蔡市长你每天都看“杭网民声”论坛的啊?这里还是有很多人反映民生问题的!
'); document.write('
'); document.write('
'); document.write('

文文 2009-06-01 11:22:23

'); document.write('
哇,看来蔡市长经常看到我们的帖子咯,神交已久啊,啊哈哈哈,下次记得回帖啊
'); document.write('
'); document.write('
'); document.write('

Blog 2009-06-01 11:22:06

'); document.write('
蔡市长,您来杭网开博客吧~大家还可以给您留言呢!
'); document.write('
'); document.write('
'); document.write('

无厘头 2009-06-01 11:21:38

'); document.write('
蔡市长经常来杭州网论坛啊,呵呵,太亲切了!希望以后经常来和我们讨论哦,也希望能经常来与我们“恳谈”。
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2009-06-01 11:21:14

'); document.write('
蔡市长,您居然都有10多年的上网历史了!老网民啊!
'); document.write('
'); document.write('
'); document.write('

关注民生 2009-06-01 11:20:49

'); document.write('
政府厉行节俭,起到了很好的带头作用,很不错,为我们老百姓做了个好榜样
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2009-06-01 11:20:26

'); document.write('
金融危机,赚钱难,政府都带头厉行节约了,大家一起节俭吧,少浪费一滴水,少用一度电!
'); document.write('
'); document.write('
'); document.write('

肉肉 2009-06-01 11:19:01

'); document.write('
蔡市长理解亚当斯密的那句话很赞嘛,鄙人的看法是小政府大社会
蔡市长您说要做积极的政府 对我们每个人来说就是做积极的个人 呵呵
'); document.write('
'); document.write('
'); document.write('

民生 2009-06-01 11:18:09

'); document.write('
政府既要“施肥”,更需要“松土”。应对金融危机,政府是我们的龙头,政府做好表率作用,才能带领大家一起前进。
'); document.write('
'); document.write('
'); document.write('

Peter 2009-06-01 11:17:20

'); document.write('
终于说到节俭了,呵呵。勤俭节约是中华民族的传统美德,促经济促发展固然重要,可千万别忽略了“勤俭节约”这项最基本的美德!
'); document.write('
'); document.write('
'); document.write('

刹那芳华 2009-06-01 11:13:53

'); document.write('
希望政府多有些实际的行动,真正带领杭州走出金融危机!
'); document.write('
'); document.write('
'); document.write('

安全否 2009-06-01 11:13:42

'); document.write('
我十分关注食品安全问题。我觉得,越是金融危机,越是考验我们的企业是否是良心企业的时候。希望政府能加紧这方面的监督检查,让百姓安心,也督促企业真的进步。
'); document.write('
'); document.write('
'); document.write('

我们是一家人 2009-06-01 11:10:54

'); document.write('
公交一体化可以早日实现我们大杭州的融合 希望多多支持我们西部的兄弟姐妹们
'); document.write('
'); document.write('
'); document.write('

建德 2009-06-01 11:10:48

'); document.write('
希望市长能多关心我们区县市的发展,我们也会为“大杭州”的发展尽力去做的。
'); document.write('
'); document.write('
'); document.write('

yingying 2009-06-01 11:09:12

'); document.write('
蔡市长,希望您今天说的都能在不久的将来成为现实!我们大家一起努力!
'); document.write('
'); document.write('
'); document.write('

杭州网网友 2009-06-01 11:07:46

'); document.write('
支持那个淳安网友说的,我们建德老百姓也希望蔡市长能多关注我们!
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
选登 842 条 显示 1 - 2012345..43>
'); document.write('
'); document.write('

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

'); document.write('
'); document.write('
'); document.write('
'); function getpage(page){ var news_id=205; // $("#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=205&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); }) }