// various java functions
// Java Document
function postwww() {
//var ref = document.getElementById('ref').value;
	document.getElementById('www_emotion').disabled=true;
	document.getElementById('www_where').disabled=true;
	var emotion = escape((document.getElementById('www_emotion').value));
	var where = escape((document.getElementById('www_where').value));
	document.getElementById('www_divinner').innerHTML="<img src='./layout/loading.gif'>";
 new Ajax.Updater('www_divinner','./ajaxmods/mod_postwww.php', {parameters: 'emotion='+escape(emotion)+'&where='+escape(where)+'' });

  } // end twitpost
  
 function isset(varname){
  return(typeof(window[varname])!='undefined');
}
