<script type="text/javascript"> function handle(N, width) { N = parseInt(N); width = parseInt(width); img[N].width = width; } </script>