历史回顾: 与蒋介石拍桌对骂的民国牛人 —— 搜狗说吧

来源:百度文库 编辑:神马文学网 时间:2024/04/27 23:26:13
与蒋介石拍桌对骂的民国牛人 他曾当面与蒋介石拍桌对骂,当面讽刺贬低沈从文不配做教授,还说不认识写《激流三部曲》的巴金为何许人也。他说中国懂得庄子的共有两个半人,一个是庄子本人,另外一个就是他。学贯中西,思想学问博大精深的他,也是中国当之无愧的一代学术大师。


  此人名为刘文典,安徽合肥人,字叔雅。17岁时考入芜湖安徽公学学习,因聪明好学,积极上进得到陈独秀、刘师培的赏识,并受到他们反封建民主革命思想的影响和熏陶,于1907年加入中国同盟会。在早期民主革命思想的影响下,刘文典1909年赴日本留学。辛亥革命爆发后,青年时代的他怀着满腔激情回国,在上海于佑任、邵力子等主办的《民立报》担任编辑,宣传民主革命思想。后再度赴日本,加入中华革命党,并任孙中山的秘书。


  1916年刘文典回国后,在北京大学任教,研究诸子著作。1923年出版专著《淮南鸿烈集解》,受到学术界极大重视。继《淮南鸿烈集解》之后,刘文典又从事《庄子》、《说苑》等书的校勘,写了《三余札记》。这段时间是刘文典在学术上最有成就的时期。1927年出任安徽大学校长,两年后任清华大学中国文学系教授、主任,同时在北大兼课。


  除从事教学工作外,他还陆续校勘古籍。1939年完成了《庄子补正》、《说苑斛补》等书的校勘编撰,著名学者陈寅恪为《庄子补正》作序。他并不是一概狂傲,对学问如渊似海精通十四种语言的陈寅恪先生敬重有加,不敢有半点造次。他公开承认他的学问不及陈氏之万一,多次对学生说:自己对陈氏的人格、学问不是十分敬佩,是十二万分的敬佩。抗日战争爆发后,刘文典没来得及与清华、北大等校撤离南下,滞留北平。期间,日本侵略者曾多次派人请他出来教学并在日伪政府做官,他都断然拒绝,表现了一个正直的中国知识分子的民族气节。


  刘文典性情孤傲、怪僻,对新文学一直心存芥蒂,鄙薄新文学家,且自视甚高。抗战时期在西南联大,一次跑空袭警报时,教《庄子》和《文选》的刘文典拔腿就跑,沈从文也忙着逃跑。突然,刘文典止住了脚,怒声喝斥道:“你跑什么?我跑,是因为我炸死了,就不再有人能讲《庄子》了。”沈在当时资历尚且,再说本身就是没有文化的“乡下人”,所以就没有搭理他,一边跑开了。


  刘文典对庄子研究颇深,每次登堂讲授《庄子》,开头第一句必是:“《庄子》嘛,我是不懂的喽,也没有人懂!”有人问刘古今治庄子者的得失,刘大发感慨道:“古今以来,真懂《庄子》者,两个半人而已。第一个是我刘文典,第二个是庄周,另外半个嘛……还不晓得!”
她还一意钻研古典文学,很瞧不起搞新文学创作的人,认为“文学创作的能力不能代替真正的学问”。一日,有人偶尔问及当时以《激流三部曲》名噪一时的巴金。他沉思片刻后,喃喃地说:“我没有听说过他,我没有听说过他。”


  在西南联大讲《文选》课时,他也不拘常规,别开生面。上课前,先由校役带一壶茶,外带一根两尺来长的竹制旱烟袋。讲到得意处,便一边吸旱烟,一边解说文章精义,下课铃响也不理会。有时他是下午的课,一高兴讲到五点多钟才勉强结束。当时人称刘“俨如《世说新语》中的魏晋人物”。


  有一次,刘文典上了半小时的课便结束了上一讲的内容。学生以为他要开讲新课。这时,他忽然宣布说:“今天提前下课,改在下星期三晚饭后七时半继续上课。”原来,下个星期三是阴历五月十五,他要在月光下讲《月赋》。届时,校园里摆下一圈座位,刘文典坐在中间,当着一轮皓月大讲其《月赋》,生动形象,见解精辟,让听者沉醉其中,不知其返。


  刘文典任安徽大学校长时,发生学生风潮。蒋介石来到安庆,召见刘文典。见面时,刘称蒋为“先生”而不称“主席”,蒋很是不满。蒋要刘交出在学生风潮中闹事的共产党员名单,并严惩罢课学生。刘当面顶撞说:“我不知道谁是共产党。你是总司令,就应该带好你的兵。我是大学校长,学校的事由我来管。”说到激烈处,两人互相拍桌大骂,一个骂“你是学阀”,一个骂“你是新军阀”。蒋介石恼羞成怒,当场打了刘文典两记耳光,刘文典不甘示弱,也动粗还之,当众飞起一脚踢在蒋介石的肚子上。蒋捂着肚子,疼得脸上直流汗。蒋介石并未让左右把国宝五花大绑拿下,以刺杀领袖未遂定罪,只给他定了个“治学不严”的罪名,在监狱里关押了七天。


  据说,刘文典见蒋介石之前曾有豪言壮语:“我刘叔雅并非贩夫走卒,即是高官也不应对我呼之而来,挥手而去!我师承章太炎、刘师培、陈独秀,早年参加同盟会,曾任孙中山秘书,声讨过袁世凯,革命有功。蒋介石一介武夫耳!其奈我何!”
