// Contains global site functions (mainly helpers)

// Translate any string using the global site translation
function translate(string) {
	if(translateHash[string]) {
		return translateHash[string];
	} else {
		return string;
	}
}

jQuery.fn.log = function (msg) {
  console.log("%s: %o", msg, this);
  return this;
};
