﻿$(document).ready(function(){




$("#btnMedDiscription").click(function(){
$('#MedGrid').toggle('slow');
});

$("#btnShowHideReadings").click(function(){
$('#divGlucometerData').toggle('slow');
});


	$(document).ready(function() {
		$(".topMenuAction").click( function() {
			if ($("#openCloseIdentifier").is(":hidden")) {
				$("#slider").animate({ 
					marginTop: "-470px"
					}, 500 );
				$("#topMenuImage").html('<img src="images/open.png" alt="open" />');
				$("#openCloseIdentifier").show();
			} else {
				$("#slider").animate({ 
					marginTop: "0px"
					}, 500 );
				$("#topMenuImage").html('<img src="images/close.png" alt="close" />');
				$("#openCloseIdentifier").hide();
			}
		});  
	}); 
});