function getObj(name)
{
  if (document.getElementById)
  {
        this.obj = document.getElementById(name);
        this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
        this.obj = document.all[name];
        this.style = document.all[name].style;
  }
  else if (document.layers)
  {
        this.obj = document.layers[name];
        this.style = document.layers[name];
  }
}

var x = new getObj(placeholder);

function showPic (whichpic) {
	if (document.getElementById)
	{
		//alert(x.obj.id);
		//x.obj.src = whichpic.href;
		document.getElementById('placeholder').src = whichpic.href;
	if (whichpic.title) {
		document.getElementById('desc').setAttribute('style','font-weight: bold;');
		document.getElementById('desc').childNodes[0].nodeValue = whichpic.title;
	} else {
		document.getElementById('desc').childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
	}
	return false;
	} else {
	return true;
	}
}

