<!--
String.prototype.replace  = replaceString;

// Replaces the string "findText" with the string "replaceText" -- returns string
function replaceString(findText, replaceText)
{
	var strThis			= new String(this);						//the string being tested
	var pos				= strThis.indexOf(findText);				//character position
	var len				= findText.length;						//length of the substring to replace
	//move through the string and replace the "findText" with the "replaceText"
	while (pos != -1)
	{
		preString		= strThis.substring(0,pos);
		postString		= strThis.substring(pos + len, strThis.length);
		strThis			= preString + replaceText + postString;
		pos				= strThis.indexOf(findText);
	}
	return strThis;
}

// -->
