

/*
ShowImage writes an image tag into the page if field has value
Image path and title attribute are passed as params.
P Tyrrell, March 2005
*/

function ShowImage(FieldValue, ImagePointer, ImageTitle)
{
	if (FieldValue != "")
	{
		var imgtag = "<img class='ShowImage' src='" + ImagePointer + "' title='" + ImageTitle + "' />";
		document.write(imgtag);
	}
}