	function confirm_logout()
	{
		input_box=confirm("Are you sure you want to logout?");
		if (input_box==true)
		{ 
			// Output when OK is clicked
			top.location="logout.php?logmeout=true"; 
		}
		else
		{
			// Output when Cancel is clicked
		}
	
	}
	
	function confim_delete_stud(name,stud_id) 
	{
		input_box=confirm("Are you sure you want to delete the stud: " + name + "?");
		if (input_box==true)
		{ 
			// Output when OK is clicked
			top.location="edit.php?action=delete&dog_id=" + stud_id; 
			window.location.reload();
		}
		else
		{
			// Output when Cancel is clicked
		}
	
	}
	
	function confirm_delete_photo(id) {
		input_box=confirm("Are you sure you want to delete this photo?");
		if (input_box==true)
		{ 
			// Output when OK is clicked
			top.location="photos.php?action=delete&image_id=" + id; 
			window.location.reload();
		}
		else
		{
			// Output when Cancel is clicked
		}
	}