//////get form
function getLostPasswordForm(){
     document.getElementById('status').innerHTML = "<img src='images/checking.gif'>";
     http("POST","includes/login/dsp_LostPass.cfm",returned_getLostPasswordForm);
}

//////display form
function returned_getLostPasswordForm(obj){
     document.getElementById('status').innerHTML = "";
     document.getElementById('contentBlock').innerHTML = obj;
}

///////function to call email password form///////////////////////////////////////////
function sendLostPassword(){
    document.getElementById('status').innerHTML = "<img src='images/checking.gif'>";
    http("POST","includes/login/act_LostPassword.cfm",returned_sendLostPassword,document.LostPass);

}


function returned_sendLostPassword(obj){      
       document.getElementById('status').innerHTML = "";
	   if(obj.error=="false"){
             document.getElementById('contentBlock').innerHTML = obj.message;
		  }else{
		     document.getElementById('contentBlock').innerHTML = obj.error;
		}  
    }

