function ChangeColor_FindValue() {
var txtPhrase = document.getElementById("TextBox1").value; //for textbox1
var txtWordToFind = document.getElementById("TextBox2").value; // for textbox2
if (txtPhrase != "") {
var arrWords = txtPhrase.split(" ");
var iIndex = 0;
for (iIndex = 0; iIndex < arrWords.length; iIndex++) {
if (arrWords[iIndex] == txtWordToFind)
{
document.getElementById("TextBox1").style.color = 'gray';
}
}
}
}