﻿

function Obj(id){ return window.document.getElementById(id);}



// window.onload=function()
//{
//  Obj("hm").onclick=function(){ SetHome(this,window.location);};
//  Obj("fvu").onclick=function(){AddFavorite(window.location,document.title);};
//  Obj("prt").onclick=function(){window.print();}
//  if(Obj("HDate"))
//  {
//  CurrentDate();
//  }
//  if(Obj("nave"))
//  {
//  Cjgb();
//  }
//  };
//  
//  
//  function CurrentDate()
//{
//  var current=new Date();
//  var week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
// 
// Obj("HDate").innerHTML= current.getFullYear()+"年"+(current.getMonth()+1)+"月"+current.getDate()+"日 "+ week[current.getDay()];
//}

//function Cjgb()
//{
//    var lis=document.getElementById("nave").getElementsByTagName("LI");
//    for(var i=0;i<lis.length;i++)
//    {
//       var ali=lis[i];

//       ali.onmouseover=function(){this.className="current";}
//       ali.onmouseout=function(){this.className="";}

//    
//    }
// 
//}





//if( document.all && !window.XMLHttpRequest ){
//    document.execCommand("BackgroundImageCache", false, true);
//}


//function fcs(bj,name)
//{

//  bj.value="";
//  bj.style.color="#000000";
//}


//function blr(bj,name)
//{
//  if(bj.value=="")
//  {
//    bj.value=name;
//    bj.style.color="#7D7D7D";
//  }
//  
//}
