function showPic(whichpic,picholder,desholder) 
{
	if (document.getElementById) 
	{
		//document.getElementById(picholder).src = whichpic.href;
		var element = getObject(picholder);
		element.src = whichpic.href;
		var des = getObject(desholder);
		if (whichpic.title) 
		{
			//document.getElementById(desholder).childNodes[0].nodeValue = whichpic.title;
			des.childNodes[0].nodeValue = whichpic.title;
			//des.innerHtml = whichpic.title;
		}else 
		{
			//document.getElementById(desholder).childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
			des.childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
			//des.innerHtml = whichpic.childNodes[0].nodeValue;
		}
		return false;
	} else 
	{
		return true;
	}
}

function getObject(obj) {
  var theObj;
  if(document.all) {
    if(typeof obj=="string") {
      return document.all(obj);
    } else {
      return obj.style;
    }
  }
  if(document.getElementById) {
    if(typeof obj=="string") {
      return document.getElementById(obj);
    } else {
      return obj.style;
    }
  }
  return null;
}

