$j(document).ready(function(){
	$j('#insert,#update').click(function(){
		var amount=$j('#amount').val();
		if($j.isNumeric(amount))
		{
			localStorage.setItem('expense_amount', amount);
		}
		else
		{
			localStorage.removeItem('expense_amount');
		}
	});
});