﻿function gotoNumber()
{
    var num = document.getElementById('inputnum').value;
    window.open('../Search.aspx?s?wd='+num);
    window.open('../'+num);
    return false;
}
 function shou()
    {
     var url=location.href;
     var tit="数字天下-"+document.title;
     if(document .all)
     {
     window .external.addFavorite(url,tit);
     }
     else if(window .sidebar)
     {
        window .sidebar.addPanel(tit,url ,"");
     }
     
  }
  function toOpenUrl(e)
{
    var key = parseInt(e.keyCode);
    if(key==13)
    {
       e.returnValue=false;
       gotoNumber();
    }
}
 function change_n_t(mn_n,id,obj)
 {
    try{
        for(var i=0;i<10;i++)
        {
            document.getElementById(mn_n+'_'+i).style.display='none';
            document.getElementById('a_'+mn_n+'_'+i).className='model_news10_a_c';
        }
    }catch(e){}
    document.getElementById(mn_n+'_'+id).style.display='';
    obj.className='model_news10_a';
 }
