/*****************************************************************************
*
*  superthread.js
*  Author:  Peter Adams (forum@superscripts.net)
*  http://www.superscripts.net/
*  Date Created: 21 March 2002
*  Last Modified: 21 March 2002
*
*  Description:
*    This file contains JavaScript code for use with SuperThread.
*
* Copyright (c) SuperScripts.net.  All rights reserved.
*
*****************************************************************************/

function openWin(url) {
/*****************************************************************************
openWin opens a new window pointing to the supplied URL.  The window will
have no borders, no menus, and vertical scroll bar only.
*****************************************************************************/
    var success = window.open(url,"MiniWin",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=400');
}

function add_emoticon(icon) {
/*****************************************************************************
Adds the specified emoticon to the end of the message body element of the
post form.
*****************************************************************************/
    self.document.STPostForm.body.value += icon + " ";
	self.document.STPostForm.body.focus();
}
