function escapeSpaces(inString)
{
  outString=inString.replace(/\s/g,"%20");
  
  return outString;
}

