function s(string) {
var i = 0, b = true;
var str = document.getElementsByTagName('font')[i].innerHTML;
while(str)
{
i++;
if(str == string)
b = true;
else
b = false;
str = document.getElementsByTagName('font')[i].innerHTML;
}
if(str == string)
alert('Yes, it is');
else
alert('Can not find');
}
не пашет. спасибо.