for i in *.htm
do
  if slmember "$i" "axis* sa* yymm* colorsub* gifresize* scatterplot0a*" ; then
    continue
  fi
  BASE=`strchop $i 4`
  echo "$i.."
  pl -gif $i -scale 0.3 -o ../thumbnails/$BASE.gif
done
