	var content;
	var colorPanel;
	var smilePanel=false;
	var mofaPanel=false;
	var mozilla = (navigator.userAgent.toLowerCase().indexOf("msie") == -1);
	function initEditor(id,t) {
    //禁止评论的文章不显示回复框
    if(typeof(enable_comment)!='undefined'){
        if(!enable_comment)
                return false;
    }
		createCommentForm(t);
		window.editorId=id;
		var table=document.getElementById("tblCtrls");

		var textarea=document.getElementById(id);
		textarea.style.zIndex=1000;
		var iframe=$("editArea");
		iframe.style.width=textarea.offsetWidth+"px";
		iframe.style.height=textarea.offsetHeight+"px";
		table.style.width=textarea.offsetWidth+"px";
		iframe.style.position="absolute";
		iframe.border=0;
		iframe.vspace=0; iframe.hspace=0;
		iframe.style.border="0";
		var pos=new getPos(id);

		//iframe.style.left=pos.Left+"px";

		//iframe.style.border="1px solid #dddddd";
		//iframe.style.top=pos.Top+"px";
		iframe.style.zIndex=2000;
		//iframe.style.left="0px";
		//iframe.style.top="30px";
		iframe.style.display="";
		//iframe.id="editArea";
		//iframe.src="about:blank";
		//iframe.onclick=aa;
		//document.body.appendChild(iframe);
		//$("commentform").appendChild(iframe);
		//$("commentText").parentNode.insertBefore(iframe,$("commentText"));
		window.editorIframe=iframe;
		if(!mozilla){
			//iframe.style.borderRight="1px solid #ccc";
			//iframe.style.borderBottom="1px solid #ccc";
		}
		content = document.getElementById("editArea").contentDocument;
		if(content == null){
			content = editArea.document;
		}
		content.designMode = "On";
		content.open();
		content.write(textarea.value);
		content.close();
		textarea.value="";
		//window.onresize=rePosition;
	}
	function aa(){
		document.comment.setCaretPosition(0);
	}
	function rePosition(){

		var pos=new getPos(window.editorId);
		window.editorIframe.style.left=pos.Left+"px";
		window.editorIframe.style.top=pos.Top+"px";
	}
	function createColorPanel(){
		var colors=new Array();
		colors[0]=new Array("#ffffff","#ffcccc","#ffcc99","#ffff99","#ffffcc","#99ff99","#99ffff","#ccffff","#ccccff","#ffccff");
		colors[1]=new Array("#cccccc","#ff6666","#ff9966","#ffff66","#ffff33","#66ff99","#33ffff","#66ffff","#9999ff","#ff99ff");
		colors[2]=new Array("#c0c0c0","#ff0000","#ff9900","#ffcc66","#ffff00","#33ff33","#66cccc","#33ccff","#6666cc","#cc66cc");
		colors[3]=new Array("#999999","#cc0000","#ff6600","#ffcc33","#ffcc00","#33cc00","#00cccc","#3366ff","#6633ff","#cc33cc");
		colors[4]=new Array("#666666","#990000","#cc6600","#cc9933","#999900","#009900","#339999","#3333ff","#6600cc","#993399");
		colors[5]=new Array("#333333","#660000","#993300","#996633","#666600","#006600","#336666","#000099","#333399","#663366");
		colors[6]=new Array("#000000","#330000","#663300","#663333","#333300","#003300","#003333","#000066","#330099","#330033");

		var html='<table id="colorpicker" border="1">';
		for(i=0;i<colors.length;i++){
			html+='<tr>';
			for(j=0;j<colors[i].length;j++)
				html+='<td id="'+colors[i][j]+'" bgcolor="'+colors[i][j]+'" height="10" width="10" onclick="doCommand(\'forecolor\',\''+colors[i][j]+'\')"><img height="1" width="1"></td>';
			html+='</tr>';
		}
		html+='</table>';
		var div=document.createElement("div");
		div.style.position="absolute";
		div.style.width="160px";
		div.style.height="120px";
		div.style.zIndex="2000";
		div.style.visibility="hidden";
		div.innerHTML=html;
		document.body.appendChild(div);

		colorPanel=div;
	}
	function createSmilePanel(){
		
	}
	function createSmilePanelDiv(){
		var html='<table id="smilepicker" border="1">';
		for(i=0;i<6;i++){
			html+='<tr>';
			for(j=0;j<8;j++){
				var k=i*8+j+1;
				html+='<td height="24" width="24"><img src="http://www.172baby.com/imgs/smile/'+k+'.gif" onclick="chooseSmile(this)"></td>';

			}
			html+='</tr>';
		}
		html+='</table>';

		var div=document.createElement("div");
		div.style.position="absolute";
		div.style.width="160px";
		div.style.height="120px";
		div.style.display="none";
		div.style.zIndex=2001;
		div.innerHTML=html;
		document.body.appendChild(div);

		smilePanel=div;
		
	}
  //创建魔法表情
  function closeMofaPanel(){
	window.mofaPanel.style.display="none";
  }
  function showMofaPanel(){
	  if(!mofaPanel)
		  createMofaPanel();
	  var t=this.pageYOffset || document.documentElement.scrollTop;
	mofaPanel.style.top = t+150+"px";
	mofaPanel.style.left = (document.body.scrollLeft+20)+"px";
	window.mofaPanel.style.display="block";
  }
  function createMofaPanel(){
	  var html="";
	  if(typeof(isVipUser)=="undefined" ||!isVipUser){
		html+='<div style="border:1px solid #ccc;line-height:24px;font-size:14px;background:#fff;color:#ff0000">您好，只有vip用户才可以使用魔法表情，点击<a href="/control.php?op=payment&type=choose&kind=vip">这里</a>升级为VIP</div>'

	  }else{
	  html+="<a href='javascript:closeMofaPanel();' style='position:absolute;right:2px;top:4px;color:red'>[X]</a><div style='text-align:center;padding-bottom:4px'><div style='line-height:22px;height:22px;color:#666;text-align:left;padding-left:4px;font-weight:bold;font-size:14px'><img height=\"22\" align=\"absmiddle\" src=\"/imgs/editor/mofa.gif\"/>选择魔法表情</div>";
	  for(var m=1;m<=8;m++){
      if(m==1)
		html+='<div id="mofa_'+m+'" style="display:block;margin:4px;border:1px solid #FCCDD1">';
	  else
		html+='<div id="mofa_'+m+'" style="display:none;margin:4px;border:1px solid #FCCDD1">';
	  html+='<table id="mofapicker" border="0" style="background:#fff;text-align:left;margin:0 auto" cellspacing=0 cellpadding=0>';
		for(i=0;i<6;i++){
			html+='<tr>';
			for(j=0;j<7;j++){
				var k=i*7+j+1+(m-1)*42;
				if(k<=320){
					if(k<10)
						k="00"+k;
					else if(k<100)
						k="0"+k;
					html+='<td height="40" width="40"><a href="javascript:showMofa(\''+k+'\');"><img src="/imgs/mofa/mf_'+k+'.gif" width="38" ></a>';

					html+='<input type="radio" name="mofa_check" id="mofa_check_'+k+'"></td>';

				}
			}
			html+='</tr>';
		}
		html+='</table></div>';
	    }
		//底部分页条
		html+='<div style="height:22px"><a href="javascript:pagerMofa(1);">[1]</a> <a href="javascript:pagerMofa(2);">[2]</a> <a href="javascript:pagerMofa(3);">[3]</a> <a href="javascript:pagerMofa(4);">[4]</a> <a href="javascript:pagerMofa(5);">[5]</a> <a href="javascript:pagerMofa(6)">[6]</a> <a href="javascript:pagerMofa(7)">[7]</a> <a href="javascript:pagerMofa(8)">[8]</a>';
		html+='&nbsp;&nbsp; <input type="button" onclick="javascript:applyMofa();" style="font-size:14px;color:#fff;background:#FF6600;border-width:1px;border-color:#FFFFFF #6A6A6A #6A6A6A #FFFFFF;border-style:solid" value="使用">';
		html+='</div></div>';
	   }
		var div=document.createElement("div");
		div.style.position="absolute";
		div.style.width="288px";
		div.style.background="#FFEAEC";
		div.style.display="none";
		div.style.top="100px";
		div.style.left="20px";
		div.style.zIndex=2001;
		div.innerHTML=html;
		document.body.appendChild(div);
		window.currentMofaPage=1;
		mofaPanel=div;

  }

  function pagerMofa(n){
	  for(i=1;i<=8;i++){
		if(i==n){
			$("mofa_"+i).style.display="block";
			window.currentMofaPage=i;
		}
		else
			$("mofa_"+i).style.display="none";
	  }
  }
  function previewMofa(){
	  var start=(window.currentMofaPage-1)*42+1;
	  var end=window.currentMofaPage*42;
	  if(end>320)
		  end=320;
	  for(var i=start;i<=end;i++){
		  if(i<10)
			  j="00"+i;
		  else if(i<100)
			  j="0"+i;
		if($("mofa_check_"+j)&&$("mofa_check_"+j).checked){
			//预览
			showMofa(j);
			return;
		}

	  }
	  alert("请选中魔法表情");
  }
  function applyMofa(){
	   var start=(window.currentMofaPage-1)*42+1;
	  var end=window.currentMofaPage*42;
      //alert(ddstart+"|"+end)
	  if(end>320)
		  end=320;
	  for(var i=start;i<=end;i++){
		  if(i<10)
			  j="00"+i;
		  else if(i<100)
			  j="0"+i;
          else
              j=i;
		if($("mofa_check_"+j)&&$("mofa_check_"+j).checked){
			//预览
			var html='<a onmouse_over="showMofa(\''+j+'\');"><img border=0 src="/imgs/mofa/mf_'+j+'.gif"></a>&nbsp;';
			content.getElementsByTagName("body")[0].innerHTML+=html;

			return;
		}

	  }
	  alert("请选中魔法表情");

  }
  function showMofa(id){
    if(typeof(mofaPreview)=="undefined"){
		var div=document.createElement('div');
		with(div.style){
			position="absolute";
			display="none";
			width="500px";
			height="350px";
		}
		document.body.appendChild(div);
		window.mofaPreview=div;
	}
    $("mofa_check_"+id).checked=true;
	var MagicFaceUrl = "/imgs/mofa/mf_"+id+".swf";
	var obj = mofaPreview;
	obj.innerHTML="";
	obj.innerHTML = '<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="350"><param name="movie" value="'+ MagicFaceUrl +'"><param name="menu" value="false"><param name="quality" value="high"><param name="play" value="false"><param name="wmode" value="transparent"><embed src="' + MagicFaceUrl +'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="350"></embed></object>';
	var t=this.pageYOffset || document.documentElement.scrollTop;
	obj.style.top = t+50+"px";
	obj.style.left = (document.body.scrollLeft+((document.body.clientWidth-480)/2))+"px";
	obj.style.display = 'block';
	setTimeout("hideMofaPreview()",8000);
  }

  function hideMofaPreview(){

		mofaPreview.style.display="none";
  }

