function postShout(ctlID, linkedID, typeID)
{
	var elem = document.getElementById(ctlID);
	
	x_postShout(elem.value, linkedID, typeID, shout_cb);
	elem.value = '';
}
function deleteShout(shoutID)
{
	x_deleteShout(shoutID, shout_cb);	
}
function getShouts(linkedID, typeID)
{	
	x_getShouts(linkedID, typeID, shout_cb);
}
function shout_cb(output)
{	
	document.getElementById('shoutDiv').innerHTML = output;		
}
function smiley(text) 
{
	var elem = document.getElementById('body');
	
	text = ' ' + text + ' ';							
	
	elem.value  += text;
	elem.focus();							
}