function setDefaultValue(o_object, s_defaultValue) {
 if (!o_object) return;
 if (!s_defaultValue) s_defaultValue = o_object.val();

 o_object.bind('focus', function(e) {
  if ($(this).val() == s_defaultValue) $(this).val('');
 }).bind('blur', function(e) {
  if ($(this).val() == '') $(this).val(s_defaultValue);
 });
}

function submitForm(o_form, s_action) {
 if (!o_form) return false;
 if (s_action) o_form.attr('action', s_action);
 o_form.submit();
}

function loadPage(s_destenation, s_url) {
 $(s_destenation).load(s_url, {SENT_BY_AJAX: 1}, function() {
  $(s_destenation + ' .dictionary').dictionary();
 });
}
