/*********************/
/* The DdxLib object */
/*********************/
var DdxLib = {
  Version: '0.0.1',
  UserId: '',
  init: function ()
  {
    /* Creating the interface */
    perso = new UI.Window ({theme:"bluelighting", shadow: true, width:  400, height: 150, left: 20, top: 70,
                   }).setContent($('perso')).show().setHeader("Perso");
    competences = new UI.Window ({theme:"bluelighting", shadow: true, width:  400, height: 150, left: 20, top: 300,
                   }).setContent($('competences')).show().setHeader("Mes compétences");
    realisations = new UI.Window ({theme:"bluelighting", shadow: true, width:  400, height: 150, left: 450, top: 50,
                   }).setContent($('realisations')).show().setHeader("Mes réalisations");
    perso.adapt.bind(perso).delay(1);
    competences.adapt.bind(competences).delay(1);
    realisations.adapt.bind(realisations).delay(1);
  }
}

Event.observe(window, 'load', DdxLib.init.bindAsEventListener(DdxLib), false);

