function setLang(lang){if(!lang){return false;}
var newloc=(self.location.href.replace(/[\?&](m|show_lang|lang)=(\w+|\d+)/gi,'')+'&lang='+lang+'&show_lang='+lang).replace(/[\?&]/,'?');self.location.href=newloc+"";}
self.count_characters=function(a,b){if(a.value.length>140){a.value=a.value.substr(0,140)}
document.getElementById(b).innerHTML=140-a.value.length
return false;}
