
temp1a=new Image; temp1b=new Image;
temp2a=new Image; temp2b=new Image;
temp1a.src="images/paintings.gif"; temp1b.src="images/paintings_over.gif";
temp2a.src="images/contact.gif"; temp2b.src="images/contact_over.gif";

temp3a=new Image; temp3b=new Image;
temp3a.src="images/flower.gif"; temp3b.src="images/flower_spin.gif";
temp4a=new Image; temp4b=new Image;
temp4a.src="images/flower.gif"; temp4b.src="images/flower_spin.gif";

function changeContent(pic) {
   if (document.getElementById || document.all) {
      var el = document.getElementById? document.getElementById("paintings"): document.all["paintings"];

      if (el && typeof el.innerHTML != "undefined") {
      
      	 el.innerHTML = "<table border=0 cellpadding=0 cellspacing=0><tr><td><a href='#' onclick=changeContent('kill')><img src='" + pic + "' border=1 style='border-color=#61323E' alt='click to close'></a></td><td rowspan=2 background='images/dot_bg1.gif'><img src='images/spacer.gif' width=8 height=8></td></tr><tr><td background='images/dot_bg2.gif'><img src='images/spacer.gif' width=8 height=8></td></tr><tr><td colspan=2><br><font color=ffffff>(click image to close)</td></tr></table>";
      	 
      }
      
      if (pic == "kill") el.innerHTML = "";      
   }
}