$(document).ready(function(){
	var match = 'input.texto[@type=text]';
	$(match).focus(function(){
		this.valuetexto = this.valuetexto || this.value;
		if (this.value == this.valuetexto)
		this.value = '';
		$(this).css('color','#000');
	});
	$(match).blur(function(){
		if (this.value.length == 0 || this.value == this.valuetexto)
		$(this).css('color','#aaa');
		if (this.valuetexto && this.value.length==0)
		this.value = this.valuetexto;
	});
});
