<!-- Begin

function smutEngine(frmObj) 
{
  smut="#@&*%!#@&*%!#@&*%!";

  // be sure last word has a space after
  // or else the while statement will loop infinitely looking for it
  cmp="shit fuck damn sexy sexual porno cunt asshole pedophile man-boy man/boy pussy niggar nigger ";

  txt=frmObj.value;
  tstx="";

  // step through for each smut word in cmp
  for (var i=0;i<14;i++)
  {

    pos=cmp.indexOf(" ");
    wrd=cmp.substring(0,pos);
    wrdl=wrd.length;
    cmp=cmp.substring(pos+1,cmp.length);

    while (txt.indexOf(wrd)>-1)
    {
      pos=txt.indexOf(wrd);
      txt=txt.substring(0,pos)+smut.substring(0,wrdl)+txt.substring((pos+wrdl),txt.length);
      alert("Please watch your language.\nUse of inappropriate language will cause your account to be canceled.");
    }

  }

  frmObj.value=txt;
  
}

//-->