function AddText(text) {
	 document.form.body.value += text;
}

//function AddText(NewCode) {
//	document.postmodify.message.value+=NewCode;
//	document.postmodify.message.focus();
//}

function img() {
	AddTxt="[img]path/to/image.jpg[/img]";
	AddText(AddTxt);
}

function list() {
	AddTxt="[list]list items[/list]";
	AddText(AddTxt);
}

function listitem() {
	AddTxt="[*]text here[/*]";
	AddText(AddTxt);
}

function quote() {
	AddTxt="[quote]text here[/quote]";
	AddText(AddTxt);
}

function strike() {
	AddTxt="[strike]text here[/strike]";
	AddText(AddTxt);
}

function underline() {
	AddTxt="[u]text here[/u]";
	AddText(AddTxt);
}

function bold() {
	AddTxt="[b]text here[/b]";
	AddText(AddTxt);
}

function italicize() {
	AddTxt="[i]text here[/i]";
	AddText(AddTxt);
}

function hyperlink() {
	AddTxt="[url=http://www.example.com]Link Text[/url]";
	AddText(AddTxt);
}

function fcolor(color) {
	AddTxt="[color=]text here[/color]";
	AddText(AddTxt);
}

function fsize() {
	AddTxt="[size=]text here[/size]";
	AddText(AddTxt);
}

function smiley() {
	AddTxt=":)";
	AddText(AddTxt);
}

function wink() {
	AddTxt=";)";
	AddText(AddTxt);
}

function neutral() {
	AddTxt=":|";
	AddText(AddTxt);
}

function grin() {
	AddTxt=":D";
	AddText(AddTxt);
}

function angry() {
	AddTxt=":@";
	AddText(AddTxt);
}

function sad() {
	AddTxt=":(";
	AddText(AddTxt);
}

function shocked() {
	AddTxt=":o";
	AddText(AddTxt);
}

function cool() {
	AddTxt="8-)";
	AddText(AddTxt);
}

function question() {
	AddTxt="???";
	AddText(AddTxt);
}

function rolleyes() {
	AddTxt=":rolleyes:";
	AddText(AddTxt);
}

function tongue() {
	AddTxt=":P";
	AddText(AddTxt);
}

function exclame() {
	AddTxt="!!!";
	AddText(AddTxt);
}

function embarassed() {
	AddTxt=":redface:";
	AddText(AddTxt);
}

function ninja() {
	AddTxt=":ninja:";
	AddText(AddTxt);
}

function confused() {
	AddTxt=":s";
	AddText(AddTxt);
}

function cry() {
	AddTxt=":'(";
	AddText(AddTxt);
}

function love() {
        AddTxt="[love]";
        AddText(AddTxt);
}
