function profileEdit(){
	//do nothing
}

function toggleProfile(o){
	var editLink = o;
	var profile_table = document.getElementById("profile-table");
	var profile_edit = document.getElementById("profile-edit");
	
	try{
		if(typeof editLink == undefined || editLink == null
			|| typeof profile_table == undefined || profile_table == null
			|| typeof profile_edit == undefined || profile_edit == null)
		{
			alert("Profile Edit is currently not available");
		}
		else{
			if(editLink.innerHTML.indexOf("Edit Profile") == -1){
				editLink.innerHTML = "Edit Profile";
				profile_table.className = "";
				profile_edit.className = "hidden";
			}
			else{
				editLink.innerHTML = "Cancel";
				profile_table.className = "hidden";
				profile_edit.className = "";
			}
		}
	}
	catch(e){
		alert(e);
	}
}