function replacePlaceholders(sTemplate, oContext) {
		var sPlaceholder,
			sValue;

		for (sPlaceholder in oContext) {
			sValue = oContext[sPlaceholder];
			sTemplate = sTemplate.replace(new RegExp("\{\{" + sPlaceholder + "\}\}", "ig"), sValue);
		}

		return sTemplate;
	}
Replace any placeholder like {{placeholder}} with the corresponding value from oContext.
@param {string} sTemplate the string template containing the placeholders.
@param {Object} oContext the object containing the values for the placeholders.
@returns {string} the processed template.