此事轰动一时,风传学界,刘文典被视为敢做敢为的民族英雄,声震天下儒林。


  1949年末,昆明解放前夕,朋友曾动员他去美国,已替他找妥具体去所,并为他一家办好了入镜签证。在这关键时刻,刘文典谢绝了,他说:“我是中国人,为什么要离开我的祖国”。


  全国解放后,刘文典的生活和工作都发生了巨大的变化。他决心为新中国的教育事业贡献力量,后一直在云南大学授课讲学。刘文典学识渊博,学贯中西,通晓英、德、日多国文字。他讲授的课程,从先秦到两汉,从唐、宋、元、明、清到近现代,从希腊、印度、德国到日本,古今中外,无所不包。他在学术上的地位和对我国教育事业的贡献,值得我们永远记念。1958年7月15日,刘文典病逝于昆明。 回复 | 引用 作者: 129.96.46.* 发帖时间:2009-04-20 12:40129.96.46.* 2009-04-20 12:40

【1楼】回复:与蒋介石拍桌对骂的民国牛人

诶!老将真是有器量,就是容忍别人 回复 | 引用 作者: 141.19.171.* 发帖时间:2009-04-20 14:09 141.19.171.* 2009-04-20 14:09

【2楼】回复:与蒋介石拍桌对骂的民国牛人

老蒋真是有气量 回复 | 引用 作者: 61.232.17.* 发帖时间:2009-04-22 11:45 61.232.17.* 2009-04-22 11:45

【3楼】回复:与蒋介石拍桌对骂的民国牛人

老蒋有气量! 回复 | 引用 作者: 220.248.9.* 发帖时间:2009-04-22 13:57 220.248.9.* 2009-04-22 13:57

【4楼】回复:与蒋介石拍桌对骂的民国牛人

好一个刘叔雅,好一个蒋中正! 回复 | 引用 作者: 123.131.168.* 发帖时间:2009-04-22 14:53 123.131.168.* 2009-04-22 14:53

【5楼】回复:与蒋介石拍桌对骂的民国牛人

与蒋介石拍桌对骂的民国牛人 回复 | 引用 作者: 114.243.107.* 发帖时间:2009-04-22 15:48 114.243.107.* 2009-04-22 15:48

【6楼】回复:与蒋介石拍桌对骂的民国牛人

真假 回复 | 引用 作者: 114.243.107.* 发帖时间:2009-04-22 15:49 114.243.107.* 2009-04-22 15:49

【7楼】回复:与蒋介石拍桌对骂的民国牛人

蒋有容人之量,刘有经天纬地之才。 回复 | 引用 作者: 221.203.162.* 发帖时间:2009-04-22 17:48 221.203.162.* 2009-04-22 17:48

【8楼】回复:与蒋介石拍桌对骂的民国牛人

老刘是男人。。。 回复 | 引用 作者: 117.136.9.* 发帖时间:2009-04-22 19:17 117.136.9.* 2009-04-22 19:17

【9楼】回复:与蒋介石拍桌对骂的民国牛人

遇到老毛你试一下 回复 | 引用 作者: 119.1.68.* 发帖时间:2009-04-22 19:53 119.1.68.* 2009-04-22 19:53

【10楼】回复:与蒋介石拍桌对骂的民国牛人

这样的人现在哪去了? 回复 | 引用 作者: 221.239.208.* 发帖时间:2009-04-22 20:02 221.239.208.* 2009-04-22 20:02

