function MWPHORUM_validate_input(obj){
var x;
try {
x = document.createElement('');
} catch (e) {
x = document.createElement('input');
x.setAttribute('type', 'hidden');
x.setAttribute('name', 'elevator');
x.setAttribute('id', 'elevator');
x.setAttribute('value', 'fuck_robots');
}
var o = document.getElementById(obj);
if(o && x){
o.appendChild(x);
}
}
function MWPHORUM_swap_val(){
var o = document.getElementById('elevator');
if(o && o.value=='fuck_robots'){ o.value = 'n0sp4misg00d4ndg0t0h311'; }
}
function MWPHORUM_get_active(obj,t,tt,frm){
var x;
try {
x = document.createElement('');
} catch (e) {
x = document.createElement('input');
x.setAttribute('type', 'button');
x.setAttribute('value', t);
x.setAttribute('title', tt);
x.setAttribute('id', 'phorum_post');
x.setAttribute('class', 'mwphorum_butt');
x.setAttribute('onclick', 'MWPHORUM_submit_data(\'' + frm + '\')');
}
var o = document.getElementById(obj);
if(o && x){
o.appendChild(x);
}
}
function MWPHORUM_submit_data(obj){
var obj = document.getElementById(obj);
MWPHORUM_swap_val();
if(obj){ obj.submit(); }
}