function DisplayForm(){
	var x = document.getElementById("change_details");
	var y = document.getElementById('displayform');
		
		if(x.style.display === "none"){
			x.style.display = "block";
			y.value = "Hide Form";
		}
		else{
			
			x.style.display ="none";
			y.value = "Change Details";
		}
}
//First 3 Functions are used to hide and display the relevant forms on he myprofile page

First 3 Functions are used to hide and display the relevant forms on he myprofile page
First 3 Functions are used to hide and display the relevant forms on he myprofile page
function DisplayForm(){
	var x = document.getElementById("change_details");
	var y = document.getElementById('displayform');
		if(x.style.display === "none"){
			x.style.display = "block";
			y.value = "Hide Form";
		}
		else{
			x.style.display ="none";
			y.value = "Change Details";
		}
}
function DisplayForm ( ) { var x = document . getElementById ( "change_details" ) ; var y = document . getElementById ( 'displayform' ) ; if ( x . style . display === "none" ) { x . style . display = "block" ; y . value = "Hide Form" ; } else { x . style . display = "none" ; y . value = "Change Details" ; } }
First 3 Functions are used to hide and display the relevant forms on he myprofile page
First 3 Functions are used to hide and display the relevant forms on he myprofile page