function joinChannel( channelname) { document.chat.joinChannel( channelname); } channel2