if (document.all) {
ie = true;
}
function getObj(id) {
// if (ie) {
// return document.all[id];
// } else {
return document.getElementById(id);
// }
}
function popupinfo(msg) {
mywin = window.open('http://chatter.flooble.com/infopop.php?info=' + escape(msg),'info','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=no,width=300,height=200,screenX=100,screenY=100');
}
function loadContent(f, id) {
var h = document.getElementsByTagName('head').item(0);
var scrT = document.getElementById(id);
if(scrT) h.removeChild(scrT);
scr = document.createElement('script');
scr.src = f;
scr.type = 'text/javascript';
scr.id = id;
h.appendChild(scr);
}
function updatecb(emsg) {
var s = '/tag/tag.update.php?emsg=' + emsg;
loadContent(s,'cu_scr');
}
var chatter_refresh = 15;
function updatecbrefresh() {
updatecb('');
if (chatter_refresh > 0) {
setTimeout('updatecbrefresh();', chatter_refresh);
}
}
function tagSubmit(obj) {
var content = getObj('chatterspan').innerHTML;
content = content + '
posting...
';
content = content + '';
getObj('chatterspan').innerHTML = content;
obj.form.submit();
document.forms['chatterform'].elements['msg'].value = '';
}
function keySubmit(obj,evt) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (evt) keycode = evt.which;
else return true;
if (keycode == 13) {
tagSubmit(obj);
return false;
}
else return true;
// if (event.keyCode == 13) { tagSubmit(obj); }
}
var chatter_history = 0;
function toggleHistory() {
var content = getObj('chatterspan').innerHTML;
content = '' + content;
content = 'changing modes...
' + content;
content = content + 'changing modes...
';
content = content + '';
getObj('chatterspan').innerHTML = content;
var s;
if (chatter_history == 0) {
chatter_history = 1;
} else {
chatter_history = 0;
}
s = '/tag/tag.update.php?history=' + chatter_history;
loadContent(s,'cu_scr');
}
document.write('');
document.write('
\n');
document.write('
Ayin: waaa, sounds complicated o.o
\n');
document.write('
\n');
document.write('
\n');
document.write('
myuu: this blog needs updating!
\n');
document.write('
A: I agree! Time for you to make that mushy post! XD
\n');
document.write('
myuu: i thought i already did that? XD
\n');
document.write('
A: well think that was perhaps a post that was mushy in passing. You need to make one that's mushy in total. :p
\n');
document.write('
\n');
document.write('
myuu: wow, manual spam. :O
\n');
document.write('
myuu: site has been successfully migrated to a VM. time to recycle the old machine.
\n');
document.write('
');
var chatter_name = false;
document.write('\n');
document.write('\n');
chatterbox = 'ok';
setTimeout('updatecbrefresh();', 15000);
chatter_refresh = 15000;