function chkpass(){
	var register = document.getElementById('register');
	jQuery.get('https://mafiareturns.com/passchk.php', {pass: register.password.value },function(data) {
		jQuery('#strength').html(data);
},'html'
);
}

function chkpass2(pass, username){
	/**
	 * There's no point in using ssl if we just check the password using http :/
	 */
	jQuery.get('http://mafiareturns.com/passchk.php', {pass: pass}, function(data) {
		jQuery('#strength').html(data);
		document.getElementById('hidden_strength').value = data;
		},'html'
);
}
