/* author: Keith Atkins */	  
/* Creation date: 7/9/05 */
//-------------------------------------------------------------------
function checkImage(size,S)
{
//If the image width is GT 'size' it will be set to 'size' UNLESS the width ends in 1 in which case it wil be unaltered.
  var D=""
  for (i=0;i<document.images.length;i++)
  {
  O=document.images[i]
  x = O.width+""
  if (O.width > size && x.substr(x.length-1,1) != 1)
    {
      D+="\n W="+O.width+"     H="+O.height+"  Id="+O.src
	  O.width =size
	}
  }
  if (S == 0 && D != ""){alert(D)}
}
//--------------------------------------------------------------------------------

