﻿ function ReImgSize(){
  for (i=0;i<document.images.length;i++)
   {
   if (document.all){
	if (document.images[i].width>160 && document.images[i].width > document.images[i].height && document.images[i].className == "artimg")
	 {
       document.images[i].width="160"
  	 } else if (document.images[i].height>160 && document.images[i].className == "artimg")  {
       document.images[i].height="160"
  	 }
   }
  }
 }
