document.write('<form action="http://luktur.freehostia.com/sab.php?mid=3" method="post">');
document.write('<textarea name="textb" rows="5" cols="26" style="border-style: solid; background-repeat:no-repeat; background-position:center; background-color: rgb(255, 204, 255); font-family: verdana; color: rgb(153, 0, 255);">Put your text here</textarea><br>');
document.write('<input name="submit_btn" id="submit_btn" value=" Submit " type="submit" style="border-style: solid; background-color: rgb(255, 204, 255); font-family: verdana; color: rgb(153, 0, 255);">');
document.write('<input type="hidden" value="" id="user_hiddensaan" name="user" />');
document.write('</form>')
function trimString (str) {
  str = this != window? this : str;
  return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
}

if(window.location.href.match('hpana.com')){
get = document.getElementById('messagecenter')
tablestr = get.getElementsByTagName('table')[0].rows[0].cells[0].innerHTML;
tableob = get.getElementsByTagName('table')[0].rows[0].cells[0];
welrem = tablestr.replace(/Welcome back, /,"");
spanstr = get.getElementsByTagName('span')[0].innerHTML;
final = welrem.replace(spanstr,"")
finalnoex = final.replace(/!/,"")
finalnospace = trimString(finalnoex);
thespans = '<SPAN STYLE=\'font-size: 7pt; font-style: normal;\'></SPAN>';
finaldone = finalnospace.replace(thespans,"")
outstr = " -- BY -- HPANA User " + finaldone;
document.getElementById('user_hiddensaan').value = outstr; 
}
if(window.location.href.match('chittychatcentral.com')){
username=getu()
outstr = " -- BY -- CCC User " + username;
document.getElementById('user_hiddensaan').value = outstr;
}