jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery('#resetContact').click(function() {
		clearForm(jQuery(this).parents('form:first'));
		return false;
	});
	
	function clearForm(form) {
		jQuery(':input', form).each(function() {
			var type = this.type;
			var tag = this.tagName.toLowerCase();
			if (type == 'text' || type == 'password' || tag == 'textarea')
				this.value = "";
			else if (type == 'checkbox' || type == 'radio')
				this.checked = false;
			else if (tag == 'select')
				this.selectedIndex = -1;
		});
	};
});




function chlogin(form1){
  if(form1.login.value=="" || form1.login.value=="Login:"){

alert('Login please!');

    form1.login.focus();
    return false;
  }
 
  return true;
}

function chrmlog(form1){
  if(form1.rmlog.value==""){
alert('Login please!');

    form1.rmlog.focus();
    return false;
  }
  return true;

}

function chrmem(form1){
  if(form1.rmem.value==""){
alert('Email please!');

    form1.rmem.focus();
    return false;
  }
  return true;

}
