%@LANGUAGE="VBSCRIPT"%>
<%
Dim TotalNum
Dim Price
Dim MealError
Dim MinimumGroupSize
Dim PriceBreak1
Dim PriceBreak2
Dim MaxGroupSize
Dim Discount1to10
Dim PerPerson
Dim NumFreeAdults
Dim PoolPrice
Dim RopesPrice
Dim RopesSetup
Dim CanoePrice
Dim LodgePrice
Dim RoomPrice
Dim TotalCost
Dim TotalActivityCost
Dim PayFor
MealError = 0
MinimumGroupSize = 50
PriceBreak1 = 150
PriceBreak2 = 300
MaxGroupSize = 600
Discount1to10 = 0
NumFreeAdults = 0
PoolPrice = 80.00
RopesPrice = 7.00
RopesSetup = 195.00
RopesTotal = 0
CanoePrice = 50.00
BoatPrice = 125.00
LodgePrice = 10.00 'This is the additional amount per person per night to upgrade from a cabin to a lodge
RoomPrice = 50.00
TotalActivityCost = 0
TotalCost = 0
PayFor = 0
' Calculate the total number of guests
TotalNum = Int(Request.QueryString("NumYth")) + Int(Request.QueryString("NumAd"))
' Calculate which price applies based on size of group
If TotalNum =PriceBreak2 THEN Price = 34 END IF
If TotalNum<50 THEN PayFor=50 ELSE PayFor = TotalNum END IF
PerPerson = ((Request.QueryString("Nights")*Price-8*(Request.QueryString("Nights")*3-Request.QueryString("Meals"))))
' Determine if 1:10 discount applies and determine the number of free adults
IF Int(Request.QueryString("NumYth"))>=MinimumGroupSize AND Int(Request.QueryString("NumAd"))>0 AND Request.QueryString("AdWithKids")=1 THEN Discount1to10 = 1 END IF
IF Int(Request.QueryString("NumAd"))>=Int(Request.QueryString("NumYth")*0.1) THEN NumFreeAdults=Int(Request.QueryString("NumYth")*0.1) ELSE NumFreeAdults=Int(Request.QueryString("NumAd")) END IF
If Discount1to10 = 0 THEN NumFreeAdults = 0 END IF
' Add premium to price if choosing to stay in lodge
If Request.QueryString("Accom")=2 THEN PerPerson = PerPerson + LodgePrice*Request.QueryString("Nights") END IF
' Check for not enough meals, if not enough, set MealError = 1
If Request.QueryString("Nights")*3-Request.QueryString("Meals")>3 THEN MealError=1 END IF
' Check for too many meals. If too many, set MealError = 2
If Request.QueryString("Nights")*3-Request.QueryString("Meals")<-3 THEN MealError=2 END IF
'Compute total special activity cost
IF Request.QueryString("RopesHrs")>0 THEN RopesTotal = Request.QueryString("RopesHrs")*Request.QueryString("RopesNum")*RopesPrice+RopesSetup END IF
TotalActivityCost = Request.QueryString("Room")*Request.QueryString("Nights")*RoomPrice+Request.QueryString("Pool")*PoolPrice+Request.QueryString("Canoe")*CanoePrice + RopesTotal + Request.QueryString("Boat")*BoatPrice
%>
Sandy Hill Retreat Cost Estimator
Please complete the appropriate boxes in the form below to estimate the cost of your retreat.*
Price discounts for larger groups occur at <%=PriceBreak1%> and <%=PriceBreak2%> paying guests. These discounts are partially built-in to this estimator.
*This estimating program is designed to give you a rough idea of the overall price and per person price for a retreat at Sandy Hill. For exact pricing, please contact the Sandy Hill office. These prices are subject to change at Sandy Hill's sole discretion at any time without notification.
Nearly all of our retreat groups are "not-for-profit" groups (schools, churches, etc.), so there is only one set of prices for our retreats regardless of a group's tax-exempt status.
** These prices do not include any applicable sales tax for our "for-profit" groups.
Sandy Hill Camp and Retreat Center
3380 Turkey Point Road, North East, Maryland 21901
Phone: (410) 287-5554 Fax: (410) 287-0826 Email: info@SandyHillCamp.com