// JavaScript Document
  function resize_images()
  {
    for (i = 0; i < 10000; i++)
    {
      if (document.images[i])
      {
        while ( !document.images[i].complete )
        {
          break;
        }
        if (document.images[i].width > 660 )
        {
          document.images[i].width = 660;
        }
      }
    }
  }