//end mofa
  function doCommand(command){
	doCommand(command, null);
  }

  function doCommand(command, value){
	content.execCommand(command, false, value);
  }

  function promptForValue(promptText, command){
    var value = prompt(promptText, '');
    if(value != null)
      content.execCommand(command, false, value);
  }
  function createLink(){
  	 var PopText,PopUrl
	  if (PopText=window.prompt("请输入链接名称","")) {
	  	  if (PopUrl=window.prompt("请输入链接地址","http://")){
	  	  html='<a href="'+PopUrl+'">'+PopText+'</a>&nbsp;';
	  	  content.getElementsByTagName("body")[0].innerHTML+=html;

	  	  }
   	  }
  }

  function  chooseColor(color){
	content.execCommand('forecolor',false,color);
  }
  function  chooseSmile(e){
  	var html='<img src="'+e.src+'">';
  	content.getElementsByTagName("body")[0].innerHTML+=html;

	closeSmilePanel();
  }
  function showColorPanel(){
  var pos=new getPos('foreColor');

  colorPanel.style.left=pos.Left+"px";
  colorPanel.style.top=pos.Top+35+"px";
  colorPanel.style.visibility ="visible"
  //if(mozilla)
  //	 document.body.addEventListener("click",closeColorPanel,true);
  //else
  //	document.body.attachEvent("onclick",closeColorPanel);
}

