var img = new Image();
img.src = "gfx/bg.jpg";