var bloghost="http://www.80au.com/news/"; var cookiespath="/news/"; var str01="名称不能为空!"; var str02="邮箱不能为空或过长及格式不正确"; var str03="评论内容不能为空或过长"; $(document).ready(function(){SetCookie('timezone',(new Date().getTimezoneOffset()/60)*(-1));}); $(document).ready(function(){SyntaxHighlighter.highlight();for(var i=0,di;di=SyntaxHighlighter.highlightContainers[i++];){var tds = di.getElementsByTagName('td');for(var j=0,li,ri;li=tds[0].childNodes[j];j++){ri = tds[1].firstChild.childNodes[j];ri.style.height = li.style.height = ri.offsetHeight + 'px';}}});