window.addEvent('domready', function(){
	
	
		
			$$('.n2Select').each(function(el){
					switch (el.get('name')) {
					  case 'colors':
						new n2Select(el, {
						  options: {
							/*1: {html: '<span style="color:red">Red</span>'},
							2: {html: '<span style="color:green">Green</span>'},
							3: {html: '<span style="color:blue">Blue</span>'},
							// this will fall back option text from select object
							//4: {html: '<span style="color:yellow">Yellow</span>'},
							// this will be disabled
							5: {html: '<span style="color:orange">Orange</span>', disabled: true},
							6: {html: '<span style="color:magenta">Magenta</span>'},
							// this will be added class 'green'
							7: {html: '<span style="color:black">Black</span>', klass: 'green'}*/
						  },
						  // this will overwrite the selected option in select object
						  selected: 0,
						  onChange: function(value) {
							// action when change value
						  }
						});
					  break;
					}
				  });
	
});
