String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g, "")};
String.prototype.splitting=function(str){
	var c=str.substring(0,1);
	var s=str.substring(1);
	var st=this;
	if(st.indexOf(c)!=-1){
		st=st.split(c);
		if(s!='')for(var i in st)st[i]=st[i].splitting(s)
	}
	else if(s!='')st=st.splitting(s);
	return st
};

