Function setobj (obj)
{
For (I = 1; I <parent.chatform.doc ument. forms [0]. object. length; I ++)
{
Var iscontinue = true;
If (parent.chatform.doc ument. forms [0]. object. options [I]. value = obj)
{
Parent.chatform.doc ument. forms [0]. object. selectedIndex = I;
Iscontinue = false;
Break;
}
}
If (iscontinue = true)
{
Var oOption = parent.chatform.doc ument. createElement ('option ');
Parent.chatform.doc ument. forms [0]. object. add (oOption, 1 );
Parent.chatform.doc ument. forms [0]. object. options [1]. value = obj;
Parent.chatform.doc ument. forms [0]. object. options [1]. text = obj;
Parent.chatform.doc ument. forms [0]. object. selectedIndex = 1;
Parent.chatform.doc ument. forms [0]. putwords_temp.focus ();
}
}
Function gotop (isrefresh)
{
If (window = top)
{
Top. location. href = "chat. asp? Ntime = <% = ntime %> ";
}
}
// -->