    function Trim(string) 
	{ 
		for(;string.indexOf(" ")!= -1;)
		{
			string = string.replace(" ","");
		} 
				
		return string;
	}

