function init() {
  DWRUtil.useLoadingMessage("ΗλΙΤΊς...");

  DWREngine.setErrorHandler(function(message) {
    alert(message);
  });

  DWREngine.setWarningHandler(function(message) {
    alert(message);
  });
}

String.prototype.trim = function()
{
    return this.replace(/^\s*|\s*$/g,"");
}
