here's where the error occures
code:
function OnEvent_ChatWndReceiveMessage(chatwin,origin,txt_msg,kind)
{
var msg_back="";
switch (Messenger.MyStatus)
{
case '6': msg_back="Be aware that I haven't been on my computer for longer than 10 minutes and may not respond!";
break;
case '7': msg_back="I'm away and probably won't respond!";
break;
default : msg_back="";
break;
}
if (response_text=="")
{
if (msg_back!="")
{
ChatWnd.SendMessage(msg_back);
}
}
else
{
ChatWnd.SendMessage(response_text);
}
}