kcApplication = {
  executeAfterPageLoad : function (callback)
  {
    document.observe("dom:loaded", callback);
  }
  ,
  confirm : function(msg,on,off)
  {
    if(confirm(msg))
    {
      if('function' == typeof on)
      {
        on();
      }
    }
    else
    {
      if('function' == typeof off)
      {
        off();
      }
    }
  }
}