var flag=false; 
function DrawImage(ImgD){ 
 var image=new Image(); 
 image.src=ImgD.src; 
 if(image.width>0 && image.height>0){ 
  flag=true; 
  if(image.width>=100){ 
   ImgD.width=100; 
   ImgD.height=(image.height*100)/image.width; 
  }else{ 
   ImgD.width=image.width; 
   ImgD.height=image.height; 
  }  
 } 
}

function ChanageBackColor(obj)
{
   document.getElementById("dangdang").style.backgroundColor="#eef9ff";
   document.getElementById("kaijuan").style.backgroundColor="#eef9ff";
   document.getElementById("waitu").style.backgroundColor="#eef9ff";
   obj.style.backgroundColor="#ffff00";
} 