	/*
	 * form select with custom style
	 */
	
window.addEvent('domready', function() {
	
	$$('select.select').each(function(element) {
		new NBX.Select(element, 20);
	});
	
	$$('div.contact form fieldset label.text input').each(function(element) {

		element.addEvent('focus', function(event) {
			if (this.get('value') == this.get('title')) {
				this.set('value', '');
			}
		});
		
		element.addEvent('blur', function(event) {
			if (!this.get('value')) {
				this.set('value', this.get('title'));
			}
		});
		
	}); 
	
	$$('div.contact form fieldset label.textarea textarea').each(function(element) {

		element.addEvent('focus', function(event) {
			if (this.get('value') == this.get('title')) {
				this.set('value', '');
			}
		});
		
		element.addEvent('blur', function(event) {
			if (!this.get('value')) {
				this.set('value', this.get('title'));
			}
		});
		
	}); 
});
	
