// Behaviour Rules
var myrules = {
	
	// Form elements and events
		
	'#nome' : function(element){
		element.onfocus = function(){
			if (this.value == n_str) {
				this.value = "";
			}
			this.className = "form-normal";
		}
		element.onblur = function(){
			if (this.value == "")
				this.value = n_str;
		}
	},
	'#luogo' : function(element){
		element.onfocus = function(){
			if (this.value == l_str) {
				this.value = "";
			}
			this.className = "form-normal";
		}
		element.onblur = function(){
			if (this.value == "")
				this.value = l_str;
		}
	},
	'#email' : function(element){
		element.onfocus = function(){
			if (this.value == e_str) {
				this.value = "";
			}
			this.className = "form-normal";
		}
		element.onblur = function(){
			if (this.value == "")
				this.value = e_str;
		}
	},
	'#messaggio' : function(element){
		element.onfocus = function(){
			if (this.value == m_str) {
				this.value = "";
			}
			this.className = "form-normal";
		}
		element.onblur = function(){
			if (this.value == "")
				this.value = m_str;
		}
	}};
