this.tInit = function(_name, _baseURL,wid,heig)
{
var len = arguments.length;
this.tName = _name;
this.tbaseURL = _baseURL;
var tObj1 = this.tEI(this.tid);
if (tObj1)
{
this.tcreateStyleSheet();
this.tValue = tObj1.value;
var tObj1Name = tObj1.name;
var tObj1Width = 538;
var tObj1Height = 223;
if(len==2)
{
tObj1Width = 538;
tObj1Height = 223;
}
if(len==4)
{
tObj1Width = wid;
tObj1Height = heig;
}
}
<textarea name="content" rows="2" cols="20" id="content" style="height:223px;width:590px;"></textarea><br />
<script type="text/javascript">
var nEditor = new jtbcEditor('content');
nEditor.tEditUBBMode = 0;
nEditor.tInit('nEditor', 'jtbceditor/');
</script><br /><br />
<textarea name="content1" rows="2" cols="20" id="content1" ></textarea><br />
<script type="text/javascript">
var nEditor = new jtbcEditor('content1');
nEditor.tEditUBBMode = 0;
nEditor.tInit('nEditor', 'jtbceditor/',800,400);
</script>