$(function(){setEvent('textarea,input[type="text"]',"focusout",function(){queryConvert(this)})});function queryConvert(b){var c,a;c=b.value;a=b.className;if(c!=null&&a!=null){if((a.match(/S9/)||a.match(/R/))&&!a.match(/\S+R\S*/)&&!a.match(/\S*R\S+/)){b.value=c.replace(",","")}else{if(a.match(/PN/)){b.value=c.replace("-","")}else{if(a.match(/YM/)||a.match(/DATE/)){b.value=c.replace("/","")}else{if(a.match(/HMS/)){b.value=c.replace(":","")}}}}}return true};