Hi,
The problem is that document.all is not a valid property in FF. So replace the below line,
ownerTextBox.Attributes["onchange"] = "DoTheCallback(document.all." + ownerTextBox.ClientID + ".value,0);return true;";
To
ownerTextBox.Attributes["onchange"] = "DoTheCallback(document.all ? document.all. : document.getElementById( ' " + ownerTextBox.ClientID + ".value + "document.all ? ' ' : ' ' ') " + ",0);return true;";
Cheers