/************************************************/
/*        正中在线通用JAVASCRIPT程序V1.0        */
/*                                              */
/*    程序设计：笨耗子     日期：2005-03-17     */
/************************************************/

<!--新窗口打开控制程序 Begin-->

function myopen(url,w,h,bar){
   if(bar==2){
      window.open(url,"_Register","toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,resizable=yes,width="+w+",height="+h);
   }else{
      window.open(url,"_Register","toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,width="+w+",height="+h);
   }
}

<!--新窗口打开控制程序 End Powered by Benmouse-->


<!--新闻/其他字符串处理函数开始-->

function textRun(text,length,oper){
   var length_c=length-text.length;  /*取得目前的位置与实际字符数之差*/
   if(text.length>length){
     var result=text.substr(0,length);
     // result+="...";
   }else if(oper==1 && length_c>=5){
     var result=text+"&nbsp;&nbsp;详细内容";
   }else if(oper==1 && length_c>=3){
     var result=text+"&nbsp;&nbsp;详细";
   }else{
     var result=text;
   }
   return result;
}

<!--新闻/其他字符串处理函数结束 Powered by Benmouse-->

<!--特殊字符检测函数-->
function spcCharTest(charEnter){
    //spcChar=
}
<!--特殊字符检测函数结束 Powered by Benmouse-->
