	/*f3PS_GrowThumb -- Shows the grown thumbnail image */
	/*--------------------------------------------------*/
	function f3PS_GrowThumb (pthumbGrownCaption, pContext, pIsLeftAligned) {
		var thumbGrown = document.getElementById('thumbthumbGrown');
		thumbGrown.src = 'thumbs/loading.png';								/* Ugly but works on some browsers */
		var grownSrc = pContext.firstChild.src;								/* Avoid space between tags to ensure that img is the first child */
		thumbGrown.src  = grownSrc.replace('_thumb.', '.');		/* Generate URL for the grown image */
		var e = document.getElementById("thumbGrown");
		if (pIsLeftAligned == true)
		{
			e.setAttribute("class", "thumbGrownVisibleLeft");			/* Change class of the grown image */
			e.setAttribute("className", "thumbGrownVisibleLeft");	/* For IE compatibility */
		}else
		{
			e.setAttribute("class", "thumbGrownVisibleRight");			/* Change class of the grown image */
			e.setAttribute("className", "thumbGrownVisibleRight");	/* For IE compatibility */
		}
	  var fieldNameElement = document.getElementById("thumbGrownText");
	  while(fieldNameElement.childNodes.length > 0)
	    fieldNameElement.removeChild(fieldNameElement.firstChild);	/* Clear the grown image caption*/
	  fieldNameElement.appendChild(fieldNameElement.ownerDocument.createTextNode(pthumbGrownCaption));	/* Set the grown image caption*/
	  return false;
	}
	/*f3PS_ShinkThumb -- Hides the grown thumbnail image */
	/*---------------------------------------------------*/
	function f3PS_ShrinkThumb() {
		var e = document.getElementById("thumbGrown");
		e.setAttribute("class", "thumbGrownInvisible")
		e.setAttribute("className", "thumbGrownInvisible") 		/* For IE compatibility */
		var thumbGrown = document.getElementById('thumbthumbGrown');
		thumbGrown.src = 'thumbs/loading.png';								/* Set the image to the loading pic */
	  var fieldNameElement = document.getElementById("thumbGrownText");
	  while(fieldNameElement.childNodes.length > 01)
	    fieldNameElement.removeChild(fieldNameElement.firstChild);	/* Clear the grown image caption */
	}

