//********************JAVASCRIPT FOR USERNAME AND PASSWORD FOR THE INDEX.PHP PAGE******************//
	function do_focus()
	{
		document.frm.txtUsername.focus();
	}
	function checks_form()
	{
		if(trim(document.frm.txtUsername.value) == "")
		{
			alert("Παρακαλούμε συμπληρώστε το όνομα του χρήστη.");
			document.frm.txtUsername.focus();
			return false;
		}
		else if(trim(document.frm.txtPassword.value) == "")
		{
			alert("Παρακαλούμε συμπληρώστε τον κωδικό του χρήστη.");
			document.frm.txtPassword.focus();
			return false;
		}
		else
		{
			//alert ("You Have Successfully Logged in");
			document.frm.mode.value = "login";
			return true;
		}
	}
