window.addEvent('domready', function(){
// Set the cursor to pointer for all li in #linklist to show that entire block will be clickable
//	$$('#linklist li').setStyle('cursor','pointer');
// put in a list all a element in li element in #linklist
	var list = $$('#linklist li a');
	
	  list.set('morph', {
    duration: 200
  });

  list.addEvents({

    mouseenter: function(){
      // this refers to the element in an event
      this.morph({
        'background-color': '#b732b2'
      });
    },

    mouseleave: function(){
      // this refers to the element in an event
      this.morph({
        'background-color': '#eaeaea'
      });
    }

  });
	
});
