I'm into Java and not necessarily into JavaScript, but it seems to me that you haven't used a complete constructor. If you use a constructor that doesn't need any extra arguments, you still have to add empty brackets:
picture1up=new Image();
picture1up.src="weddings.jpg"...