$(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(/XU9/))&&!a.match(/\S+R\S*/)&&!a.match(/\S*R\S+/)){b.value=c.replace(/,/g,"")}else{if(a.match(/PN/)){b.value=c.replace(/[ -]/g,"")}else{if(a.match(/YM/)||a.match(/DATE/)){b.value=c.replace(/\//g,"");if(a.match(/YMDH/)){b.value=c.replace(/[\/: ]/g,"")}}else{if(a.match(/HMS/)){b.value=c.replace(/:/g,"")}}}}}return true};