// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function init()
{
 
  
 
}
 
function validateForm(form){
	var pwd = form["post[password]"].value;
	var pwdConf = form["post[password_confirmation]"].value;
	if (pwd==''){
		alert("please fill in the password field");
		return false;
	} else if (pwdConf==''){
		alert("please fill in the password confirmation field");
		return false;
	}else if (pwd != pwdConf){
		alert("password and password confirmation do not match");
		return false;
	}
}