<!-- 
//********** PASSWORD ENCRYPTION **********
function encript(pswd,f,s) 
	{
		var str_in;
		var num_out = "";
		var str_temp;
		var offset;
		f = f + ""
		s = s + ""
		offset = f + s;
		num_out = "";
		str_in = pswd;
		for(i = 0; i < str_in.length; i++) 
		{
			str_temp = str_in.charCodeAt(i) - offset;
			str_temp += ""
			num_out += str_temp.length + str_temp;
		}
		num_out = s + num_out + f
		return num_out
	}
	
	function validate(f,s)
	{
	document.theForm.encrypted.value = encriptar(document.theForm.txtMain.value,f,s);
	document.theForm.submit();
	}
//******************************************

//-->