private String encodeURL(String str) {
		  String holder = "";
		  for(int i = 0; i < str.length(); i++) {
			  String sChar = str.substring(i, i+1);
			  if(sChar.toCharArray()[0]==' ') 
				  holder += "%20";
			  else if(sChar.toCharArray()[0]=='\\') 
				  holder += "/";
			  else 
				  holder += sChar;
		  }
		  return holder;
	  }