	// this function is for check login information
	function checkLogin(frmObj)
	{	
		if(frmObj.txt_username.value == "")
		{
			alert("Please enter username");
			frmObj.txt_username.focus();
			return false;
		}
		
		if(frmObj.txt_password.value == "")
		{
			alert("Please enter password");
			frmObj.txt_password.focus();
			return false;
		}//alert("mid_body");
	
		//alert(document.frmMemberLogin.file.value);
		new Ajax.Updater('mid_body', 'index_ajax.php', { parameters: $('frmMemberLogin').serialize(true)
			, onLoading: showWaitingImage( 'mid_body' ),	evalScripts: true});
	}

	function validForgotPass(frmObj){	
		if(frmObj.txtFieldValue.value == "")
		{
			alert("Please enter value.");
			frmObj.txt_username.focus();
			return false;
		}
		else
		{
			new Ajax.Updater('mid_body', 'index_ajax.php', { parameters: $('frmForgotPass').serialize(true)
				, onLoading: showWaitingImage( 'mid_body' ),	evalScripts: true});
		}
	}
