extjs布局的一个框架,但是内页没有通过extjs布局,想在内页中打开一个链接,想在新的tab窗中打开//以下是js中的部分代码
var custom_json=[
     {id:'s_tab_1',text: '我的客户',children: [
{id:'s_tab_1_1',text: '我的客户列表',leaf: true,URL:'index.php?filename=custom&cmd=my_list_custom'} ,   
         {id:'s_tab_1_2',text: '客户建立',leaf: true,URL:'index.php?filename=custom&cmd=add_custom'}     
          ]},   
{id:'s_tab_102',text: '我的联系人',children: [
{id:'s_tab_102_1',text: '我的联系人列表',leaf: true,URL:'index.php?filename=contact&cmd=my_list_contact'},     
          {id:'s_tab_102_2',text: '联系人建立',leaf: true,URL:'index.php?filename=contact&cmd=add_contact'}
  ]} ,
{id:'s_tab_2',text: '客户管理',children: [
{id:'s_tab_2_1',text: '客户审核',leaf: true,URL:'index.php?filename=custom&cmd=shenhe_list_custom'} , 
 {id:'s_tab_2_2',text: '全部客户列表',leaf: true,URL:'index.php?filename=custom&cmd=all_list_custom'}
   , 
 {id:'s_tab_2_3',text: '全部联系人列表',leaf: true,URL:'index.php?filename=contact&cmd=all_list_contact'}
  
           ]}
,{id:'s_tab_201',text: '客户变更',children: [
{id:'s_tab_201_4',text: '变更客户所有者',leaf: true,URL:'index.php?filename=custom&cmd=update_user_custom'}
,   
   {id:'s_tab_201_5',text: '变更客户记录',leaf: true,URL:'index.php?filename=custom&cmd=update_record'}
     
           ]} 
        
       ];  
var custom_root=new Ext.tree.AsyncTreeNode({
text:'客户管理', 
expanded:true,
children: custom_json
});var custom_tree=new Ext.tree.TreePanel({
width:180,singleClickExpend:true,
border:false,
autoHeight:true,
root:custom_root,
selModel: new Ext.tree.MultiSelectionModel(),
loader: new Ext.tree.TreeLoader(),
rootVisible:false,
listeners:
{
"click": function(node,e) {
if(node.isLeaf()){
e.stopEvent();
var n = maintab.getComponent(node.id);
if (!n) {
 var link=node.attributes.URL;
var n = maintab.add({
'id' : node.id,
'title' : node.text,
'link' :node.attributes.URL,
closable:true,
html:'<iframe id=i_'+node.id+' scrolling=auto frameborder=0 marginheight=0 marginwidth=0  src='+link+' width=100% onload=javascript:SetWinHeight(this);></iframe>'
});
}
maintab.setActiveTab(n);
window.frames["i_"+node.id].location.href=node.attributes.URL;    
}
}
}
});
<!--以下是一个tab窗口  想通过一个函数打开一个新tab窗口--->
<span onclick="tt('s_tab_6_1')" style="cursor:pointer">更多</span>
这个tt函数该怎么写啊,大家教教小弟呢 不胜感激