function closeColorPanel(){

  if(mozilla)
  	document.body.removeEventListener("click",closeColorPanel,true);
  else
	  document.body.detachEvent("onclick",closeColorPanel);
 colorPanel.style.visibility ="hidden"
}

function showSmilePanel(){
	if(!smilePanel)
		createSmilePanelDiv();
  var pos=new getPos('smilePanel');

  smilePanel.style.left=pos.Left+"px";
  smilePanel.style.top=pos.Top+35+"px";
  smilePanel.style.display ="block";
  if(mozilla)
  	 document.body.addEventListener("click",closeSmilePanel,true);
  else{
  	 setTimeout(bindClose,100);

  }
}

function bindClose(){
	 document.body.attachEvent("onclick",closeSmilePanel);
}
function closeSmilePanel(){
  smilePanel.style.display ="none";
  if(mozilla)
  	document.body.removeEventListener("click",closeSmilePanel,true);
  else
	  document.body.detachEvent("onclick",closeSmilePanel);
}

function getPos(obj){
  this.Left=0
  this.Top=0
  var TempLeft
  var tempObj=document.getElementById(obj);
  while (tempObj.tagName.toLowerCase()!="body"&&tempObj.tagName.toLowerCase()!="html"){
  	 this.Left+=tempObj.offsetLeft;
  	 this.Top+=tempObj.offsetTop;
  	 tempObj=tempObj.offsetParent;

  }
}

