inputTexts = function() {
	if (document.getElementById) {
		inputTextArray=document.getElementsByTagName("input");
		for(var i=0; i<inputTextArray.length; i++) {
			var input = inputTextArray[i];
			if(input.getAttribute("type") == "text") {
				input.onfocus = function() {
					//this.style.backgroundColor='#FFF';
					var defaultValue = this.value;
					//alert(defaultValue);
					this.select();
					//this.value = "";
				}
				input.onblur = function() {
					//this.style.backgroundColor='#F1F1F1';
					if(this.value == "") {
						this.value = this.defaultValue;
					} else {
						this.defaultValue = this.value;
					}
				}
			}
		}
	}
}
