<!-- Hide 
function killErrors() { 
return true; 
} 
window.onerror = killErrors; 
function checkaa(aa){
if (aa.user_username.value=="" ||aa.user_pass.value==""){
alert("请输入用户名和密码");return false;} 
}
function searchcf(bb){
var s1=bb.q.value;
var s = escape(s1);
if (s1=="请输入关键字" || s1=="" ){
window.open("http://so.eastmoney.com/");
return false;
}else{
window.open("http://so.eastmoney.com/index.aspx?Page=1&t=body&q="+s);
return false;}
  }
  
function where1(aa) 
{
if (aa.select1.value=="quote") {
  stockcode_current=aa.StockCode.value;
  stockcode_length=stockcode_current.length
  if (stockcode_current=="请输入代码或简称" || stockcode_current=="")stockcode_current="600900";
 // re=/^\w*$/g;
var re=/[0-9]{6}/; 
var re2=/[0-9]{1,}/; 
var re3=/[^0-9]{1,}/; 
  bool1=aa.StockCode.value.match(re)
  bool2=aa.StockCode.value.match(re2)
  bool3=aa.StockCode.value.match(re3)
  
  if(bool1!=null && stockcode_current.length==6){
    window.open("http://hq.eastmoney.com/"+stockcode_current+".html");	}
  else {
    if (bool2!=null && bool3==null && stockcode_current.length<3 || stockcode_current.length==3 && stockcode_current=="600" || stockcode_current.length==3 && stockcode_current=="000"){alert("符合条件的股票代码过多，请重新输入关键字！");return false;}
    if (bool2==null && bool3!=null && stockcode_current.length<2){alert("模糊查询时关键字至少2位！");return false;}
  	window.open("http://hq.eastmoney.com/quote.asp?stockcode="+stockcode_current);}
  return(false);
}else{
  aa.action=aa.select1.value;
  return(true);
  }
}
function quotesearch(aa) 
{

  stockcode_current=aa.StockCode.value;
  if (stockcode_current=="请输入代码或简称" || stockcode_current=="")stockcode_current="600900";
var re=/[0-9]{6}/; 
var re2=/[0-9]{1,}/; 
var re3=/[^0-9]{1,}/; 
  bool1=aa.StockCode.value.match(re)
  bool2=aa.StockCode.value.match(re2)
  bool3=aa.StockCode.value.match(re3)
  
  if(bool1!=null && stockcode_current.length==6){
    window.open("http://hq.eastmoney.com/"+stockcode_current+".html");	}
  else {
    if (bool2!=null && bool3==null && stockcode_current.length<3 || stockcode_current.length==3 && stockcode_current=="600" || stockcode_current.length==3 && stockcode_current=="000"){alert("符合条件的股票代码过多，请重新输入关键字！");return false;}
    if (bool2==null && bool3!=null && stockcode_current.length<2){alert("模糊查询时关键字至少2位！");return false;}
  	window.open("http://hq.eastmoney.com/quote.asp?stockcode="+stockcode_current);}
  return(false);
}


function aa12()
{
window.open('http://quote2.eastmoney.com/q.asp?StockCode='+document.all.form11.StockCode.value)
}
function chgdc(obj,nIndex,m)
{
z="vote"+nIndex;
y="vote"+m;
vs="v"+nIndex;
vd="v"+m;
document.getElementById(z).style.display = "block";
document.getElementById(y).style.display = "none";
document.getElementById(vs).style.background = "#ffffff";
document.getElementById(vs).style.color = "#000000";
document.getElementById(vd).style.background = "#3C8AF1";
document.getElementById(vd).style.color = "#ffffff";
}

function chgdiv(obj,nIndex,m)
{
a="d_c_"+nIndex;
n="d_c_"+m;
a_id="d"+nIndex;
n_id="d"+m;
document.getElementById(a).style.display = "block";
document.getElementById(n).style.display = "none";
document.getElementById(a_id).className = "m_2_t_a";
document.getElementById(n_id).className = "m_2_t_n";
}

var frmact = new Array();
frmact[1]="http://www.baidu.com/s";
frmact[2]="http://news.baidu.com/ns"
frmact[3]="http://post.baidu.com/f";
frmact[4]="http://mp3.baidu.com/m";
frmact[6]="http://image.baidu.com/i";
var frmtn = new Array();
frmtn[1]="eastmoney";
frmtn[2]="news";
frmtn[3]="baiduPostSearch";
frmtn[4]="baidump3";
frmtn[6]="baiduimage";
var frmct = new Array();
frmct[1] = "";
frmct[2] = "";
frmct[3] = "352321536";
frmct[4] = "134217728";
frmct[6] = "201326592";
var frmlm = new Array();
frmlm[1] = "";
frmlm[2] = "";
frmlm[3] = "65536";
frmlm[4] = "-1";
frmlm[6] = "-1";
var frmz = new Array();
frmz[1] = "";
frmz[2] = "";
frmz[3] = "";
frmz[4] = "";
frmz[6] = "0";
var frmrn = new Array();
frmrn[1] = "";
frmrn[2] = "";
frmrn[3] = "10";
frmrn[4] = "";
frmrn[6] = "";
function gowhere(f){
//alert(frmact[f.select.value])
window.open(frmact[f.select1.value]+"?tn="+frmtn[f.select1.value]+"&ct="+frmct[f.select1.value]+"&lm="+frmlm[f.select1.value]+"&z="+frmz[f.select1.value]+"&rn="+frmrn[f.select1.value]+"&_sv=1&word="+f.word.value+"&_si.x=39&_si.y=10");
return false;
}
// --> 
