function Trim(strTemp){
	while(strTemp.match(/^ +/) || strTemp.match(/^\t+/) || strTemp.match(/ +$/) || strTemp.match(/\t+$/)){
		strTemp = strTemp.replace(/^ +/,"").replace(/^\t+/,"").replace(/ +$/,"").replace(/\t+$/,"");
	}
	return strTemp;
}



