function check_Str(a) {
	return a.replace(/^s*(S*(s+S+)*)s*$/, "$1");
}
