function validate()
 {
	 
  var emailField = document.getElementById("l444591-444591");
  
  if((document.form2.name.value=="Name... (required)") || (document.form2.name.value=="")){
		alert('Please enter your name.');
		document.form2.name.focus()
		return false;
	}
	
  if((emailField.value=="Email... (required)") || (emailField.name.value=="")){
		alert('Please enter your email.');
		emailField.focus()
		return false;
	}
	
 return true;
 }

 
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

function prepareInputsForHints() {
	var inputs = document.getElementsByTagName("input");
	for (var i=0; i<inputs.length; i++){
			inputs[i].onfocus = function () {
				//if (this.value == this.title) {
					//this.value = '';
					this.select();
				//}
			}
			inputs[i].onblur = function () {
				if (this.value == '') {
					this.value = this.title;
				}
			}
	}
	var textareas = document.getElementsByTagName("textarea");
	for (var i=0; i<textareas.length; i++){
			textareas[i].onfocus = function () {
				//if (this.value == this.title) {
					//this.value = '';
					this.select();
				//}
			}
			textareas[i].onblur = function () {
				if (this.value == '') {
					this.value = this.title;
				}
			}
	}
}
addLoadEvent(prepareInputsForHints);