<!-- Begin





function addimage(field) { field = field.replace(/(http:\/\/)\1+/g,'$1');
  var x = document.createElement( 'img' );
  x.src = field;
  x.alt = field;
  x.onclick = function() { clickimage(this); };
  x.onmouseover = function() { hoverimage(this); };
  x.onmouseout = function() { offimage(this); };
  document.getElementById( 'preview' ).appendChild(x);
}

function clickimage(n,e) {
 e = e || window.event || {};
 if(e.ctrlKey) {
  n.parentNode.removeChild(n);
 } else {
  document.body.style.backgroundImage = 'url('+n.src+')';
 }
}

function hoverimage(n) {
 window.status = n.src + ', ' + n.width + ' x ' + n.height + ' (' + n.fileSize + ' bytes)';
}

function offimage(n) {
 window.status='';
}
function changeColor(theBackground) 
{
   document.body.style.background=theBackground
}  
-->