i'm new to javascript. i know basic html and like to build sites the old fashioned way.

on my current site i am using a javascript that displays a different image every time a users visits the site.

what i would like to do would be to have all of the images scaled up to a set size - a percentage would work best (to maintain proportions. so regardless of each images pixel dimensions, they would all scale up to say 200% size.

i understand that with html there is a simple line that can do this, but i'm unsure as to where this fits in with javascript.

here is the script i'm using -


if you could help i'd greatly appreciate it.