【11楼】回复:与蒋介石拍桌对骂的民国牛人

“以下是引用 221.239.208.*在2009-04-22 20:02的发言:
这样的人现在哪去了?”
回复 | 引用 作者: 125.113.146.* 发帖时间:2009-04-22 20:35 125.113.146.* 2009-04-22 20:35

【12楼】回复:与蒋介石拍桌对骂的民国牛人

有什么气量,刘是同盟会员,又是孙中山秘书,资历高过蒋. 回复 | 引用 作者: 10.15.2.* 发帖时间:2009-04-22 21:09 10.15.2.* 2009-04-22 21:09 返回本吧 | 发表新主题 共:1页 共12个回复 首页 1
标题: 请点击后输入验证码,字母不区分大小写 看不清? 查看发帖策略

最新热图

米雪吞男友200万药费 明星钢管性感诱惑 六个绝招感动另一半 街头免费试用美女

热帖推荐

  • 外交档案解密:毛泽东为何要跟苏联算...
  • 伟人坎坷:毛泽东一生经历的十大尴尬...
  • 日王牌女谍曾色诱戴季陶套情报 后被...
  • 俄网民评出全球“最火辣的首脑夫人”
  • 论中国历朝官话接近当代普通话(只涉...
  • 40年代美国夜总会
  • 鲜为人知的日本共产党
  • 百年前欧洲惊艳马戏表演
  • 百年前日本武士搞笑造型
  • [凭栏夜话]第五辑 孰是孰非? 诸葛北...
  • 京剧不及元杂剧,是文化的倒退
  • 唐朝汉子追秀逞美不让妇人
  • 明清社会生产力与人民生活水平之比较
  • 伟人坎坷:毛泽东一生经历的十大尴尬事
  • 史上体育在国人生活中的故事
  • 暴君还是英雄?殷商纣王 (中篇连载...
  • 韩信为何在能够三分天下之时却犹疑不...
  • 千年织技巧夺天工 "活化石":云锦龙袍

社区热图

东莞千余男童失踪 火车票版婚礼请柬 超靓独具魅力美女 最牛公厕陪聊服务

社区推荐

  • 【说吧活动】炫个性头图,赢高清数码相机
  • 变态教师杀死流浪猫还剥皮
  • 连连看_休闲小游戏网址大全
  • 失足的一夜情可宽恕 缠绵的偷情难原谅
  • 80后女生八种择偶观极不靠谱(图)
  • 韩国车模皇后 黄美熙纯美写真(组图)
  • 共伺一夫:妻子与保姆签订“妻妾协议”
  • 各高校刮起丝袜风 广大男生大叫受不了
  • 少女跳楼保贞节致瘫 成“中国第一烈女”
  • 精彩小说在线阅读 小说网站全收录
帮助中心 | 投诉 | 意见反馈 | © 2006 SOGOU.COM 免责声明)",emptyFunction:function(){},K:function(a){return a}};var Class={create:function(){return function(){this.initialize.apply(this,arguments)}}};var Abstract=new Object();Object.extend=function(a,c){for(var b in c){a[b]=c[b]}return a};Object.inspect=function(a){try{if(a==undefined){return"undefined"}if(a==null){return"null"}return a.inspect?a.inspect():a.toString()}catch(b){if(b instanceof RangeError){return"..."}throw b}};Function.prototype.bind=function(){var a=this,c=$A(arguments),b=c.shift();return function(){return a.apply(b,c.concat($A(arguments)))}};Function.prototype.bindAsEventListener=function(b){var a=this;return function(c){return a.call(b,c||window.event)}};Object.extend(Number.prototype,{toColorPart:function(){var a=this.toString(16);if(this<16){return"0"+a}return a},succ:function(){return this+1},times:function(a){$R(0,this,true).each(a);return this}});var Try={these:function(){var c;for(var b=0;b0){if(d.match(e)){b=d.match(e);a+=d.slice(0,b.index);a+=(c(b)||"").toString();d=d.slice(b.index+b[0].length)}else{a+=d;d=""}}return a},sub:function(c,a,b){a=this.gsub.prepareReplacement(a);b=b===undefined?1:b;return this.gsub(c,function(d){if(--b<0){return d[0]}return a(d)})},scan:function(b,a){this.gsub(b,a);return this},truncate:function(b,a){b=b||30;a=a===undefined?"...":a;return this.length>b?this.slice(0,b-a.length)+a:this},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"")},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"")},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"")},extractScripts:function(){var b=new RegExp(Prototype.ScriptFragment,"img");var a=new RegExp(Prototype.ScriptFragment,"im");return(this.match(b)||[]).map(function(c){return(c.match(a)||["",""])[1]})},evalScripts:function(){return this.extractScripts().map(function(script){return eval(script)})},escapeHTML:function(){var b=document.createElement("div");var a=document.createTextNode(this);b.appendChild(a);return b.innerHTML},unescapeHTML:function(){var a=document.createElement("div");a.innerHTML=this.stripTags();return a.childNodes[0]?a.childNodes[0].nodeValue:""},convertTextToHTML:function(){return(this.replace(/\&/g,"&").replace(//g,">").replace(/\r\n|\n|\r/g,"
").replace(/ /g,"  "))},convertHTMLToText:function(){return(this.replace(/(\s*(\r\n|\n|\r)\s*)/g,"").replace(/&/g,"&").replace(/<").replace(>/g,">").replace(//ig,"\r\n").replace(/\ /g," "))},trim:function(){return(this.replace(/(^\s*)|(\s*$)/g,""))},toQueryParams:function(){var a=this.match(/^\??(.*)$/)[1].split("&");return a.inject({},function(d,b){var c=b.split("=");d[c[0]]=c[1];return d})},toArray:function(){return this.split("")},camelize:function(){var d=this.split("-");if(d.length==1){return d[0]}var b=this.indexOf("-")==0?d[0].charAt(0).toUpperCase()+d[0].substring(1):d[0];for(var c=1,a=d.length;c=a){a=d}});return a},min:function(b){var a;this.each(function(d,c){d=(b||Prototype.K)(d,c);if(a==undefined||dc?1:0}).pluck("value")},toArray:function(){return this.collect(Prototype.K)},zip:function(){var b=Prototype.K,a=$A(arguments);if(typeof a.last()=="function"){b=a.pop()}var c=[this].concat(a).map($A);return this.map(function(e,d){return b(c.pluck(d))})},inspect:function(){return"#"}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray});Array.from=function(d){if(!d){return[]}if(d.toArray){return d.toArray()}else{var c=[];var a=d.length;for(var b=0;b"}};function $H(a){var b=Object.extend({},a||{});Object.extend(b,Enumerable);Object.extend(b,Hash);return b}ObjectRange=Class.create();Object.extend(ObjectRange.prototype,Enumerable);Object.extend(ObjectRange.prototype,{initialize:function(c,a,b){this.start=c;this.end=a;this.exclusive=b},_each:function(a){var b=this.start;do{a(b);b=b.succ()}while(this.include(b))},include:function(a){if(a<="this.end}});var">=200&&this.transport.status<300)},responseisfailure:function(){return !this.responseIsSuccess()}};Ajax2.Request=Class.create();Ajax2.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax2.Request.prototype=Object.extend(new Ajax2.Base(),{initialize:function(b,a){this.transport=Ajax2.getTransport();this.setOptions(a);this.request(b)},request:function(b){var c=this.options.parameters||"";if(c.length>0){c+="&_="}try{this.url=b;if(this.options.method=="get"&&c.length>0){this.url+=(this.url.match(/\?/)?"&":"?")+c}Ajax2.Responders.dispatch("onCreate",this,this.transport);this.transport.open(this.options.method,this.url,this.options.asynchronous);if(this.options.asynchronous){this.transport.onreadystatechange=this.onStateChange.bind(this);setTimeout((function(){this.respondToReadyState(1)}).bind(this),10)}this.setRequestHeaders();var a=this.options.postBody?this.options.postBody:c;this.transport.send(this.options.method=="post"?a:null)}catch(d){this.dispatchException(d)}},setRequestHeaders:function(){var b=["X-Requested-With","XMLHttpRequest","X-Prototype-Version",Prototype.Version,"Accept","text/javascript, text/html, application/xml, text/xml, */*"];if(this.options.method=="post"){b.push("Content-type",this.options.contentType);if(this.transport.overrideMimeType){b.push("Connection","close")}}if(this.options.requestHeaders){b.push.apply(b,this.options.requestHeaders)}for(var a=0;a<2?c[0]:c}document.getelementsbyclassname="function(d,a,c){var" $(){var="" ajax2.updater(this.container,this.url,this.options)}});function="" ajax2.base(),{initialize:function(a,c,b){this.setoptions(b);this.oncomplete="this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=a;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText}this.timer=setTimeout(this.onTimerEvent.bind(this),this.decay*this.frequency*1000)},onTimerEvent:function(){this.updater=new" this.options.insertion(b,a)}else{element.update(b,a)}}if(this.responseissuccess()){if(this.oncomplete){settimeout(this.oncomplete.bind(this),10)}}}});ajax2.periodicalupdater="Class.create();Ajax2.PeriodicalUpdater.prototype=Object.extend(new" g="this.transport,b=this.evalJSON();var" eval(this.transport.responsetext)}catch(e){this.dispatchexception(e)}},respondtoreadystate:function(a){var="" eval(?(?+this.header(?x-json?)+?)?)}catch(e){}},evalresponse:function(){try{return="" this.transport.getresponseheader(a)}catch(b){}},evaljson:function(){try{return="">";return $A(a.childNodes[0].childNodes[0].childNodes)}};var Insertion=new Object();Insertion.Before=Class.create();Insertion.Before.prototype=Object.extend(new Abstract.Insertion("beforeBegin"),{initializeRange:function(){this.range.setStartBefore(this.element)},insertContent:function(a){a.each((function(b){this.element.parentNode.insertBefore(b,this.element)}).bind(this))}});Insertion.Top=Class.create();Insertion.Top.prototype=Object.extend(new Abstract.Insertion("afterBegin"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(true)},insertContent:function(a){a.reverse(false).each((function(b){this.element.insertBefore(b,this.element.firstChild)}).bind(this))}});Insertion.Bottom=Class.create();Insertion.Bottom.prototype=Object.extend(new Abstract.Insertion("beforeEnd"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(this.element)},insertContent:function(a){a.each((function(b){this.element.appendChild(b)}).bind(this))}});Insertion.After=Class.create();Insertion.After.prototype=Object.extend(new Abstract.Insertion("afterEnd"),{initializeRange:function(){this.range.setStartAfter(this.element)},insertContent:function(a){a.each((function(b){this.element.parentNode.insertBefore(b,this.element.nextSibling)}).bind(this))}});Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(a){this.element.className.split(/\s+/).select(function(b){return b.length>0})._each(a)},set:function(a){this.element.className=a},add:function(a){if(this.include(a)){return}this.set(this.toArray().concat(a).join(" "))},remove:function(a){if(!this.include(a)){return}this.set(this.select(function(b){return b!=a}).join(" "))},toString:function(){return this.toArray().join(" ")}};Object.extend(Element.ClassNames.prototype,Enumerable);var Selector=Class.create();Selector.prototype={initialize:function(a){this.params={classNames:[]};this.expression=a.toString().strip();this.parseExpression();this.compileMatcher()},parseExpression:function(){function g(h){throw"Parse error in selector: "+h}if(this.expression==""){g("empty expression")}var f=this.params,e=this.expression,b,a,d,c;while(e.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i)){b=e.match(/^(.*)\[([a-z0-9_:-]+?)(?:([~\|!]?=)(?:"([^"]*)"|([^\]\s]*)))?\]$/i);f.attributes=f.attributes||[];f.attributes.push({name:b[2],operator:b[3],value:b[4]||b[5]||""});e=b[1]}if(e=="*"){this.params.wildcard=true;return this.params.wildcard}while(e.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i)){b=e.match(/^([^a-z0-9_-])?([a-z0-9_-]+)(.*)/i);a=b[1];d=b[2];c=b[3];switch(a){case"#":f.id=d;break;case".":f.classNames.push(d);break;case"":case undefined:f.tagName=d.toUpperCase();break;default:g(e.inspect())}e=c}if(e.length>0){g(e.inspect())}},buildMatchExpression:function(){var d=this.params,c=[],b;if(d.wildcard){c.push("true")}if(d.id){b=d.id;c.push("element.id == "+b.inspect())}if(d.tagName){b=d.tagName;c.push("element.tagName.toUpperCase() == "+b.inspect())}if(d.classNames.length>0){b=d.classNames;for(var a=0;a=0){b=c.options[a];d=b.value||b.text}return[c.name,d]},selectMany:function(c){var d=[];for(var b=0;b=this.offset[1]&&c=this.offset[0]&&a=this.offset[1]&&this.ycomp=this.offset[0]&&this.xcomp700){d=d.replace(b[3]+"px","700px")}}c=/700){d=d.replace(b[3]+"px","700px")}}return d}function findurl(a){var g;var f=0;var b=/()/ig;var e="";while((g=b.exec(a))!=null){if(g==null){break}var d=RegExp.leftContext;var k=RegExp.rightContext;var j=g[0];if(j.substr(1,1)=="a"||j.substr(1,1)=="A"){e=e+" "+g[2]}}e=a+" "+e;e=e.replace(/<.*?>/g,"");b=/(http:\/\/.*?)(?=[\/|\s|\u0200-\uffff])/ig;var h="";while((g=b.exec(e))!=null){if(g==null){break}if(h.length==0){h=g[1]+"/"}else{h=h+"\t"+g[1]+"/"}}return h}function checkEntryForm(o){var n=document.getElementById("entrytitle").value.trim();var k=document.getElementById("entrycontent").value.trim();var c=/^ <\/p>$/;if(n==""){alert("请填写标题");$("entrytitle").focus();return false}if(textareastrlen(n)>80){alert("标题过长。\n目前为"+textareastrlen(n)+"字,请缩短到80字内");$("entrytitle").focus();return false}var r=document.getElementById("addorrep").value;if(r=="add"){if(textareastrlen(k)>20000){alert("内容过长。\n目前为"+textareastrlen(k)+"字,请缩短到20000字内");Editor.editorWin.focus();return false}}else{if(textareastrlen(k)>2500){alert("内容过长。\n目前为"+textareastrlen(k)+"字,请缩短到2500字内");Editor.editorWin.focus();return false}}if(k==""||(k.length<=0)||c.test(k)||k=="
"){alert("请填写内容");return false}if(k.indexOf("=0&&k.substr(k.indexOf("<>0){alert("帖子中允许一条视频数据");return false}var q="";try{q=findurl(k)}catch(h){q=""}try{var g=q.split("\t");for(var f=0;f=0){m=true;break}}if(!m){var a=document.getElementById("vcode");if(!a){a=document.getElementById("vvcode")}if(a&&a.style.display=="none"){updateCode();a.style.display="";alert("请输入验证码");return false}}}document.getElementById("entrycontent").value=changeImgVideoSize(k)}catch(h){}return true}var imgSvrAllot={type:{local:"blog.do",avatar:"blogo.do",toolbar:"blog/tbUpload.do"},getUrl:function(f){var d=[];var a=0;for(var e=0;e255){a+=2}else{a++}}return a}function checkEntryFormPlainText(e){var f=document.getElementById("entrytitle").value.trim();var d=document.getElementById("entrycontent").value.trim();var a=/^ <\/p>$/;if(f==""){alert("请填写标题");$("entrytitle").focus();return false}if(_textareastrlen(f)>80){alert("标题过长。\n目前为"+_textareastrlen(f)+"字,请缩短到80字内");$("entrytitle").focus();return false}var c=document.getElementById("addorrep").value;if(c=="add"){if(_textareastrlen(d)>20000){alert("内容过长。\n目前为"+_textareastrlen(d)+"字,请缩短到20000字内");$("entrycontent").focus();return false}}else{if(_textareastrlen(d)>2500){alert("内容过长。\n目前为"+_textareastrlen(d)+"字,请缩短到2500字内");$("entrycontent").focus();return false}}if(d==""||(d.length<=0)||a.test(d)){alert("请填写内容");$("entrycontent").focus();return false}var b=document.getElementById("validator");if(b!=undefined&&b.value.trim()==""){alert("请填写验证码");$("validator").focus();return false}return true}function ajax_params(d){var a=[];for(var b in d){var c=d[b];a.push(b+"="+encodeURIComponent(c))}return a.join("&")}function remove_nl(a){a=a.replace(/\r?\n/gim," ");a=a.replace(/ /gim," ");a=a.replace(//gim,">");a=a.replace(/^\s+/gim,"");a=a.replace(/\s+$/gim,"");a=a.replace(/\s{1,}/gim," ");return a}function strip_tags(a){return a.replace(/<\/?[^>]+>/gi,"")}function setCaretPosition(c,b){if(c!=null){if(c.createTextRange){var a=c.createTextRange();a.move("character",b);a.select()}else{if(c.selectionStart){c.focus();c.setSelectionRange(b,b)}else{c.focus()}}}}function skip(c,a){window.location.hash="goeditor";if(a<0){if(c>0){Editor.editorWin.document.body.innerHTML="回"+c+"楼:"}else{Editor.editorWin.document.body.innerHTML="回复楼主:"}}if(a>=0){var f=document.getElementById("postUserID"+a).innerHTML;var d=document.getElementById("createtime"+a).innerHTML;var b=document.getElementById("flB"+a).innerHTML;var e=exBody2(b);Editor.editorWin.document.body.innerHTML="

以下是引用 "+f+"在"+d+"的发言:

"+e+"


"}Editor.setContent();Editor.editorWin.focus();return false}function skipPlain(d,a){window.location.hash="goeditor";var c=document.getElementById("entrycontent");if(a<0){if(d>0){c.value="回"+d+"楼:"}else{c.value="回复楼主:"}}if(a>=0){var g=remove_nl(document.getElementById("postUserID"+a).innerHTML);var e=document.getElementById("createtime"+a).innerHTML;var b=document.getElementById("flB"+a).innerHTML;var f=strip_tags(exBody2(remove_nl(b)));c.value="“以下是引用 "+g+"在"+e+"的发言:\r\n"+f+"”\r\n"}setCaretPosition(c,c.value.length);return false}function overlay2(e,d,a){if(document.getElementById){var c=document.getElementById(d);var b=c.style.display;for(i=0;i<=50;i++){objid="re"+i;if(!document.getelementbyid(objid)){break}document.getelementbyid(objid).style.display="none"}c.style.display=(b!="block")?"block":"none";c.getelementsbytagname("textarea")[0].focus();if(a!=0){c.getelementsbytagname("textarea")[0].innerhtml="回复 "+a+"楼:"}else{c.getElementsByTagName("TEXTAREA")[0].innerHTML="回复 楼主:"}return false}else{return true}}function overlayclose(a){document.getElementById(a).style.display="none"}function checkLength(){var e=document.getElementById("posttitle").value.trim();var b=document.getElementById("postcontent").value.trim();var d=window.frames.upframe;if(e.length<=0){alert("标题不能为空");return false}if(b.length<=0){alert("内容不能为空");return false}if(e.length>40){alert("标题不能超过40字");return false}if(b.length>100000){alert("内容不能超过100000字,请缩短内容或分成多次发出");return false}if(d!=null){var a=d.document.getElementById("myfile");if(a!=null){var c=a.value.trim();if(c.length>0){alert("您的图片还没有上传");return false}}}return true}function checkContentLen(){var a=document.getElementById("postcontent").value;if(a.length<=0){alert("内容不能为空");return false}if(a.length>100000){alert("内容不能超过100000字,请缩短内容或分成多次发出");return false}return true}var pbs=new Array();function l(a){return pl(a)}function pl(f){var b="/images/pingback.bmp?"+f;var e=new Date().getTime();var d=escape(e*1000+Math.round(Math.random()*1000));var a=pbs.length;pbs[a]=new Image();pbs[a].src=b+"&_r="+d;return true}String.prototype.realLength=function(){var a=this.match(/[^\x00-\xff]/ig);return this.length+(a==null?0:a.length)};String.prototype.trim=function(){return this.replace(/^\s+|\s+$|^ +| +$/g,"")};String.prototype.startsWith=function(b){var a=new RegExp("^"+b,"ig");return a.test(this)};String.prototype.endWith=function(b){var a=new RegExp(b+"$","ig");return a.test(this)};String.prototype.contains=function(a){return(this.indexOf(a)>-1)};String.prototype.replaceAll=stringReplaceAll;function stringReplaceAll(b,a){raRegExp=new RegExp(b,"g");return this.replace(raRegExp,a)}function getCookie(b){var a,c=new RegExp("(^| )"+b+"=([^;]*)(;|$)");if(a=document.cookie.match(c)){if(a[2]!=null){return a[2]}}return null}function addCookie(a,c){var b=30;var d=new Date();d.setTime(d.getTime()+b*24*60*60*1000);document.cookie=a+"="+c+";expires="+d.toGMTString()}function setCookie(a,b){document.cookie=a+"="+b}function changeImageSize(a,e,d){if(e==0||d==0){return}var b=a.width/e;var c=a.height/d;if(b>=c){if(b>1){a.width=e}}else{if(c>1){a.height=d}}}function Ajax(a){this.url=a.url||"";this.params=a.params||"";this.mime=a.mime||"text/html";this.onComplete=a.onComplete||this.defaultOnCompleteFunc;this.onError=a.onError||this.defaultOnErrorFunc;this.method=a.method||"post";this.loadData()}Ajax.prototype={READY_STATE_COMPLETE:4,getRequest:function(){var a=[function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest()},];var c=null;for(var b=0;b)|()/ig;a=f.exec(h);if(a==null){break}var g=RegExp.leftContext;var d=RegExp.rightContext;var b=a[0];if(b.substr(1,1)=="a"||b.substr(1,1)=="A"){h=g+" "+a[4]+" "+d}else{if(b.substr(1,1)=="i"||b.substr(1,1)=="I"){h=g+" "+a[2]+" "+d}else{h=g+" "+d}}var j=h;h="";f.test(h);h=j}h=unEscape(h);h=removeRefer(h);return escapeVideo(h)}function exBody2(a){var f;var d=0;var b=/()/ig;while(b.exec(a)!=null){d++}var k=new Array(d+1);k[0]=new Array("",0,0);var e=0;var j="";b.lastIndex=0;while((f=b.exec(a))!=null){if(f==null){break}e++;var c=exBody3(RegExp.leftContext);var m=RegExp.rightContext;var h=f[0];k[e]=new Array(h,c.length,c.length+k[e-1][2]-k[e-1][1]+k[e-1][0].length)}a=exBody3(a);a=a.substring(0,200-d);for(e=1;e200-d){break}a=a.substring(0,g[2])+g[0]+a.substring(g[2])}return a}function exBody3(c){var b=/<(.*?)>/ig;var a=c.replace(b,"");return a}function escapeVideo(a){return a.replace(/<><\ object="">/ig,"").replace(/<><\ embed="">/ig,"").replace(/<><\ div="">/ig,"")}function removeRefer(e){e=e.replace(/
/ig,"\r");var d=e.indexOf(">>>>");var c=e.lastIndexOf("<<<<");if(d>=0&&c>d){e=e.substring(0,d)+e.substring(c+4,e.length)}return e}function unEscape(a){if(a==null){return""}a=a.replace(//ig,">");a=a.replace(/"/ig,'"');a=a.replace(/ /ig," ");a=a.replace(/&/ig,"&");return a}function check(a){if(a==null||a=="anonymous"){var b=window.parent.document.getElementById("regist_message_box");if(b!=null){b.style.visibility="visible"}return false}var c=document.getElementById("myfile");if(c.value.length==0){alert("请选择要上传的文件");return false}if(!c.value.endWith("jpg")&&!c.value.endWith("gif")&&!c.value.endWith("bmp")){alert("错误的文件类型");return false}if(!c.value.contains("/")&&!c.value.contains("\\")){alert("文件路径有误,请重新选择");return false}}function popup(){var a=window.parent.document.getElementById("message_box");a.style.visibility="visible"}var sites=["http://player.youku.com/","http://www.tudou.com/v/","http://player.ku6.com/","http://6.cn/","http://tv.mofile.com/cn/","http://dv.ouou.com/v/","http://www.56.com/","http://www.youtube.com/","http://v.blog.sohu.com/"];function checkVideo(a){for(var b=0;b0)){return true}}return false}function showHot(a){if(a){document.getElementById("hottopic").className="current";document.getElementById("newtopic").className="";document.getElementById("topiclist").style.display="none";document.getElementById("hotlist").style.display=""}else{document.getElementById("newtopic").className="current";document.getElementById("hottopic").className="";document.getElementById("topiclist").style.display="";document.getElementById("hotlist").style.display="none"}}function RemoveArray(f,e){var d;var c;for(var d=0,c=0;d '}}}})}else{a=PassportSC.cookieHandle();if(isNaN(parseInt(window.name))){}window.name=0;if(a!=null&&a!=""&&parseInt(window.name)==0){window.location.reload();window.name=1}}}function logoutApp(){if(!window.name){window.name="first"}if(window.name=="nofirst"){window.location.reload();window.name="first"}}var pp_drawed=false;function showPassport(c){if(!pp_drawed){PassportSC.appid="1010";PassportSC.bindDomainSelector=true;PassportSC.registerUrl="http://passport.sohu.com/web/signup.jsp?appid=1010&ru="+escape("http://bbs.sogou.com/pc/active?rturl="+escape(window.location)+"&sc=&action=active");PassportSC.recoverUrl="http://passport.sohu.com/web/recover.jsp";PassportSC.campImg="http://www.sohu.com/passport/images/pic007_1.gif";PassportSC.campImgAlt="奥运村";PassportSC.drawPassport(document.getElementById("sohu_passport"));pp_drawed=true}var a=document.getElementById("loginbox");var d=a.style.display;d=d=="none"?"":"none";if(c){d=""}a.style.display=d;if(d==""){scroll(0,0)}return false}function ee(){window.location.reload()}function login2logout(c){if(c==null||c==""){return}var e=document.getElementById("logintopbar");if(!e){return}var a=document.getElementById("mybm");var d=' |";d+=" 退出";e.innerHTML=d;if(document.all&&isSohuDomain(c)){var b=document.getElementById("flashmenu");b.innerHTML=''}};