function checkForm()
{
	var pass = document.form1.txtPassword.value.length;
	if (document.form1.cbTnC.checked)
	{
		if ( pass < 5 )
		{
			alert("Please check password, it is too short.");
		}
		else if (pass > 15)
		{
			alert("Please check password, it is too long.");
		}
	}
	else
	{
		alert("Please read Terms and Condition, and select, I agree.");
	}
}

function checkMe()
{
	var pass = document.form1.txtPassword.value.length;
	if ( pass < 5 )
	{
		alert("Please check password, it is too short.");
	}
	else if (pass > 15)
	{
		alert("Please check password, it is too long.");
	}
}