$(document).ready(function() {
					
		$("input#submit").hide();
		
		$("button[name='calculate']").click(function(){
													 
										
			people = $("input[name='number_of_guests']").val();
			
			rentalChoice = $("input[name='rental_rates']:checked").val();
			
			saladsChoice = $("input[name='salads']:checked").val();
			
			starchChoice = $("input[name='starch']:checked").val();
			
			vegetableChoice = $("input[name='vegetable']:checked").val();
			
			entreeChoice = $("input[name='entree']:checked").val();
			
			if(rentalChoice == "Monday-Thursday") {
				rentalValue = 2200;
			} else {
				if(rentalChoice == "Friday & Sunday"){
					rentalValue = 3000;
				} else {
					if(rentalChoice == "Saturday"){
						rentalValue = 4000;
					}
				}
			}
			
			
			if(saladsChoice == "Cascade Mix" || saladsChoice == "Spring Mix" || saladsChoice == "Caeser" || saladsChoice == "Wasabi Plum Slaw" || saladsChoice == "Spinach and Tomato w/Creamy Dill Dressing") {
				saladsValue = 0;
			} else {
				if(saladsChoice == "Greek Salad w/Balsamic Vinaigrette" || saladsChoice == "Spinach w/Strawberry, Almonds and Honey Vinaigrette") {
					saladsValue = 1.50;
				}
			}
			
			if(starchChoice != "Cheese and Bacon Smashed Potatoes"){
				starchValue = 0;
			} else {
				if(starchChoice == "Cheese and Bacon Smashed Potatoes"){
					starchValue = 1.00;
				}
				
			}
			
			if(vegetableChoice != "Asparagus Almandine"){
				vegetableValue = 0;
			} else {
				if(vegetableChoice == "Asparagus Almandine"){
					vegetableValue = 1.00;
				}
			}
			
			if(entreeChoice == "Herb de Provence Chicken Breast-$16.95"){
				entreeValue = 16.95;
			} else {
				if(entreeChoice == "Haak Madeira Chicken-$18.95"){
					entreeValue = 18.95;
				} else {
					if(entreeChoice == "Roasted Chicken Breast w/Lemon Butter Sauce-$16.95"){
						entreeValue = 16.95;
					} else {
						if(entreeChoice == "Carved Garlic Peppercorn Pork Loin w/Port Reduction-$19.95"){
							entreeValue = 19.95;
						} else {
							if(entreeChoice == "Carved Prime Rib-$24.95"){
								entreeValue = 24.95;
							} else {
								if(entreeChoice == "Beef Tenderloin Medallions w/Port Reduction-$29.95"){
									entreeValue = 29.95;
								} else {
									if(entreeChoice == "Garlic Shrimp-$18.95"){
										entreeValue = 18.95;
									} else {
										if(entreeChoice == "Herb Crusted Salmon-$22.95"){
											entreeValue = 22.95;
										} else {
											if(entreeChoice == "Basa Filet w/Fennel and Dill-$18.95"){
												entreeValue = 18.95;
											} else {
												if(entreeChoice == "Cajun Catfish or Basa Filet w/Shrimp and Crawfish Etoufee-$22.95"){
													entreeValue = 22.95;
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
			
			rentalFinal = rentalValue
			saladFinal = people * saladsValue;
			starchFinal = people * starchValue;
			vegetableFinal = people * vegetableValue;
			entreeFinal = people * entreeValue;
			estimate = saladFinal + starchFinal + vegetableFinal + entreeFinal + rentalValue;
			
			$("input[name='est']").val("$" + Math.ceil(estimate));
				
			$("div#estimato").html("$" + Math.ceil(estimate));
			
			if(estimate > 0) {
				$("input#submit").show();
			}
		})
		
	});