var QuoteElfDropDownItem=new Array()
QuoteElfDropDownItem[0]=new Array('stock','报价','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=default')
QuoteElfDropDownItem[1]=new Array('stock','资讯','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=ggxw')
QuoteElfDropDownItem[2]=new Array('stock','评论','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=ggpl')
QuoteElfDropDownItem[3]=new Array('stock','公告','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=gsgg')
QuoteElfDropDownItem[4]=new Array('stock','爱股','http://$StockCode$.istock.jrj.com.cn')
QuoteElfDropDownItem[5]=new Array('stock','概况','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=gsgk')
QuoteElfDropDownItem[6]=new Array('stock','收益','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=mgsy')
QuoteElfDropDownItem[7]=new Array('stock','送配','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=fhsp')
QuoteElfDropDownItem[8]=new Array('stock','高管','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=ggry')
QuoteElfDropDownItem[9]=new Array('stock','更名','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=gmxx')
QuoteElfDropDownItem[10]=new Array('stock','股本','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=gbjg')
QuoteElfDropDownItem[11]=new Array('stock','股东','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=sdgd')
QuoteElfDropDownItem[12]=new Array('stock','持股','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=jjcc')
QuoteElfDropDownItem[13]=new Array('stock','财务','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=gbjg')
QuoteElfDropDownItem[14]=new Array('stock','比率','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=cwbl')
QuoteElfDropDownItem[15]=new Array('stock','资产表','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=zcfzb')
QuoteElfDropDownItem[16]=new Array('stock','利润表','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=lrfpb')
QuoteElfDropDownItem[17]=new Array('stock','现金表','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=xjllb')
QuoteElfDropDownItem[18]=new Array('stock','季报','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=jdbg')
QuoteElfDropDownItem[19]=new Array('stock','半年报','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=zqbg')
QuoteElfDropDownItem[20]=new Array('stock','年报','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=ndbg')
QuoteElfDropDownItem[21]=new Array('stock','关联','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=glgs')
QuoteElfDropDownItem[22]=new Array('stock','上市书','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=ssggs')
QuoteElfDropDownItem[23]=new Array('stock','招股书','http://share.jrj.com.cn/cominfo/go.asp?symbol=$StockCode$&CPage=zgsms')
QuoteElfDropDownItem[24]=new Array('open','净值','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjjz')
QuoteElfDropDownItem[25]=new Array('open','公告','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjgg')
QuoteElfDropDownItem[26]=new Array('open','概况','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jbgk')
QuoteElfDropDownItem[27]=new Array('open','持仓','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=ccmx')
QuoteElfDropDownItem[28]=new Array('open','变动','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=ccbd')
QuoteElfDropDownItem[29]=new Array('open','配置','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=AssetConfigure')
QuoteElfDropDownItem[30]=new Array('open','组合','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=hytz')
QuoteElfDropDownItem[31]=new Array('open','经理','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=FundManager')
QuoteElfDropDownItem[32]=new Array('open','财务','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=cwzb')
QuoteElfDropDownItem[33]=new Array('open','资产表','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=zcfzb')
QuoteElfDropDownItem[34]=new Array('open','利润表','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=lrfpb')
QuoteElfDropDownItem[35]=new Array('open','半年报','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjzb')
QuoteElfDropDownItem[36]=new Array('open','年报','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjnb')
QuoteElfDropDownItem[37]=new Array('open','分红','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=fhsp')
QuoteElfDropDownItem[38]=new Array('open','托管人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjtgr')
QuoteElfDropDownItem[39]=new Array('open','管理人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjglr')
QuoteElfDropDownItem[40]=new Array('open','招募书','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=zms')

QuoteElfDropDownItem[41]=new Array('fund','行情','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=sshq')
QuoteElfDropDownItem[42]=new Array('fund','公告','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjgg')
QuoteElfDropDownItem[43]=new Array('fund','概况','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jbgk')
QuoteElfDropDownItem[44]=new Array('fund','净值','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjjz')
QuoteElfDropDownItem[45]=new Array('fund','持仓','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=ccmx')
QuoteElfDropDownItem[46]=new Array('fund','变动','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=ccbd')
QuoteElfDropDownItem[47]=new Array('fund','配置','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=AssetConfigure')
QuoteElfDropDownItem[48]=new Array('fund','组合','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=hytz')
QuoteElfDropDownItem[49]=new Array('fund','分红','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=fhsp')
QuoteElfDropDownItem[50]=new Array('fund','财务','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=cwzb')
QuoteElfDropDownItem[51]=new Array('fund','资产表','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=zcfzb')
QuoteElfDropDownItem[52]=new Array('fund','利润表','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=lrfpb')
QuoteElfDropDownItem[53]=new Array('fund','半年报','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjzb')
QuoteElfDropDownItem[54]=new Array('fund','年报','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjnb')
QuoteElfDropDownItem[55]=new Array('fund','升贴水','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=stsl')
QuoteElfDropDownItem[56]=new Array('fund','经理','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=FundManager')
QuoteElfDropDownItem[57]=new Array('fund','持有人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjcyr')
QuoteElfDropDownItem[58]=new Array('fund','管理人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjglr')
QuoteElfDropDownItem[59]=new Array('fund','托管人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjtgr')
QuoteElfDropDownItem[60]=new Array('fund','发起人','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=jjfqr')
QuoteElfDropDownItem[61]=new Array('fund','招募书','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=zms')
QuoteElfDropDownItem[62]=new Array('fund','扩募书','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=kms')
QuoteElfDropDownItem[63]=new Array('fund','上市书','http://fund.jrj.com.cn/fund/main/seek.asp?symbol=$StockCode$&gotourl=sss')

QuoteElfDropDownItem[64]=new Array('open','爱基','http://$StockCode$.ifund.jrj.com.cn')
QuoteElfDropDownItem[65]=new Array('open','爱搜','http://isou.jrj.com.cn/search.jspa?q=$StockCode$')
QuoteElfDropDownItem[66]=new Array('open','销售机构','http://fund.jrj.com.cn/openfund/xsjg_$StockCode$.htm')

function QuoteElfDropDownInit(element,type)
{
  var objChildMenu=document.getElementById(element); 
  objChildMenu.length=0;  
  for (i=0;i<QuoteElfDropDownItem.length;i++)
  {        
    if(QuoteElfDropDownItem[i][0]==type)
    {    
      objChildMenu.options[objChildMenu.length]=new Option(QuoteElfDropDownItem[i][1],QuoteElfDropDownItem[i][2]);
    }		
  }  
}

var ForceWin = Class.create();
ForceWin.prototype = 
{
  initialize : function()
  {	
    if($("forcewinform"))
    {
      document.body.removeChild($("forcewinform"));
    }
    this.fw = document.createElement("form");
    this.fw.target = "_blank"; 
    this.fw.method = "post";
    this.fw.id = "forcewinform";
    document.body.appendChild(this.fw);	
  },
	
  open : function(url)
  {
    var me = this;		
    me.fw.action = url;
    me.fw.submit();
  }
};

function openwin(url)
{
  var win = new ForceWin();
  win.open(url)
}