// Styling on mouse events

  function mouseOver(ctrl){
	//ctrl.style.borderColor = '#000000';
	//ctrl.style.backgroundColor = '#B5BED6';
	//ctrl.style.cursor = 'hand';
  }

  function mouseOut(ctrl){
	//ctrl.style.borderColor = '#D6D3CE';
	//ctrl.style.backgroundColor = '#D6D3CE';
  }

  function mouseDown(ctrl){
	//ctrl.style.backgroundColor = '#8492B5';
  }

  function mouseUp(ctrl){
    	//ctrl.style.backgroundColor = '#B5BED6';
  }

  //createColorPanel();
  function createCommentForm(t){
      // page->普通前台评论
      if( typeof(t) == "undefined" ){ var t="page"; }
      var html = getHtml( t );
      do_insert(html,t);
  }
function getHtml(t){
    switch ( t ){
        case "highslide":
            return getHighslideHtml();
        case "page":
        default:
        return getPageHtml();
    }
}
function getPageHtml(){
    var html='<div class="mod modposition" id="commentForm">';
//{{{
    //html+='<div class="title" title="点击展开/关闭该模块">';
    html+='<div class="title" >';
    html+='<div class="leftwrap"></div>';
    html+='<div class="rightwrap"></div>';
    //html+='<div class="toggle" title="点击展开/关闭该模块"></div>';
    html+='<div class="toggle"></div>';
    html+='<h2>难道您不想说点什么？</h2>';
    html+='</div>';

    html+='<div class="modcontent">';
    html+='<div id="comment_form">';
    html+='<label class="formname">用户：</label>';
    html+='<div class="forminput">';
    html+='<input type="text" name="username" value="" size="38" class="textinput" id="commentUserName" tabIndex="1" />';
    html+='</div>';
    html+='<br clear="all" />';

    html+='<label class="formname">内容：</label>';
    html+='<div class="forminput">';
    html+= getTblCtrlsHtml({});

    html+='<textarea cols="66" rows="8" class="textinput" id="commentText"></textarea>';
    html+='<iframe src="about:blank" id="editArea" style="display:none;top:26px;left:100px;*left:0px;position:absolute;border:none" name="editArea" tabindex="3"></iframe>';
    html+='</div>';
    html+='<br clear="all" />';
    html+='<input type="submit" value="提交评论" class="button" id="addCommentBtn"/>';
    html+='<input type="button" value="重写" class="button" id="resetCommentBtn" style="margin-left:20px"/>';
    html+='<input type="hidden" value="" id="reply-comment-user-id"/>';
    html+='<input type="hidden" value="" id="reply-comment-user-level"/>';
    html+='<input type="hidden" value="" id="reply-comment-user-comment-id"/>';
    html+='<span style="margin-left:20px">请登录后发表回复，可以显示你的头像奥</span>';
    html+='</div><!-- end commentform -->';
    html+='<div id="tipAddComments" style="display:none">正在提交评论...</div>	';
    html+='</div>';
    html+='</div>';
//}}}
    return html;
}
function getHighslideHtml(){
    var html ="";
    html+= getTblCtrlsHtml({w:'100%',word:false,padding:"1px;", style:"border-bottom:1px solid #ABCDEF;background-color:#D6EFFF"});

    html+='<textarea name="commentText" id="commentText"></textarea>';
    html+='<iframe src="about:blank" id="editArea" style="display:none;*left:0px;border:none; padding-top:0px;" name="editArea" tabindex="3" frameborder=0></iframe>';
    return html;

}
function getTblCtrlsHtml( param){
    if( typeof(param.w)=="undefined" ) param.w=415;
    var html ="";
//{{{
    html+='<table id="tblCtrls" width="'+param.w+'" border="0" cellspacing="0" cellpadding="0" ';
  if( typeof(param.style)!= "undefined" )
    html+= ' style="'+param.style+'"';
    html+= '>';
    html+='<tr>';
    html+='<td class="tdClass"';
  if( param.padding!==false )
    html+= 'style="padding:'+param.padding+'"';
    html+= '>';
    html+='<img alt="粗体" class="butClass" src="/imgs/editor/bold.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="doCommand(\'bold\')">';
    html+='<img alt="斜体" class="butClass" src="/imgs/editor/italic.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="doCommand(\'italic\')">';
    html+='<img alt="下划线" class="butClass" src="/imgs/editor/underline.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="doCommand(\'underline\')">';
    html+='</td>';
    html+='<td class="tdClass"';
  if( param.padding!==false )
    html+= 'style="padding:'+param.padding+'"';
    html+= '>';
  if( param.word!==false){
    html+='<select name="selFont" onChange=\'doCommand("fontname", this.options[this.selectedIndex].value);\' style="font-size:12px">';
    html+='<option value="">字体</option>';
    html+='<option value="宋体" style="font-family:宋体;">宋体</option>';
    html+='<option value="楷体_GB2312" style="font-family:楷体_GB2312;">楷体</option>';
    html+='<option value="黑体" style="font-family:黑体;">黑体</option>';
    html+='<option value="隶书" style="font-family:隶书;">隶书</option>';
    html+='<option value="幼圆" style="font-family:幼圆;"><span style="font-family:幼圆;">幼圆</span></option>';
    html+='<option value="Arial" style="font-family:Arial;">Arial</option>';
    html+='<option value="Courier New" style="font-family:Courier New;">Courier</option>';
    html+='<option value="Verdana" style="font-family:Verdana;">Verdana</option>';
    html+='</select>';
  }

  if( param.size!==false){
    html+='&nbsp;<select name="selSize" onChange=\'doCommand("fontsize", this.options[this.selectedIndex].value);\' style="font-size:12px;">';
    html+='<option value="">大小</option>';
    html+='<option value="1">1</option>';
    html+='<option value="2">2</option>';
    html+='<option value="3">3</option>';
    html+='<option value="4">4</option>';
    html+='<option value="5">5</option>';
    html+='<option value="6">6</option>';
    html+='</select>';
  }
    html+='<select name="selSize" onChange=\'doCommand("forecolor", this.options[this.selectedIndex].value);\' style="font-size:12px">';
    html+='<option value="" >颜色</option>';
    html+='<option value="#FF9999" style="background:#FF9999">#FF9999</option>';
    html+='<option value="#FFFF80" style="background:#FFFF80">#FFFF80</option>';
    html+='<option value="##80FF80" style="background:#80FF80">#80FF80</option>';
    html+='<option value="#80FFFF" style="background:#80FFFF">#80FFFF</option>';
    html+='<option value="#0080FF" style="background:#0080FF;">#0080FF</option>';
    html+='<option value="#FF80C0" style="background:#FF80C0;">#FF80C0</option>';
    html+='<option value="#FF0000" style="background:#FF0000;">#FF0000</option>';
    html+='<option value="#CCCC66" style="background:#CCCC66;">#CCCC66</option>';
    html+='<option value="#00FF40" style="background:#00FF40;">#00FF40</option>';
    html+='<option value="#0099CC" style="background:#0099CC;">#0099CC</option>';
    html+='<option value="#9999CC" style="background:#9999CC;">#9999CC</option>';
    html+='<option value="#FF00FF" style="background:#FF00FF;">#FF00FF</option>';
    html+='<option value="#CC3333" style="background:#CC3333;">#CC3333</option>';
    html+='<option value="#FF9933" style="background:#FF9933;">#FF9933</option>';
    html+='<option value="#009999" style="background:#009999;">#009999</option>';
    html+='<option value="#006699" style="background:#006699;">#006699</option>';
    html+='<option value="#9999FF" style="background:#9999FF;">#9999FF</option>';
    html+='<option value="#990033" style="background:#990033;">#990033</option>';
    html+='<option value="#990000" style="background:#990000;">#990000</option>';
    html+='<option value="#FF9900" style="background:#FF9900;">#FF9900</option>';
    html+='<option value="#009900" style="background:#009900;">#009900</option>';
    html+='<option value="#0000FF" style="background:#0000FF;">#0000FF</option>';
    html+='<option value="#000066" style="background:#000066;">#000066</option>';
    html+='<option value="#990099" style="background:#990099;">#990099</option>';
    html+='<option value="#660000" style="background:#660000;">#660000</option>';
    html+='<option value="#006666" style="background:#006666;">#006666</option>';
    html+='<option value="#999900" style="background:#999900;">#999900</option>';
    html+='<option value="#660099" style="background:#660099;">#660099</option>';
    html+='<option value="#339999" style="background:#339999;">#339999</option>';
    html+='<option value="#66CCCC" style="background:#66CCCC;">#66CCCC</option>';
    html+='<option value="#000000" style="background:#000000;">#000000</option>';
    html+='<option value="#494949" style="background:#494949;">#494949</option>';
    html+='<option value="#767676" style="background:#767676;">#767676</option>';
    html+='<option value="#A6A6A6" style="background:#A6A6A6;">#A6A6A6</option>';
    html+='<option value="#C7C7C7" style="background:#C7C7C7;">#C7C7C7</option>';
    html+='<option value="#FFFFFF" style="background:#FFFFFF;">#FFFFFF</option>';
    html+='</select>';
    html+='</td>';
    html+='<td';
  if( typeof(param.padding)!="undefined" )
    html+= ' style="padding:'+param.padding+'"';
    html += '>';
	html+='<img alt="魔法表情" class="butClass" src="/imgs/editor/mofa.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="showMofaPanel()" id="mofaPanel">';
    html+='<img alt="表情" class="butClass" src="/imgs/editor/smiley.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="showSmilePanel()" id="smilePanel">';
    html+='<img alt="链接" class="butClass" src="/imgs/editor/link.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="createLink()">';
    html+='<img alt="图像" class="butClass" src="/imgs/editor/image.gif" onMouseOver="mouseOver(this)" onMouseOut="mouseOut(this)" onMouseDown="mouseDown(this)" onMouseUp="mouseUp(this)" onClick="promptForValue(\'请输入图像的地址\',\'insertimage\')">';
    html+='</td>';
    html+='</tr>';
    html+='</table>';
//}}}
    return html;
}
function do_insert( html, t ){
    switch ( t ){
        case "highslide":
            return getHighslideHtml();
            break;
        case "page":
        default:
            var column="c2";
            if(res_type==3||res_type==4) column="c1";
            new Insertion.Bottom(column,html);
    }
    return true;
}


