www.mdcnatureshop.com
Open in
urlscan Pro
34.195.223.175
Public Scan
Submitted URL: http://www.mdcnatureshop.com/
Effective URL: https://www.mdcnatureshop.com/MDCWebHome/
Submission: On October 18 via manual from US — Scanned from DE
Effective URL: https://www.mdcnatureshop.com/MDCWebHome/
Submission: On October 18 via manual from US — Scanned from DE
Form analysis
1 forms found in the DOMPOST ./
<form method="post" action="./" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwULLTEwODkwMDAwMTEPZBYCZg8PFggeD19fQW50aVhzcmZUb2tlbgUgMWYwMzk3ZGQ1YTAwNDJkNGEyZDI3MjhkOGU4MzQ3OTYeEl9fQW50aVhzcmZVc2VyTmFtZWUeFkZ1dHVyZUJvb2tpbmdTdGFydERhdGUGAAB8Mvey2ggeC0Fycml2YWxEYXRlBgAAfDL3stoIZBYCZg8PFgQfAAUgMWYwMzk3ZGQ1YTAwNDJkNGEyZDI3MjhkOGU4MzQ3OTYfAWVkFgZmD2QWEgICDxYCHgdjb250ZW50BTFpbmZvcm1hdGlvbiAtIE1pc3NvdXJpIERlcGFydG1lbnQgb2YgQ29uc2VydmF0aW9uZAIDDxYCHwQFB1dlYnNpdGVkAgQPFgIfBAVAaHR0cHM6Ly9tZGMudXNlZGlyZWN0LmNvbS9NRENTYXR1cm5QcmVQcm9kL3RoZW1lcy9NREMvQV9sb2dvLnBuZ2QCBQ8WAh8EBStodHRwczovL21kYy51c2VkaXJlY3QuY29tL01EQ1NhdHVyblByZVByb2QvZAIGDxYCHwQFI01pc3NvdXJpIERlcGFydG1lbnQgb2YgQ29uc2VydmF0aW9uZAIHDxYCHwQFLk1EQyAsIGNhbXBpbmcgYW5kIHRvdXIgcmVzZXJ2YXRpb24gaW5mb3JtYXRpb25kAggPFgIfBAUjTWlzc291cmkgRGVwY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x5PVNhdGlzZnkiIHJlbD0ic3R5bGVzaGVldCI+DQpkZDUs8hjWdIkJlDinoei5NRkply8kJzMiUaA/48AauB/u">
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/MDCWebHome/WebResource.axd?d=UIE3H2tCwI1n1Sdp73JJsPmMsAoG0abGYqgsI5HuKlDBoqubC1TFE4XVSY4wBUiJjvd8XKB_1yd0is2fLGOKYsxC7bWYD8CspMumCtn27Cw1&t=637814437746327080" type="text/javascript"></script>
<script src="/MDCWebHome/ScriptResource.axd?d=xWFxlBeDdMshNf_ch5njcJxgEGUOTArVJRovjXS40luQXwT6aqCwwH91iRlNjFcwc7lpvSidSpjbMUzQqrQidB3mVRzPeOx06kc3OrhdLhU6oeBzyB8nhwcyNkTWv8Nl6Q57EHnw7GoXmV-zkK6QTJnYRcZn9fBDBqmQftw7yEc1&t=49337fe8"
type="text/javascript"></script>
<script
src="/MDCWebHome/ScriptResource.axd?d=IEwpUZSCG3o0xWIrYQ0E_4mNkDmApO8Bd_WXDX7KlCoHTd6r3Wj7OZxe94ZuiWgVTiQXy5gOPBuOQR18aV-QPev-SIkB_j3IBG3eLlGY-23tSVvkSGaVi_YlovS5aRV87ohUieOY3KgwE0e3NkHPpuQy9-e2m9FPpWCg0lUjtzWRspEPujZgwwFw-Z5LfAG40&t=49337fe8"
type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery-ui-1.12.4.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/niftyCorners/nifty.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/main.js?v1.2.1" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.sortable.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/bootstrap.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/bootstrap-submenu.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.ui.touch-punch.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/ios-orientationchange-fix.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.rwdImageMaps.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.tooltipster.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jtemplates.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/custom_scroll.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.poshytip.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/map_legend.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/Advancegrid.js?v1.2.1" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/moment.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jquery.mCustomScrollbar.concat.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/bootstrap-select.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/newdesign.js?v1.2.1" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jsSortingAlias.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/multiselect/jquery.multiselect.min.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/multiselect/prettify.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jsLogin.js?v1.2.1" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/source/jquery.fancybox.pack.js?v=2.1.5" type="text/javascript"></script>
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="2786A9D5">
</div>
<input type="hidden" name="ctl00$ctl00$HiddenField1_old" id="HiddenField1_old" value="13">
<input type="hidden" name="ctl00$ctl00$hdnLoginCaptchResponse" id="hdnLoginCaptchResponse">
<input type="hidden" name="ctl00$ctl00$Hidscreenresolutionmain" id="Hidscreenresolutionmain">
<input type="hidden" name="ctl00$ctl00$hdnCulture" id="hdnCulture">
<label id="lblbtnChangeCustomer" for="btnChangeCustomer" style="display: none;">
<span style="display: none">test</span>
</label>
<input type="submit" name="ctl00$ctl00$btnChangeCustomer" value="test" id="btnChangeCustomer" style="display: none">
<div style="font-size: 0px; margin: 0px; line-height: 0px;" id="divDatepickerInstruction" aria-hidden="true">Use arrow keys to navigation on dates</div>
<div class="col-md-12 modalsLoader" id="divModels" style="display: none">
<div class="centerLoader">
<img src="https://www.mdcnatureshop.com/MDCWebHome/themes/MDC/loader.gif" alt="loader">
</div>
</div>
<div style="font-size: 0px; margin: 0px; line-height: 0px;" id="datepickerLabel">Select date</div>
<!-- Alert with Ok button -->
<div class="modal fade" id="informationBox" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content" tabindex="-1">
<div id="Div1" class="modal-header">
<h1 class="modal-title" id="myModalLabel1" aria-level="1">supported with a major performance caveat</h1>
<button type="button" class="close" data-dismiss="modal" title="Credentials close button"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
</div>
<div onclick="javascript:void(0);" class="modal-body" id="divmodalbody1" tabindex="-1" aria-live="assertive">
</div>
<div class="modal-footer">
<a href="javascript:void(0);" id="btninfoclose" class="btn btn-default" data-dismiss="modal" title="">OK</a>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" id="messageBoxLightbox2">
<div class="modal-dialog">
<div class="modal-content" tabindex="-1">
<div id="mainmessage" class="modal-header">
<h1 class="modal-title" id="myModalLabel" aria-level="1">test</h1>
<button type="button" tabindex="-1" class="close" aria-label="Close" data-toggle="tooltip" data-placement="bottom" data-dismiss="modal" title="" data-original-title="Click to close error dialog"><span aria-hidden="true">×</span><span
class="sr-only">Close</span></button>
</div>
<div onclick="javascript:void(0);" class="modal-body" id="divmodalbody" tabindex="-1" aria-live="assertive">
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" title="close button">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" id="messageBoxLightboxSCWarning" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title" id="myModalLabelSCWarning"> Information </h1>
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span><span class="sr-only"> No Resource </span>
</button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="btnOkSCWarning"> Extend Time </button>
<button type="button" class="btn btn-default" data-dismiss="modal" id="btnCancelSCWarning"> Let cart expire </button>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" id="waitlist_open_box">
<div class="modal-dialog modal-md">
<div class="modal-content" tabindex="-1">
<div class="modal-header">
<h4 class="modal-title" style="color: #fff;">Create Notification</h4>
<button type="button" class="close" data-dismiss="modal" onclick="ClickWaitListClose()" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Popup close button">×</button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<div>
<div id="divheadr" style="padding-bottom: 10px;">
</div>
<div class="row">
<div class="col-md-6 date waitlist_date_ada">
<div class="date_txt_new">
<div class="wait_inp_txt_tit">From Date</div>
<div class="wait_date_div" style="display: inline-flex; width: 100%;">
<input class="wait_input" type="text" placeholder="Date" id="fromdate" aria-label="From Date">
</div>
<!--<a href="javascript:void(0);" class="cal"><span class="fa fa-calendar dateiconclick cal_icon startClick"></span></a>-->
</div>
<div id="dtfrmblock"></div>
</div>
<div class="col-md-6 date waitlist_date_ada">
<div class="date_icon"></div>
<div class="date_txt_new">
<div class="wait_inp_txt_tit">To Date</div>
<div class="wait_date_div" style="display: inline-flex; width: 100%;">
<input class="wait_input" type="text" placeholder="Date" id="todate" aria-label="To date">
</div>
<!--<a href="javascript:void(0);" class="cal"><span class="fa fa-calendar dateiconclick cal_icon EndClick"></span></a>-->
</div>
</div>
<div id="dttoblock"></div>
</div>
</div>
<div class="spacer5"></div>
<div>
<div class="row">
<div class="col-md-6">
<div class="wait_date_box">
<div class="wait_inp_txt_tit">Facilities</div>
<select class="wait_input" id="ddlfacilityNotification" aria-label="Facilities"></select>
</div>
</div>
<div class="col-md-6">
<div class="wait_date_box">
<div class="wait_inp_txt_tit">Unit Type</div>
<select class="wait_input" id="ddlunittypeNotification" aria-label="Unit Type"></select>
</div>
</div>
</div>
</div>
<div class="spacer5"></div>
<div>
<div class="row">
<div class="col-md-6">
<div class="wait_date_box">
<div class="wait_inp_txt_tit">Preferred Contact Method</div>
<select class="wait_input" id="ddlWaitListNotification" aria-label="Preferred Contact Method"></select>
</div>
</div>
<div class="col-md-6" id="divADARequired">
<div class="wait_date_box">
<div class="wait_inp_txt_tit last_chk_popup">
<input class="" type="checkbox" id="chkIsADA" aria-label="Required ADA Sites">Required ADA Sites
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<div class="col-md-12">
<div class="font-awesome_icn save_green"><a href="javascript:void(0);" id="wlSave" role="button" aria-label="Save">Save</a></div>
</div>
</div>
</div>
</div>
</div>
<div class="page-wrapper">
<div id="myModal" tabindex="-1" style="display: none;" class="modal fade modal-fullscreen in">
<div class="modal-dialog w450_new_login">
<!-- Modal content-->
<div class="modal-content" tabindex="-1">
<div class="modal-header login_popup_new model_grid_head_1">
<button class="btn1 btn-link btn-lg" type="button" data-dismiss="modal" data-additional-close=""><i class="fa fa-chevron-left"></i>Back</button>
</div>
<div class="modal-header login_popup_new model_grid_head_2">
<h1 class="modal-title new_log_tit" id="hCredentials">Credentials</h1>
<button type="button" class="close" id="btncloselgn" aria-label="Close" data-dismiss="modal" data-placement="bottom" data-toggle="tooltip" title="" data-original-title="Popup close button">×</button>
</div>
<div class="modal-body bg_gary_data">
<div class="w85_per_log" style="width: 100%;">
<div class="pop_log_tit" role="heading" aria-level="2">Existing Customer</div>
<div id="divLoginCredentials">
<p>In order to make a purchase please log in. Once you log in, you will also be able to review and modify your account information as needed.</p> <p>Should you need to recover your account or change your password, the new
password will need to be a mix of upper and lower case characters, numbers, and special characters.</p> <p><b>NEW CUSTOMER</b></p>
<p>Please create an account to make purchases online.</p><br>
</div>
</div>
<div class="clearfix"></div>
<div class="login_page_box">
<div>
<label for="txtUserName" id="lblEmailAddress" title="Email Address is required">Email Address</label>
<input id="txtUserName" type="text" placeholder="Email Address" autocomplete="on" aria-required="true" aria-label="User Name">
</div>
</div>
<div class="login_page_box" id="divOldPassword">
<div>
<label id="password" for="txtPassword" title="Password is required (password is case sensitive)"> Password (case sensitive) </label>
<input name="ctl00$ctl00$txtPassword" type="password" id="txtPassword" placeholder="Password (case sensitive) " aria-required="true" aria-label="Password (case sensitive)">
</div>
</div>
<div class="login_page_box" id="placeStoreBookingAgent" style="display: none;">
<div>
<label for="txtStore" title="Booking Agent"> Booking Agent </label>
<input type="text" placeholder="Booking Agent" id="txtStore">
</div>
</div>
<div id="divExprPassword" style="display: none;">
<div class="login_page_box">
<div>
<label for="txtNewPassword">New Password</label>
<input type="password" placeholder="Password (case sensitive) " id="txtNewPassword" maxlength="25">
</div>
</div>
<div class="login_page_box">
<div>
<label for="txtConfirmPassword">Confirm New Password</label>
<input type="password" placeholder="Password (case sensitive) " id="txtConfirmPassword" maxlength="25">
</div>
</div>
<div id="login_psw_txt">
</div>
<div class="spacer10"></div>
</div>
<div>
</div>
<div id="divGoogleCaptch">
<div id="loginCaptcha" class="g-recaptcha">
<div class="grecaptcha-badge" data-style="inline" style="width: 256px; height: 60px; box-shadow: gray 0px 0px 5px;">
<div class="grecaptcha-logo"><iframe title="reCAPTCHA"
src="https://www.google.com/recaptcha/api2/anchor?ar=1&k=6Lf6qNsZAAAAADfDMEjBadGX_jEI5snfozRePJ_9&co=aHR0cHM6Ly93d3cubWRjbmF0dXJlc2hvcC5jb206NDQz&hl=de&type=image&v=vP4jQKq0YJFzU6e21-BGy3GP&size=invisible&badge=inline&cb=a54je6rbwbl0"
width="256" height="60" role="presentation" name="a-d5315w4ed3xu" frameborder="0" scrolling="no"
sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox"></iframe></div>
<div class="grecaptcha-error"></div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response"
style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
</div><iframe style="display: none;"></iframe>
</div>
</div>
<br>
<div id="divguestcustomer" style="margin-bottom: 10px;" class="row">
<div class="col-md-6">
<div class="login_sub_new_btn">
<a href="javascript:void(0);" onclick="javascript:validate(event);" id="divOnlyLogin" style="width: 100%" role="button">Sign In</a>
<a href="javascript:void(0);" onclick="CheckLogin_Passwprdexp();" id="divSaveLogin" style="display: none; width: 100%;" role="button">Save and Log In</a>
</div>
</div>
<div class="col-md-6">
<div class="pop_forgot"><a href="https://www.mdcnatureshop.com/MDCWebHome/Customers/Recover.aspx">Forgot Password?</a></div>
</div>
</div>
<div class="clearfix"></div>
<div class="brd_all_newpop"></div>
<div id="divNewcustomer">
<div>
<div class="pop_log_tit" id="divnewcustomer" style="font-size: 16px;" role="heading" aria-level="2">NEW CUSTOMER</div>
<div>You need to have an account to make reservations or make any other purchases online.
<a style="font-weight: 600; text-decoration: underline !important;" href="https://www.mdcnatureshop.com/MDCWebHome/Customers/NewCustomer.aspx">Create Account</a></div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
<div id="libook" style="display: none">
<a href="return false" onclick="javascript:void(0)" class="h_right_menu_toggel" title="Park Booking" alt="Booking">Booking</a>
<div class="header-right-menu-modal dropdown-menu animated fadeInUp search-box1">
<div class="header-search">
<div class="col-md-12 form-group">
<label for="autocomplete1">City or Park</label>
<input class="form-control search-box glyphicon glyphicon-search" id="autocomplete1" placeholder="Enter City or Park Name" type="text">
<label for="txtAutocomplete" style="display: none;">Enter City or Park Name</label>
<input class="form-control search-box glyphicon glyphicon-search" id="txtAutocomplete" placeholder="Enter City or Park Names" type="text" style="display: none;">
<input name="ctl00$ctl00$AdvanceMainSearch$hdnAutoPlaceId" type="hidden" id="hdnAutoPlaceId">
<input name="ctl00$ctl00$AdvanceMainSearch$hdnLat" type="hidden" id="hdnLat" value="27.471111">
<input name="ctl00$ctl00$AdvanceMainSearch$hdnLag" type="hidden" id="hdnLag" value="-81.541944">
<input type="hidden" id="hdnStatevalue">
<input name="ctl00$ctl00$AdvanceMainSearch$hdnautocomplete" type="hidden" id="hdnautocomplete">
<input name="ctl00$ctl00$AdvanceMainSearch$hdncustomautocomplete" type="hidden" id="hdncustomautocomplete">
<input type="hidden" id="hdnAutocompleteCheckLevel">
</div>
<div class="col-md-6 form-group selectContainer">
<label for="ddlactivity">Place Category</label>
<select name="ctl00$ctl00$AdvanceMainSearch$ddlactivity" id="ddlactivity" class="form-control selectpicker" onchange="hidenight();" style="display: none;">
</select>
<div class="btn-group bootstrap-select form-control"><button type="button" class="btn dropdown-toggle selectpicker btn-default" data-toggle="dropdown" data-id="ddlactivity" title="All"><span
class="filter-option pull-left">All</span> <span class="caret"></span></button>
<div class="dropdown-menu open">
<ul class="dropdown-menu inner selectpicker" role="menu"></ul>
</div>
</div>
</div>
<div class="col-md-4">
<span style="font-family: Lato; color: #4c5046; display: inline-block; margin-bottom: 5px; font-weight: bold; max-width: 100%;">Arrival Date</span>
<div class="input-group date" id="datetimepicker1">
<input type="hidden" name="ctl00$ctl00$AdvanceMainSearch$hdnArrivalDate" id="hdnArrivalDate" value="10/18/2022">
<label for="AdvanceMainSearch_txtArrivalDate" style="display: none;">Arrival Date</label>
<input name="ctl00$ctl00$AdvanceMainSearch$txtArrivalDate" type="text" value="10/18/2022" readonly="readonly" id="AdvanceMainSearch_txtArrivalDate" class="form-control dateforgrid hasDatepicker">
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<div class="col-md-2">
<div id="AdvanceMainSearch_nightdiv">
<input type="hidden" name="ctl00$ctl00$AdvanceMainSearch$hdnNights" id="hdnNights" value="">
<label for="ddlNights">Nights</label>
<select name="ctl00$ctl00$AdvanceMainSearch$ddlNights" id="ddlNights" title="Nights" class="form-control selectpicker" onchange="getNights();" style="display: none;">
</select>
<div class="btn-group bootstrap-select form-control"><button type="button" class="btn dropdown-toggle selectpicker btn-default" data-toggle="dropdown" data-id="ddlNights" title="Nights"><span
class="filter-option pull-left">Nights</span> <span class="caret"></span></button>
<div class="dropdown-menu open">
<ul class="dropdown-menu inner selectpicker" role="menu"></ul>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="col-md-6 col-sm-6 col-xs-6" id="divFilters" style="display: none;">
<i class="fa fa-angle-double-right"></i> <a id="AfilterOpetion" onclick="return false;" href="#" class="hide_filter_text_nav">Show Filters</a>
</div>
<div class="col-md-6 col-sm-6 col-xs-6" id="btnsearchdiv" style="float: right;">
<a class="btn btn-primary pull-right search_btn_menu_new" id="btn_search" data-toggle="tooltip" title="" data-original-title="Click here to Search Data">Search</a>
</div>
<div class="clearfix"></div>
<input type="hidden" name="ctl00$ctl00$AdvanceMainSearch$hdnEnableGoogleAnalyticCodeTracing" id="AdvanceMainSearch_hdnEnableGoogleAnalyticCodeTracing">
<style>
.header-right-menu-modal .btn-default:hover {
background-color: #f4f4f4 !important;
border: 1px solid #80827c !important;
color: #000000 !important;
}
.header-right-menu-modal .btn-default:focus {
background-color: #f4f4f4 !important;
border: 1px solid #80827c !important;
color: #000000 !important;
outline: none !important;
}
</style>
<script>
$("#AfilterOpetion").click(function() {
if ($("#AfilterOpetion").html() == "Hide Filters") {
$("#AfilterOpetion").html("Show Filters");
$("#divAdvanceSearchpart").hide();
if ($("#hiddenPlaceLevel").val() == "Facility") {
$("#AdvanceClearAll").show();
}
} else {
$("#AfilterOpetion").html("Hide Filters");
$("#divAdvanceSearchpart").show();
if ($("#hiddenPlaceLevel").val() == "Facility") {
$("#divParkFinderset").hide();
$("#divLeftParkFinderset").hide();
$("#divToggle_serch_white").hide();
$("#AdvanceClearAll").show();
//$(".park_finder_text_nav").hide();
}
}
});
$(document).ready(function() {
$('#hdnNights').val($('#ddlNights').val());
$('#ddlTopNights').val($('#ddlNights').val());
//$('#AdvanceMainSearch_nightdiv').hide();
SetDateinHiddenfield();
if ('Missouri Department of Conservation' != '') {
$("#autocomplete1").val('Missouri Department of Conservation');
}
$("#txtGoogleautocomplete").keypress(function(e) {
if (e.keyCode == 13 || e.which == 13) {
e.preventDefault();
}
});
//fnGetPlaceName($("#autocomplete1"));
var pageURL = $(location).attr("href");
var PageName = getBaseName(pageURL);
if (PageName.toLowerCase() == "advancesearch" || PageName.toLowerCase() == "advancesearchm") {
var enablePlaceSearchDropDown = 'False';
//alert(enablePlaceSearchDropDown);
if (enablePlaceSearchDropDown != "True") {
fnGetPlaceName($("#autocomplete2"));
}
//fnGetPlaceName($("#txtParkSearch"));
}
if (window.location.href.toLowerCase().indexOf('advancetourandactivities') != -1) {
$("#ddlactivity option[value='tour']").attr("selected", "selected");
$('#ddlactivity').next().find("span")[0].innerHTML = 'Tour';
$('#ddlactivity').next().find("button").attr("title", "Tour");
$('#ddlactivity').next().find("div").find("li.selected").removeClass("selected");
var lis = $('#ddlactivity').next().find("div").find("li");
for (var i = 0; i < lis.length; i++) {
if ($(lis[i]).find("span").html() == 'Tour') {
$(lis[i]).addClass("selected");
}
}
} else if (window.location.href.toLowerCase().indexOf('advancecustomermemberships') != -1) {
$("#ddlactivity option[value='permit']").attr("selected", "selected");
$('#ddlactivity').next().find("span")[0].innerHTML = 'Permit';
$('#ddlactivity').next().find("button").attr("title", "Permit");
$('#ddlactivity').next().find("div").find("li.selected").removeClass("selected");
var lis = $('#ddlactivity').next().find("div").find("li");
for (var i = 0; i < lis.length; i++) {
if ($(lis[i]).find("span").html() == 'Permit') {
$(lis[i]).addClass("selected");
}
}
} else {
//for (var i = 0; i < lis.length; i++) {
// if ($(lis[i]).find("span").html() == 'Camping') {
// $(lis[i]).addClass("selected");
// }
//}
$("#ddlactivity option[value='8']").attr("selected", "selected");
$('#ddlactivity').next().find("span")[0].innerHTML = 'All';
$('#ddlactivity').next().find("button").attr("title", "All");
$('#ddlactivity').next().find("div").find("li.selected").removeClass("selected");
var lis = $('#ddlactivity').next().find("div").find("li");
for (var i = 0; i < lis.length; i++) {
if ($(lis[i]).find("span").html() == 'All') {
$(lis[i]).addClass("selected");
}
}
}
var latname = GetParameterValues('lat');
var longname = GetParameterValues('long');
if (latname != undefined && longname != undefined) {
$('#hdnLat').val(latname);
$('#hdnLag').val(longname);
} else {
if ('27.471111' != '0') {
$('#hdnLat').val('27.471111');
$('#hdnLag').val('-81.541944');
}
}
//hidenight();
var AutosetParkName = $('#autocomplete2').val();
$('#autocomplete2').on('blur', function() {
if ($("#hdncustomautocomplete").val() != "") AutosetParkName = $("#hdncustomautocomplete").val();
$("#autocomplete2").val(AutosetParkName);
//
//if (!$(this).data('defaultText')) $(this).data('defaultText', $(this).val());
//if ($(this).val() == $(this).data('defaultText')) $(this).val('');
});
$('#autocomplete2').on('focus', function() {
//
if ($("#hdncustomautocomplete").val() != "") AutosetParkName = $("#hdncustomautocomplete").val();
else AutosetParkName = $("#autocomplete2").val();
$("#autocomplete2").val('');
// on blur, if there is no value, set the defaultText
// if ($(this).val() == '') $(this).val($(this).data('defaultText'));
});
});
function getNights() {
$('#hdnNights').val($('#ddlNights').val());
$('#ddlTopNights').val($('#hdnNights').val());
$('#Grid_ddlNights').val($('#hdnNights').val());
var sender = document.getElementById('ddlNights');
setSessionValuesOnClick();
selNights_change(sender);
}
function getPopupNights(sender) {
$('#hdnNights').val($('#ddlPopupNights').val());
$("#ddlNights").next().find("span")[0].innerHTML = $('#hdnNights').val();
$('#ddlTopNights').val($('#hdnNights').val());
$("#Grid_ddlNights").val($('#hdnNights').val());
// $("#ddlTopNights").next().find("span")[0].innerHTML = $('#hdnNights').val();
setSessionValuesOnClick();
selNights_change(sender);
}
function getTopPopupNights(sender) {
$('#hdnNights').val($('#ddlTopNights').val());
$('#Grid_ddlNights').val($('#hdnNights').val());
$("#ddlNights").next().find("span")[0].innerHTML = $('#hdnNights').val();
$("#btnTop_search").removeClass("filter_text_nav_inable");
setSessionValuesOnClick();
selNights_change(sender);
}
function getUnitgridPopupNights(sender) {
$('#hdnNights').val($('#Grid_ddlNights').val());
if ($("#ddlNights").next().find("span").length > 0) {
$("#ddlNights").next().find("span")[0].innerHTML = $('#hdnNights').val();
}
$('#ddlTopNights').val($('#hdnNights').val());
selectedAvailableSliceIds = [];
selectedColumnIndexes
$.when($.ajax({
type: "POST",
url: "AdvanceSearch.aspx/SessionClears",
data: JSON.stringify({
'arrivaldate': $('#hdnArrivalDate').val()
}),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
//
//isFilterClick = false;
//$("#hdnddlLenght").val(0);
//$("#hdnSelectCampingEquip").val("0");
//$("#hdnSelectRentalType").val(0);
$("#hdnSelectoptions").val("0");
$("#hidddlUnitType").val("");
//ClearAdvanceControl();
//Left_ClearAdvanceControl();
//$(".third_fil_main_box").hide();
// $("select#ddlLeft_Categories")[0].selectedIndex = 0;
//$("select#ddlCategories")[0].selectedIndex = 0;
// $("#afilterFacilityview").removeClass();
// $("#afilterFacilityview").addClass("list-view_left toggle_filter_new afilter");
//HideAllAdvanceOptionPerticular();
//Left_HideAllAdvanceOptionPerticular();
}
})).done(function() {
//alert('');
setSessionValues();
if ($("#hiddenPlaceLevel").val() == "Facility") {
$("#hdnSelectRentalType").val($("#ddlLeft_Categories").val());
}
//setDateinDatepickerControl();
//$(".dateforgrids").hide();
});
selNights_change(sender);
}
function setDatePicker_home(futureBookingStartDate, futureBookingEndDate) {
var date1 = new Date(futureBookingStartDate);
date1.setHours(0, 0, 0, 0);
var date2 = new Date(futureBookingEndDate);
date2.setHours(0, 0, 0, 0);
TripStartDate = date1;
TripEndDate = date2;
Dateformat = 'mm/dd/yy';
$("#mainContent_txtDateRange").keypress(function(e) {
return e.keyCode != 13;
});
$('.adaDatePickerMainGridPage').datepicker({
showOn: 'button',
minDate: futureBookingStartDate,
maxDate: futureBookingEndDate,
buttonImage: fullresolveurl + 'CommonThemes/Images/date_icon.png', // File (and file path) for the calendar image
buttonImageOnly: false,
buttonText: 'Choose Date',
dayNamesShort: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
showButtonPanel: true,
closeText: 'Close',
onClose: removeAria,
onSelect: function(selected, evnt) {
updategrid(selected);
$.when($.ajax({
type: "POST",
url: "AdvanceSearch.aspx/SessionClears",
data: JSON.stringify({
'arrivaldate': $('#hdnArrivalDate').val()
}),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
var scrolldiv = $(".mCSB_draggerContainer");
if (scrolldiv.length > 0) {
for (i = 0; i < scrolldiv.length; i++) {
if (scrolldiv.length - 1 == i) {
var DivElemt = scrolldiv[i];
scrollTop = DivElemt.firstElementChild.offsetTop;
scroollID = parseInt(DivElemt.firstElementChild.id.split('_')[1]);
}
}
}
contentDivID = "#mCSB_" + scroollID + "_container";
dragcontentTop = $(contentDivID).css("top");
draggID = parseInt(scroollID) + parseInt(1);
drragableId = "#mCSB_" + draggID + "_dragger_vertical";
nextcontentDivID = "#mCSB_" + parseInt(draggID) + "_container";
//isFilterClick = false;
//$("#hdnddlLenght").val(0);
//$("#hdnSelectCampingEquip").val("0");
//$("#hdnSelectRentalType").val(0);
$("#hdnSelectoptions").val("0");
$("#hidddlUnitType").val("");
//ClearAdvanceControl();
//Left_ClearAdvanceControl();
//$(".third_fil_main_box").hide();
//$("select#ddlLeft_Categories")[0].selectedIndex = 0;
//$("select#ddlCategories")[0].selectedIndex = 0;
//$("#afilterFacilityview").removeClass();
//$("#afilterFacilityview").addClass("list-view_left toggle_filter_new afilter");
//HideAllAdvanceOptionPerticular();
//Left_HideAllAdvanceOptionPerticular();
}
})).done(function() {
//alert('');
setSessionValues();
if ($("#hiddenPlaceLevel").val() == "Facility") {
$("#hdnSelectRentalType").val($("#ddlLeft_Categories").val());
}
//setDateinDatepickerControl();
//$(".dateforgrids").hide();
});
},
onClose: function() {
$(".ui-datepicker-trigger").focus();
if (drragableId != undefined) {
setTimeout(function() {
$("#divUnitGridlist .mCSB_container").css("top", dragcontentTop)
}, 3000);
setTimeout(function() {
$("#divUnitGridlist .mCSB_dragger").css("top", scrollTop)
}, 3000);
}
}
});
}
function AllSessionExpireAlert(timeout) {
var seconds = timeout / 1000;
document.getElementsByName("secondsIdle").innerHTML = seconds;
document.getElementsByName("seconds").innerHTML = seconds;
setInterval(function() {
seconds--;
}, 1000);
setTimeout(function() {
//Show Popup before 20 seconds of timeout.
$find("mpeTimeout").show();
}, timeout - 20 * 1000);
var pathname = window.location.pathname;
if (pathname.toLowerCase().indexOf("default") == -1) {
setTimeout(function() {
window.location = "https://www.mdcnatureshop.com/MDCWebHome/Default.aspx";
}, timeout);
}
}
function updategrid(value) {
if (value != null) {
var dt = value.replace('-', '/').replace('-', '/');
$('.arrivaldate').val(dt);
$("#AdvanceMainSearch_txtArrivalDate").val(dt);
$("#mainContent_TopMenuMainSearch_txtTopArrivalDate").val(dt);
$("#mainContent_txtDateRange").val(dt);
$('#hdnArrivalDate').val(dt);
SetDateinHiddenfield();
$('[data-toggle="tooltipunit"]').tooltip({
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner large"></div></div>'
});
}
}
function ClearMainControl() {
$('#autocomplete').val("");
$("#AdvanceMainSearch_txtArrivalDate").val($.datepicker.formatDate("mm/dd/yy", new Date()));
$("#hdnArrivalDate").val($.datepicker.formatDate("mm/dd/yy", new Date()));
$('#ddlNights').val(0);
}
function SetDateinHiddenfield() {
//
$('#hdnArrivalDate').val($("#AdvanceMainSearch_txtArrivalDate").val());
return;
var dt = $("#AdvanceMainSearch_txtArrivalDate").val().split('/');
$('#hdnArrivalDate').val(dt[0] + "/" + dt[1] + "/" + dt[2]);
}
function fnGetPlaceName(AutocompleteControl) {
var urlname = '';
if (IsMobileBrowser.toLowerCase() == "true") {
urlname = baseurlmain + '/Facilities/AdvanceSearchm.aspx/GetCityPlacename';
} else {
urlname = baseurlmain + '/Facilities/AdvanceSearch.aspx/GetCityPlacename';
}
AutocompleteControl.autocomplete({
source: function(request, response) {
$("#hdnLat").val('');
$("#hdnLag").val('');
var param = {
name: AutocompleteControl.val()
};
$.ajax({
url: urlname,
data: JSON.stringify(param),
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
dataFilter: function(data) {
return data;
},
success: function(data) {
response($.map(data.d, function(item) {
if (item.Place_alias == "") {
return {
label: item.Name, //+ "," + item.EntityType,
value: item.Latitude + "," + item.Longitude,
logo: item.EntityType,
CityPark: item.CityParkId,
ParkSize: item.ParkSize,
Placeid: item.PlaceId,
PlaceAlias: item.Place_alias,
placeName: item.Name
}
}
if (item.Place_alias != "") {
return {
label: item.Place_alias, //+ "," + item.EntityType,
value: item.Latitude + "," + item.Longitude,
logo: item.EntityType,
CityPark: item.CityParkId,
ParkSize: item.ParkSize,
Placeid: item.PlaceId,
PlaceAlias: item.Place_alias,
placeName: item.Name
}
}
}));
if (data.d.length == 0) {
$("#hdnLat").val("");
$("#hdnLag").val("");
}
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
}
});
},
search: function(event, ui) {
$("#hdnLat").val('');
$("#hdnLag").val('');
},
select: function(e, ui) {
ChnageDragandZoom = false;
e.preventDefault();
boolAutosearchvalues = true;
$("#hdnsearchplaceid").val(ui.item.Placeid);
$("#hdnparksize").val(ui.item.ParkSize);
parkSize = ui.item.ParkSize;
$("#hdndefaultLat").val(ui.item.value.split(',')[0]);
$("#hdndefaultLag").val(ui.item.value.split(',')[1]);
$("#hdnLat").val(ui.item.value.split(',')[0]);
$("#hdnLag").val(ui.item.value.split(',')[1]);
$("#hdnAutoPlaceId").val(ui.item.CityPark);
$("#autocomplete2").val(ui.item.placeName);
$("#autocomplete1").val(ui.item.label);
$("#autocomplete2").val(ui.item.label);
$("#mainContent_hdnSearchtype").val(ui.item.logo);
$("#hdnSearchType").val(ui.item.logo);
MapboxPlaceid = ui.item.Placeid;
if (ui.item.placeName != "" && ui.item.PlaceAlias == "") {
$("#hdnsearchPlaceAlias").val(0);
} else {
$("#hdnsearchPlaceAlias").val(1);
}
if ($("#hdnsearchPlaceAlias").val().toString() == "1") {
$("#hdnIsAutocompleteFillHome").val(1);
$("#divPlaceinformation").css("z-index", 1300);
$("#divPlaceinformation .modal-body").html(' ' + ui.item.placeName + ',' + ' ');
$("#divPlaceinformation .modal-title").html("Information");
$('#divPlaceinformation').modal();
return false;
}
//$("#autocomplete2").val()
// $("#btn_search").click();
Allevent();
},
response: function(event, ui) {
if (ui.content[0] == undefined) {
$("#hdnLat").val('');
$("#hdnLag").val('');
} else {
ChnageDragandZoom = false;
$("#hdnLat").val(ui.content[0].value.split(',')[0]);
$("#hdnLag").val(ui.content[0].value.split(',')[1]);
$("#hdncustomautocomplete").val(ui.content[0].label);
$("#autocomplete1").val($("#autocomplete2").val());
}
},
focus: function(event, ui) {
$("#hdnLat").val(ui.item.value.split(',')[0]);
$("#hdnLag").val(ui.item.value.split(',')[1]);
this.value = ui.item.label;
$("#hdncustomautocomplete").val(this.value);
$("#autocomplete2").val(ui.item.placeName);
event.preventDefault(); // Prevent the default focus behavior.
},
minLength: 2
}).data("ui-autocomplete")._renderItem = function(ul, item) {
if (item.PlaceAlias != "" || item.PlaceAlias == undefined) {
return $('<li class="ui-menu-item-with-icon"></li>').data("item.autocomplete", item).append('<a class="underline"><span class="' + item.logo + '-icon"></span> ' + item.label + '</a>').appendTo(ul);
} else {
return $('<li class="ui-menu-item-with-icon"></li>').data("item.autocomplete", item).append('<a class="underline"><span class="' + item.logo + '-icon"></span> ' + item.label + '</a>').appendTo(ul);
}
};
}
function fnTourActivity() {
var placeid = GetParameterValues('placeid');
if (window.location.href.toLowerCase().indexOf('advancesearch') == -1) {
if ($('#hdnLat').val() == "") {
$('#hdnLat').val('0');
$('#hdnLag').val('0');
}
} else {
if ($("#hdnLat").val() == "") {
$("#messageBoxLightbox2 .modal-body").html("Place not Found");
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
$(".ui-widget-content").css("display", "none");
return false;
}
}
var urlname = baseurlmain + '/Facilities/CascadingDropdown.asmx/GoCamping';
var param = {
currentdate: $('#hdnArrivalDate').val(),
nights: $('#hdnNights').val(),
hdnLat: $('#hdnLat').val(),
hdnLag: $('#hdnLag').val(),
landingaddress: $('#autocomplete2').val()
};
$.ajax({
url: urlname,
data: JSON.stringify(param),
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
success: function(data) {
var result = data.d;
if ($('#ddlFacilityCategory').val() == '1' || $('#ddlFacilityCategory').val() == '2' || $('#ddlFacilityCategory').val() == 'trail') {
if (window.location.href.toLowerCase().indexOf('advancesearch') == -1) {
window.location.href = baseurlmain + '/Facilities/AdvanceSearch.aspx';
}
}
if ($('#ddlFacilityCategory').val() == '6') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
var urlname = baseurlmain + '/Memberships/AdvanceCustomerMemberships.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
OpenLoginBox(iscustomernull, true, urlname, '');
}
if ($('#ddlFacilityCategory').val() == '3') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
//var urlname = baseurlmain + '/Activities/AdvanceTourAndActivities.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
var urlname = baseurlmain + '/Activities/ProgramsAndTours.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
window.location.href = urlname;
}
if ($('#ddlFacilityCategory').val() == 'anonuevotourtour') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
//var urlname = baseurlmain + '/Activities/AdvanceTourAndActivities.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
var urlname = baseurlmain + '/Activities/ProgramsAndTours.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
window.location.href = urlname;
}
if ($('#ddlFacilityCategory').val() == '4') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
//var urlname = baseurlmain + '/Activities/AdvanceTourAndActivities.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
var urlname = baseurlmain + '/Activities/HearstCastleTours.aspx';
window.location.href = urlname;
}
if ($('#ddlFacilityCategory').val() == 'hearstsansimeontour') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
//var urlname = baseurlmain + '/Activities/AdvanceTourAndActivities.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
var urlname = baseurlmain + '/Activities/ProgramsAndTours.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
window.location.href = urlname;
}
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
//alert(textStatus);
}
});
}
$('#btn_search').click(function() {
var placeid = GetParameterValues('placeid');
if (window.location.href.toLowerCase().indexOf('advancesearch') == -1) {
if ($('#hdnLat').val() == "") {
$('#hdnLat').val('0');
$('#hdnLag').val('0');
}
} else {
if ($("#hdnLat").val() == "") {
$("#messageBoxLightbox2 .modal-body").html("Place not Found");
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
$(".ui-widget-content").css("display", "none");
return false;
}
}
var urlname = baseurlmain + '/Facilities/CascadingDropdown.asmx/GoCamping';
var param = {
currentdate: $('#hdnArrivalDate').val(),
nights: $('#hdnNights').val(),
hdnLat: $('#hdnLat').val(),
hdnLag: $('#hdnLag').val(),
landingaddress: $('#autocomplete1').val()
};
$.ajax({
url: urlname,
data: JSON.stringify(param),
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
success: function(data) {
var result = data.d;
if ($('#ddlactivity').val() == 'camping' || $('#ddlactivity').val() == 'dayuse' || $('#ddlactivity').val() == 'trail') {
if (window.location.href.toLowerCase().indexOf('advancesearch') == -1) {
window.location.href = baseurlmain + '/Facilities/AdvanceSearch.aspx';
}
}
if ($('#ddlactivity').val() == 'permit') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
var urlname = baseurlmain + '/Memberships/AdvanceCustomerMemberships.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
OpenLoginBox(iscustomernull, true, urlname, '');
}
if ($('#ddlactivity').val() == 'tour') {
placeid = result;
placeid = $("#hdnAutoPlaceId").val();
var urlname = baseurlmain + '/Activities/AdvanceTourAndActivities.aspx?placeid=' + placeid + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
window.location.href = urlname;
}
},
error: function(XMLHttpRequest, textStatus, errorThrown) {
//alert(textStatus);
}
});
});
function GetParameterValues(param) {
var url = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for (var i = 0; i < url.length; i++) {
var urlparam = url[i].split('=');
if (urlparam[0] == param) {
return urlparam[1];
}
}
}
function removeAria() {
// make the rest of the page accessible again:
$("#dp-container").removeAttr('aria-hidden');
$("#skipnav").removeAttr('aria-hidden');
$(".ui-datepicker-trigger").focus();
}
</script>
<div id="divSecoundSearch" style="display: none;">
</div>
</div>
</div>
</div>
<!-- ======= Ajay =============== -->
<!-- ======= Ajay =============== -->
<header id="header" class="main_header" role="banner">
<div id="divNormalMenu" class="header-wrapper">
<a href="#main" class="skiptomaincontent">Skip to main content</a>
<div class="container">
<div class="logo pull-left">
<a href="https://www.mdcnatureshop.com/MDCWebHome/Default.aspx">
<img src="https://www.mdcnatureshop.com/MDCWebHome/themes/MDC/A_logo.png" alt="Missouri Department of Conservation">
</a>
</div>
<div class="all_data_right">
<div id="divheader" class="header-right">
<!-- ======================= NEW ======================= -->
<div class="main_menu_top">
<nav class="navbar navbar-expand-md ">
<button class="navbar-toggler" aria-label="Hamburger Menu" type="button" data-toggle="collapse" data-target="#navbar-collapse">☰</button>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav ml-auto">
<li><a rel="HOME" id="menu_1" href="https://www.mdcnatureshop.com/MDCWebHome/Default.aspx" aria-label="HOME" class="h_right_menu_toggel">HOME</a><span>|</span></li>
<li><a rel="ONLINE STORE" id="menu_5" href="https://www.mdcnatureshop.com/MDCWebHome/Merchandise/MerchandiseSale.aspx" aria-label="ONLINE STORE" class="h_right_menu_toggel">ONLINE STORE</a><span>|</span></li>
</ul>
</div>
</nav>
</div>
<!-- ======================= OLd ======================= -->
<div class="main_menu_top" style="display: none;">
<div class="navbar navbar-default" role="navigation">
<!-- ============ -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse" title="click to open menu">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- ============ -->
<div class="collapse navbar-collapse" id="navbar_menu">
<ul class="nav navbar-nav" style="display: block;">
<li style="display: none;">
<a href="javascript:void(0);" class="h_right_menu_toggel">Search</a>
<div id="divListSearchOnly" class="header-right-menu-modal dropdown-menu animated fadeInUp">
<div class="col-md-6 form-group">
<label for="autpser" style="display: none;">autpser</label>
<input type="text" class="form-control search-box glyphicon glyphicon-search" placeholder="Looking For" id="autpser">
<input type="hidden" id="inpLookingFor">
</div>
<div class="col-md-2 form-group">
<a href="#" onclick="return false;" class="btn btn-primary pull-left" id="btnGoogleGo">Go</a>
</div>
<div class="col-md-2 form-group">
<a href="#" class="btn btn-primary pull-left" id="btnClearGoogleData" onclick="javascript:clearAllGoogleData();">Clear</a>
</div>
</div>
<div class="clearfix"></div>
</li>
</ul>
</div>
<!-- ============ -->
</div>
</div>
<!-- ======================= OLd ======================= -->
</div>
<div class="open_header_box_mobile">
<div class="header-shopping-cart">
<ul>
<!-- ==================== -->
<li><a href="#" data-toggle="modal" class="btn btn-primary" id="aLogin" role="button"><span style="display: block;">LOGIN</span></a></li>
<li><a href="https://www.mdcnatureshop.com/MDCWebHome/Customers/NewCustomer.aspx" id="divCreateNewAccount" class="btn btn-primary createcustomer"><span style="display: block;">CREATE ACCOUNT</span></a></li>
<!-- ==================== -->
<li><a id="linkhypshopping2" aria-label="Go to shopping cart page" data-toggle="tooltip" data-placement="bottom" class="cart_icon_top_blue" onclick="return OpenLoginBox(iscustomernull,true,baseurlmain+'/Customers/ShoppingCart.aspx','');" title="" href="javascript:__doPostBack('ctl00$ctl00$linkhypshopping2','')" data-original-title="Go to shopping cart page">
<span style="display: none;">Cart icon</span> <i class="fa fa-shopping-cart"></i>
</a></li>
</ul>
</div>
<div id="divcustname" class="header-user-name">
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
</header>
<div class="top_notification_part alert alert-info alert-dismissible" id="divNotificationMessage" style="display: none;">
<a href="#" class="close" data-dismiss="alert" title="close">×</a> You have a reservation arriving on the today’s date, So would you like to pre check in for your reservation. Please click here.<br>
<a href="Customers/CustomerReservations.aspx" class="pre_check_btn">Pre Check In</a>
</div>
<!-- ======= Ajay =============== -->
<!-- ======= Ajay =============== -->
<div>
</div>
<div class="cloudTip_bg" id="cloudTip_bg" style="display: none;">
<div class="cloudTip" id="cloudTip">
<div id="cloudTipContent"> No Resource </div>
</div>
</div>
<main role="main">
<div id="main" style="visibility: visible; height: 1136px; overflow: hidden;" class="all_page_hei_auto">
<div>
<div class="container">
</div>
<script src="scripts/ADADatePicker.js?v1.2.1" type="text/javascript" issidemenu="False" mindate="10/21/2022" maxdate="05/18/2023"></script>
<style>
#sidemenu {
position: absolute;
background: #eee;
width: 180px;
left: -181px;
top: -1px;
height: 298px;
padding: 10px;
border: 1px solid #000;
border-right: none;
}
#divMainSearchControl .col-md-2.pull-right.specific_search_home {
position: absolute;
top: 17px;
right: 0;
width: 100%;
}
#sidemenu ul {
padding: 0px;
margin: 0px;
}
#sidemenu ul li {
list-style: none;
font-size: 14px;
color: #333;
border-bottom: 1px solid #000;
padding: 5px 3px;
font-weight: 700;
}
#sidemenu ul li a {
color: #333;
}
.ui-widget-content {
border-radius: 0px;
}
@media only screen and (max-width: 767px) {
#sidemenu {
width: 100%;
left: 0;
top: -155px;
border: 1px solid #000;
border-bottom: none;
height: auto !important;
}
div#ui-datepicker-div {
top: 494px !important;
left: 25px !important;
}
}
@media only screen and (max-width: 900px) and (min-width: 768px) {
div#ui-datepicker-div {
left: 470px !important;
}
}
</style>
<div>
</div>
<input type="hidden" name="ctl00$ctl00$mainContent$indexValue" id="mainContent_indexValue">
<!-- ===========30-03-2016============== -->
<div id="mainContent_divDefaultSearchpart" class="sim_banner">
<div class="main_bg_img">
<img src="https://www.mdcnatureshop.com/MDCWebHome/themes/MDC/simple_banner.jpg" alt="Missouri Department of Conservation" title="Banner Image">
</div>
<div class="sim_banner_data_box">
<h1 class="sim_banner_tit">Serving Nature and You</h1>
</div>
</div>
<div>
<div class="row" style="display: none;">
<div class="col-md-4 col-xs-6">
<div class="banner_search_box_main pin_icn_input">
<input name="ctl00$ctl00$mainContent$txtSearchparkautocompletehearst" id="txtSearchparkautocompletehearst" placeholder="Enter City or Park Name" title="Enter City or Park Name" type="text" value="">
<a class="sub_btn_serch" href="javascript:void(0);"><span style="display: none;">cart_icon_top_blue</span></a>
<div class="clearfix"></div>
</div>
</div>
<div class=" col-md-8">
<div class="home_btn_go txt_right">
<a href="javascript:void(0);" onclick="ValidationHearstCastle();" title="Click on Go Button">Search</a>
</div>
</div>
</div>
</div>
<div>
<div class="row" style="display: none;">
<div class="col-md-4 col-xs-6">
<div class="banner_search_box_main pin_icn_input">
<input name="ctl00$ctl00$mainContent$txtSearchparkautocompleteother" id="txtSearchparkautocompleteother" placeholder="Enter City or Park Name" title="Enter City or Park Name" type="text" value="">
<a class="sub_btn_serch" href="javascript:void(0);"><span style="display: none;">cart_icon_top_blue</span></a>
<div class="clearfix"></div>
</div>
</div>
<div class="col-md-8">
<div class="home_btn_go txt_right">
<a href="javascript:void(0);" onclick="ValidationTour();" title="Click on Go Button">Search</a>
</div>
</div>
</div>
</div>
<!-- ========================= -->
<div id="mainContent_plcBanner"></div>
<div class="modal fade" id="informationBox" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content" tabindex="-1">
<div id="mainContent_mainmessage" class="modal-header">
<h1 class="modal-title" id="myModalLabel1" aria-level="1">test</h1>
<button type="button" class="close" data-dismiss="modal" title="Credentials close button"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
</div>
<div onclick="javascript:void(0);" class="modal-body" id="divmodalbody1" tabindex="-1" aria-live="assertive">
</div>
<div class="modal-footer">
<a href="javascript:void(0);" id="btninfoclose" class="btn btn-default" data-dismiss="modal" title="">OK</a>
</div>
</div>
</div>
</div>
<!-- Search Parameter -->
<div class="container" style="margin-top: 10px; padding-top: 10px;">
<!-- End of Search Parameter -->
<div>
</div>
<div class="top_data_left">
</div>
<input type="hidden" name="ctl00$ctl00$mainContent$homeContent$indexValue" id="mainContent_homeContent_indexValue">
<div>
<div class="row">
<div class="col-md-12">
</div>
</div>
<div class="row1">
<!-- <div class="col-md-12" style="text-align: center">
<p>
<h4><b>Hey, look! New website! </b></H4>
We’re proud of this new website. It will work better on your mobile devices, and has some great new features like a statewide
campsite search. For the next couple of weeks while we’re transitioning everything over to this one, you can choose which version of the site you’d
prefer to use. Want to stick with the old site for a bit longer?
<a href="https://reservations2.usedirect.com/MinnesotaWebHome/"><u>Switch back to it here </u></a>. To share your comments about it, <a href="mailto: reservations.dnr@state.mn.us"><u> email us.</u></a>
</p>
<br />
</div> -->
</div>
</div>
<style>
/*.custom-combobox-toggle {
position: absolute;
top: 0;
bottom: 0;
margin-left: 2px;
padding: 0;
box-shadow: 1px 2px 2px #666;
border-radius: 0px;
}*/
#ui-datepicker-div {
z-index: 999 !important;
}
.content-area {
padding-top: 20px;
}
#ui-id-1.ui-menu .ui-menu-item a {
display: block;
padding: 4px 0 4px 16px !important;
}
/*#ui-id-1.ui-menu .ui-menu-item a:last-child {
border: none !important;
padding-bottom: 0 !important;
margin-bottom: 0 !important;
}*/
#ui-id-1.ui-menu .ui-menu-item-with-icon a.underline {
padding-left: 20px;
display: block;
}
#ui-id-1.ui-menu .ui-menu-item-with-icon a.underline+a {
border-top: 1px solid #ccc !important;
padding-top: 3px;
}
#ui-id-1.ui-menu .ui-menu-item-with-icon a.ui-state-active {
border: none;
font-weight: 400;
padding: 4px 0 4px 16px !important;
margin: 0px;
}
#ui-id-1.ui-menu .ui-menu-item-with-icon a:hover {
background: #2f6ea4;
color: #fff;
}
.custom-combobox {
position: relative;
display: inline-block;
width: 100%;
}
.custom-combobox-toggle {
position: absolute;
top: 0;
bottom: 0;
margin-left: 2px;
padding: 0;
box-shadow: 1px 2px 2px #666;
border-radius: 0px;
}
.custom-combobox-input {
margin: 0;
padding: 5px 10px;
color: #333 !important;
font-weight: inherit;
box-shadow: 1px 2px 2px #666;
border-radius: 0px;
width: 93%;
}
</style>
<script type="text/javascript">
$(document).ready(function() {
var IsRDR = 'False';
if (IsRDR == "True") {
localStorage.removeItem('FilterData');
localStorage.removeItem('SaturnRDR');
localStorage.removeItem('HomePageSearchData');
localStorage.removeItem('IsMapshow');
localStorage.removeItem('MapLevelshow');
localStorage.removeItem('MapboxPlaceid');
localStorage.removeItem('IsMapboxParksize');
}
history.pushState(null, null, location.href);
window.onpopstate = function() {
history.go(1);
};
$(".mob_search_box").click(function() {
$(".main_serch_part_box").slideToggle("slow", function() {
if ($(".main_serch_part_box").is(':visible')) {
$(".mob_search_box").find('.mob_open_search').addClass('search_arrow_up');
} else {
$(".mob_search_box").find('.mob_open_search').removeClass('search_arrow_up');
}
});
});
$(".ava_btn a").click(function() {
$(".open_data_circle_box").slideToggle();
});
$("#txtSearchparkautocomplete").attr("placeholder", 'Enter Place Name');
$("#txtSearchparkautocomplete").keydown(function(event) {
if (event.keyCode == 13) {
if ($("#txtSearchparkautocomplete").val() != "") {
event.preventDefault();
if ($("#hdnIsAutocompleteFill").val() == "0") {
$("#messageBoxLightbox2").css("z-index", 1300);
//$("#messageBoxLightbox2 .modal-body").html(Changesplacemessage);
$("#messageBoxLightbox2 .modal-body").html('Please enter valid city or park name.');
$("#messageBoxLightbox2 .modal-title").html("Information");
$('#messageBoxLightbox2').modal();
return false;
}
return false;
}
}
});
$(".cross_icn_inp").click(function() {
$("#txtSearchparkautocomplete").val("");
$("#hdnIsAutocompleteFill").val(0);
});
$("#myHref").click(function() {
$("#myModal").on('shown.bs.modal', function() {
$(this).find('.modal-content').focus();
});
$("#myModal").modal();
return false;
});
$("#ahomePageLogins").show();
$("#ahomePageGreatWalks").hide();
$("#linkCustomer").hide();
$("#AdvanceMainSearch_txtArrivalDate").val($("#mainContent_txtArrivalDate").val());
// $("#hdncustomautocomplete").val($('#txtSearchparkautocomplete').val());
var AutosetParkName = $('#txtSearchparkautocomplete').val();
$('#txtSearchparkautocomplete').on('blur', function() {
if ($("#hdncustomautocomplete").val() != "") AutosetParkName = $("#hdncustomautocomplete").val();
$("#txtSearchparkautocomplete").val(AutosetParkName);
});
$('#txtSearchparkautocomplete').on('focus', function() {
if ($("#hdncustomautocomplete").val() != "") {
AutosetParkName = $("#hdncustomautocomplete").val();
$("#txtSearchparkautocomplete").removeAttr("aria-label");
$("#txtSearchparkautocomplete").val(AutosetParkName);
} else {
AutosetParkName = $("#txtSearchparkautocomplete").val();
$("#txtSearchparkautocomplete").val("");
$("#txtSearchparkautocomplete").attr("aria-label", "Enter City or Park Name");
}
});
if (!mapboxgl.supported()) {
alert('Your browser does not support Mapbox GL');
}
});
//$('form').keypress(function (e) {
// return e.keyCode != 13;
//});
$("form input[type=text]").keypress(function(e) {
return e.keyCode != 13;
});
$("form #divHomeTypesCategory").keypress(function(e) {
return e.keyCode != 13;
});
//----------------------------------------------finish----------------------------------------
//$(document).ready(function () {
// if (parkFinderArray != undefined || parkFinderArray != "")
// parkFinderArray = [];
//});
</script>
<script src="scripts/index.js" type="text/javascript"></script>
<script type="text/javascript">
var bodyElement = document.body;
var h1Element = document.getElementsByTagName('h1')[0];
if (mapboxgl.supported({
failIfMajorPerformanceCaveat: true
})) {
h1Element.innerHTML = 'supported';
bodyElement.className = 'fill-green';
} else if (mapboxgl.supported({
failIfMajorPerformanceCaveat: false
})) {
h1Element.innerHTML = 'supported with a major performance caveat';
bodyElement.className = 'fill-orange';
} else {
h1Element.innerHTML = 'not supported';
bodyElement.className = 'fill-red';
window.location.replace("DefaultWM.aspx");
}
</script>
<script type="text/javascript">
jQuery(".heading-new").click(function() {
var active = '';
var selctor = $(this).attr('class');
var selctArr = selctor.split(' ');
if (selctArr.length > 1) {
active = selctArr[1];
}
if (active == '') {
$(this).addClass("active");
} else {
$(this).removeClass("active");
}
jQuery(this).next(".content").slideToggle(500);
});
$("#txtSearchparkautocomplete").attr("aria-autocomplete", "list");
</script>
</div>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/jsSortingAlias.js" type="text/javascript"></script>
<script type="text/javascript" src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.js"></script>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.21.0/mapbox-gl.css" rel="stylesheet">
<script type="text/javascript" src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v1.3.0/mapbox-gl-geocoder.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v1.3.0/mapbox-gl-geocoder.css" type="text/css">
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/CommonFunction.js" type="text/javascript"></script>
<script src="https://www.mdcnatureshop.com/MDCWebHome/scripts/moment.min.js" type="text/javascript"></script>
<script type="text/javascript">
isMapbox = 'True';
$("#hdnScreenresolution").val($(window).width());
function setDatePicker_master(futureBookingStartDate, futureBookingEndDate) {
futureBookingStartDate = '10/21/2022 12:00:00 AM';
futureBookingEndDate = '05/18/2023 12:00:00 AM';
var date1 = new Date(futureBookingStartDate);
//date1.setDate(date1.getDate() + 1);
date1.setHours(0, 0, 0, 0);
var date2 = new Date(futureBookingEndDate);
date2.setHours(0, 0, 0, 0);
//date2.setMonth(date2.getMonth() + 13, 0);
//date2.setDate(date1.getDate());
$(".dateforgrid").datepicker({
minDate: date1,
maxDate: date2,
dateFormat: 'mm/dd/yy',
onSelect: function(selected, evnt) {
$("#").val(selected);
}
});
$(".dateforgrid1").datepicker({
minDate: date1,
maxDate: date2,
dateFormat: 'mm/dd/yy',
onSelect: function(selected, evnt) {
$("#").val(selected);
}
});
}
if (isMapbox.toLowerCase() == "false") {
$(function() {});
function setDatePicker_master(futureBookingStartDate, futureBookingEndDate) {
var date1 = new Date(futureBookingStartDate);
//date1.setDate(date1.getDate() + 1);
date1.setHours(0, 0, 0, 0);
var date2 = new Date(futureBookingEndDate);
date2.setHours(0, 0, 0, 0);
//date2.setMonth(date2.getMonth() + 13, 0);
//date2.setDate(date1.getDate());
$(".dateforgrid1").datepicker({
minDate: date1,
maxDate: date2,
onSelect: function(selected, evnt) {
$("#").val(selected);
}
});
}
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(function(p) {});
} else {
alert('Geo Location feature is not supported in this browser.');
}
function GetLocationName(lat, lang) {
var lLatLng = new window.google.maps.LatLng(lat, lang);
cgeocoder = new window.google.maps.Geocoder();
cgeocoder.geocode({
'latLng': lLatLng
}, function(results, status) {
if (status == window.google.maps.GeocoderStatus.OK) {
var ne = results[0].geometry.viewport.getNorthEast();
var sw = results[0].geometry.viewport.getSouthWest();
var west = sw.lng();
var east = ne.lng();
var south = sw.lat();
var north = ne.lat();
var placeAddress = FormatedAddress(results[0].formatted_address);
var country = "";
for (var i = 0; i < results[0].address_components.length; i++) {
var addressType = results[0].address_components[i].types[0];
if (addressType == 'country') {
country = results[0].address_components[i]["short_name"];
break;
}
}
$("#hdndefaultLat").val(lat);
$("#hdndefaultLag").val(lang);
$("#txtDefaultautocomplete").val(placeAddress);
//$("#frmLandingSearch").submit();
}
});
}
function FormatedAddress(locationDetails) {
var address = "";
var value = locationDetails.split(",");
var count = value.length;
var country = value[count - 1];
var state = value[count - 2];
var city = value[count - 3];
var add1 = value[count - 4];
var add2 = value[count - 5];
var add3 = value[count - 6];
if (add1 != "" && add1 != undefined) {
address += add1.replace(/['"]+/g, '').trim() + ",";
}
if (add2 != "" && add2 != undefined) {
address += add2.replace(/['"]+/g, '').trim() + ",";
}
if (add3 != "" && add3 != undefined) {
address += add3.replace(/['"]+/g, '').trim() + ",";
}
if (city != "" && city != undefined) {
address += city.replace(/['"]+/g, '').trim() + ",";
}
if (state != "" && state != undefined) {
state = state.trim();
var pin = state.split(" ");
if (pin.length > 1) {
var pinCode = pin[pin.length - 1];
state = state.replace(pinCode, ' ');
}
address += state.replace(/['"]+/g, '').trim() + ",";
}
if (country != "" && country != undefined) {
country = country.trim();
address += country.replace(/['"]+/g, '').trim();
}
return address;
}
}
</script>
<script type="text/javascript">
$(document).ready(function() {
var hdnsearchplaceid = $("#hdnsearchplaceid").val();
var hdnparksize = $("#hdnparksize").val();
var hdndefaultLat = $("#hdndefaultLat").val();
var hdndefaultLag = $("#hdndefaultLag").val();
var hdnAutoPlaceId = $("#hdnAutoPlaceId").val();
var hdnMasterPlaceId = $("#hdnMasterPlaceId").val();
var txtSearchparkautocomplete = $("#txtSearchparkautocomplete").val();
var txtSearchparkautocompletehearst = $("#txtSearchparkautocompletehearst").val();
var txtSearchparkautocompleteother = $("#txtSearchparkautocompleteother").val();
var txtSearchparkautocompleteboat = $("#txtSearchparkautocompleteboat").val();
var mainContent_hdnSearchtype = $("#mainContent_hdnSearchtype").val();
var txtDefaultautocomplete = $("#txtDefaultautocomplete").val();
var hdnSearchPlaceName = $("#hdnSearchPlaceName").val();
var hdnsearchPlaceAlias = $("#hdnsearchPlaceAlias").val();
var IsMobileBrowser = 'False';
$("#ddlHomeNights").attr('title', 'Night');
$(".sub_btn_serch").click(function() {
$("#hdnsearchplaceid").val(hdnsearchplaceid);
$("#hdnparksize").val(hdnparksize);
$("#hdndefaultLat").val(hdndefaultLat);
$("#hdndefaultLag").val(hdndefaultLag);
$("#hdnAutoPlaceId").val(hdnAutoPlaceId);
$("#hdnMasterPlaceId").val(hdnMasterPlaceId);
$("#txtSearchparkautocomplete").val(txtSearchparkautocomplete);
$("#txtSearchparkautocompletehearst").val(txtSearchparkautocompletehearst);
$("#txtSearchparkautocompleteother").val(txtSearchparkautocompleteother);
$("#txtSearchparkautocompleteboat").val(txtSearchparkautocompleteboat);
$("#mainContent_hdnSearchtype").val(mainContent_hdnSearchtype);
$("#txtDefaultautocomplete").val(txtDefaultautocomplete);
$("#hdnSearchPlaceName").val(hdnSearchPlaceName);
$("#hdncustomautocomplete").val("");
$("#ariaTxtSearchparkautocompleteTitle").html("your city and park name has been reset.");
var o = {
placeId: 0,
CategorieId: 0
};
$.ajax({
type: 'POST',
cache: false,
url: baseurlmain + '/Facilities/SearchViewUnitAvailabity.aspx/GetUnitCategoryList',
data: JSON.stringify(o),
contentType: 'application/json; charset=utf-8',
success: function(data) {
$('#ddl_homeCategories').empty();
$('#ddl_homeCategories').append($('<option>', {
value: 0
}).text("Select Rental Type"));
for (var i = 0; i < data.d.length; i++) {
$('#ddl_homeCategories').append($('<option>', {
value: data.d[i].Key
}).text(data.d[i].Value));
}
}
});
var q = {
placeId: 0,
CampingId: 0
};
$.ajax({
type: 'POST',
cache: false,
url: baseurlmain + '/Facilities/SearchViewUnitAvailabity.aspx/GetCampingUnitList',
data: JSON.stringify(q),
contentType: 'application/json; charset=utf-8',
success: function(data) {
$('#ddl_homeCampingUnit').empty();
$('#ddl_homeCampingUnit').append($('<option>', {
value: 0
}).text("Select Camping Equip."));
for (var i = 0; i < data.d.length; i++) {
$('#ddl_homeCampingUnit').append($('<option>', {
value: data.d[i].Key
}).text(data.d[i].Value));
}
}
});
var p = {
placeId: 0
};
$.ajax({
type: 'POST',
cache: false,
url: baseurlmain + "/Facilities/CascadingDropdown.asmx/GetmaxVehiclelengthV2Plus",
data: JSON.stringify(p),
contentType: 'application/json; charset=utf-8',
success: function(data) {
var ttl = 0;
$('#ddl_homeLength').empty();
$('#ddl_homeLength').append($('<option>', {
value: 0
}).text("Trailer Length"));
for (var i = 0; i < data.d; i++) {
ttl += 10;
$('#ddl_homeLength').append($('<option>', {
value: ttl
}).text('>' + ' ' + ttl));
i = ttl;
}
}
});
$("#ddlCamping").hide();
$("#ddlTrailer").hide();
$("#ddl_homeCampingUnit").hide();
$("#ddl_homeLength").hide();
$("#ddl_homeLength").val("0");
$("#ddl_homeCampingUnit").val("0");
$("#divHomeTypesCategory").hide();
$("#ddl_homeCategories").val("0");
});
PrecartModifyRecord = false;
$('.fancybox').fancybox();
$(".other_search_box").hide();
$("#SelectMapBlock").hide();
$('#mainContent_swich_on').attr("checked", true);
if (IsMobileBrowser == 'True') {
$("#menu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearchm.aspx");
$("#fmenu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearchm.aspx");
} else {
$("#menu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearch.aspx");
$("#fmenu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearch.aspx");
}
//$("#btninfoclose").click(function () {
// $("#btnSearch").click();
// return false;
//});
$("#txtSearchparkautocomplete").val("");
$("#ddlHomeNights").val("0");
HomePageSearchData = sessionStorage.getItem('HomePageSearchParameter');
if (HomePageSearchData != null) {
var homeSearchdata = JSON.parse(HomePageSearchData);
if (homeSearchdata.Id == 1) {
homeSearchdata.Id = 0;
$("#mainContent_txtArrivalDate").val(homeSearchdata.StartDate);
$("#ddlHomeNights").val(homeSearchdata.Nights);
if (homeSearchdata.PlaceName != "") {
$("#txtSearchparkautocomplete").val(homeSearchdata.PlaceName);
}
if (homeSearchdata.UnitCategoryId != 0) {
$("#ddl_homeCategories").val(homeSearchdata.UnitCategoryId);
}
if (homeSearchdata.SleepingUnitId != 0) {
$("#ddl_homeCampingUnit").val(homeSearchdata.SleepingUnitId);
$("#ddlCamping,#ddl_homeCampingUnit").show();
}
if (homeSearchdata.MinVehicleLength != 0) {
$("#ddl_homeLength").val(homeSearchdata.MinVehicleLength);
$("#ddlTrailer,#ddl_homeLength").show();
}
if (homeSearchdata.UnitTypesGroupIds != "") {
$("#hdnHomeUnitTypeCategory").val(homeSearchdata.UnitTypesGroupIds);
BindHomeUnitTypeCategoryWithPlace(homeSearchdata.placeId)
if (homeSearchdata.placeId > 0) {
BindHomeUnitTypeCategoryWithPlace(homeSearchdata.placeId);
} else {
BindHomeUnitTypeCategory();
}
$("#divHomeTypesCategory").show();
}
if (homeSearchdata.Latitude != "") {
$("#hdndefaultLat").val(homeSearchdata.Latitude);
}
if (homeSearchdata.Longitude != "") {
$("#hdndefaultLag").val(homeSearchdata.Longitude);
}
if (homeSearchdata.Searchby != "") {
$("#mainContent_hdnSearchtype").val(homeSearchdata.Searchby);
}
sessionStorage.removeItem('HomePageSearchParameter');
//sessionStorage.setItem('HomePageSearchParameter', JSON.stringify(homeSearchdata));
}
}
});
function isDate(txtStartDate) {
var currVal = txtStartDate;
if (currVal == '') return false;
var rxDatePattern = /^(\d{1,2})(\/)(\d{1,2})(\/)(\d{4})$/; //Declare Regex
var dtArray = currVal.match(rxDatePattern); // is format OK?
if (dtArray == null) return false;
//Checks for dd/mm/yyyy format.
//Checks for mm/dd/yyyy format.
dtMonth = dtArray[1];
dtDay = dtArray[3];
dtYear = dtArray[5];
if (dtMonth < 1 || dtMonth > 12) return false;
else if (dtDay < 1 || dtDay > 31) return false;
else if ((dtMonth == 4 || dtMonth == 6 || dtMonth == 9 || dtMonth == 11) && dtDay == 31) return false;
else if (dtMonth == 2) {
var isleap = (dtYear % 4 == 0 && (dtYear % 100 != 0 || dtYear % 400 == 0));
if (dtDay > 29 || (dtDay == 29 && !isleap)) return false;
}
return true;
}
function ValidationHearstCastle() {
var urlname = baseurlmain + '/Activities/HearstCastleTours.aspx';
window.location.href = urlname;
return false;
}
function ValidationTour() {
var urlname = baseurlmain + '/Activities/ProgramsAndTours.aspx';
window.location.href = urlname;
return false;
}
function ValidationBoat() {
var urlname = baseurlmain + '/Activities/ProgramsAndTours.aspx';
window.location.href = urlname;
return false;
}
function validation() {
//
//var placealiaspopup = $("#txtParkSearch").val();
var unitTypes = '';
$('#divUnitTypeFilter input:checked').each(function() {
var id = $(this).attr('id').split('_')[1];
unitTypes += id + ",";
});
$("#hdnHomeUnitTypeCategory").val(unitTypes);
if ($("#divMainSearchControl").is(":hidden")) {
$("#btnSearch").click();
return true;
}
var enableHomePageNoDateSearch = 'false';
if (enableHomePageNoDateSearch == "false") {
if ($("#mainContent_txtArrivalDate").val() == "" && ($("#ddlHomeNights").val() == "0" || $("#ddlHomeNights").val() == "")) {
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('Select Arrival Date' + '<br/> ' + 'Select stay length');
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
return false;
}
}
if (isDateFormat($("#mainContent_txtArrivalDate").val())) {} else {
if (enableHomePageNoDateSearch == "false") {
$("#hdnIsAutocompleteFillHome").val(1);
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('Select Arrival Date');
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
return false;
}
}
if (!CheckPastDate()) {
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('You can not select the past date.');
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
return false;
}
if (enableHomePageNoDateSearch == "false") {
if (($("#ddlHomeNights").val() == "0" || $("#ddlHomeNights").val() == "")) {
$("#hdnIsAutocompleteFillHome").val(1);
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('Select stay length');
$("#messageBoxLightbox2 .modal-title").html("Message");
$('#messageBoxLightbox2').modal();
return false;
}
}
//}
if ($("#hdnIsAutocompleteFillHome").val() == "0") {
$("#hdnIsAutocompleteFillHome").val(1);
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('Please enter valid city or park name.');
$("#messageBoxLightbox2 .modal-title").html("Information");
$('#messageBoxLightbox2').modal();
return false;
}
if ($("#hdnIsAutocompleteFillHome").val() == "0") {
$("#hdnIsAutocompleteFillHome").val(1);
$("#messageBoxLightbox2").css("z-index", 1300);
$("#messageBoxLightbox2 .modal-body").html('Please enter valid city or park name.');
$("#messageBoxLightbox2 .modal-title").html("Information");
$('#messageBoxLightbox2').modal();
return false;
}
if ($('#ddlFacilityCategory').val() == '1' || $('#ddlFacilityCategory').val() == '2') {
var error = "";
var dtRegex = new RegExp(/\b\d{1,2}[\/-]\d{1,2}[\/-]\d{4}\b/);
if ($('#ddlFacilityCategory').val() == 'permit') {
var urlname = baseurlmain + '/Memberships/AdvanceCustomerMemberships.aspx?placeid=' + $("#hdnMasterPlaceId").val() + '&lat=' + $("#hdnLat").val() + '&long=' + $("#hdnLag").val();
OpenLoginBox(iscustomernull, true, urlname, '');
return false;
}
if (enableHomePageNoDateSearch == "false") {
if ($("#mainContent_txtArrivalDate").val() == "") {
//$("#messageBoxLightbox2 .modal-title").html("Error");
error = 'Select Arrival Date<br/>';
//$('#messageBoxLightbox2').modal();
// return false;
}
if (($("#ddlHomeNights").val() == "0" || $("#ddlHomeNights").val() == "")) {
error += 'Select stay length';
}
}
var invalidateresult = false;
if ($("#mainContent_txtArrivalDate").val() != "") {
if (isDate($("#mainContent_txtArrivalDate").val())) {} else {
invalidateresult = true;
}
}
if (invalidateresult) {
error += '<br/>You have selected Invalid Date.';
}
if (error != "") {
$("#messageBoxLightbox2 .modal-title").html("Message");
$("#messageBoxLightbox2 .modal-body").html(error);
$("#messageBoxLightbox2").on('shown.bs.modal', function() {
$(this).find('.modal-content').focus();
});
$('#messageBoxLightbox2').modal();
return false;
} else {
$("#btnSearch").click();
}
return true;
} else {
$("#btnSearch").click();
}
$('#someButton').click(function() {
window.location.href = '/some/new/page';
return false;
});
}
$(".facilitycategory").click(function() {
if (this.id == "CampingandLoading") {
$("#ddlFacilityCategory").val(1);
} else {
if (this.id == "HearstCastle") {
// $("#ddlFacilityCategory").val(4);
} else if (this.id == "OtherTours") {
// $("#ddlFacilityCategory").val(3);
} else if (this.id == "BoatLaunch") {
// $("#ddlFacilityCategory").val(5);
}
}
});
$(".more_filter_home").click(function() {
if ($(".more_filter_home").attr("rel") == "0") {
$(".more_filter_home").attr("rel", "1");
$('#ddl_homeCategories').show();
$(".open_rental_type").show("slow");
} else {
$(".more_filter_home").attr("rel", "0");
$('#ddl_homeCampingUnit').hide();
$('#ddl_homeCategories').hide();
$('#ddl_homeLength').hide();
$('#ddl_homeCampingUnit').val("0");
$('#ddl_homeCategories').val("0");
$('#ddl_homeLength').val("0");
$(".open_rental_type").hide();
$("#ddlCamping").hide();
$("#ddlTrailer").hide();
}
});
function switchchange() {
if ($("#mainContent_swich_on")[0].checked == true) {
localStorage.setItem('IsMapshow', 1)
if (IsMobileBrowser == 'True') {
$("#menu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearchm.aspx");
$("#fmenu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearchm.aspx");
} else {
$("#menu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearch.aspx");
$("#fmenu_2").attr("href", baseurlmain + "/Facilities/AdvanceSearch.aspx");
}
$("#map_home").addClass("bluemap");
} else {
localStorage.setItem('IsMapshow', 0);
$("#menu_2").attr("href", baseurlmain + "/Facilities/SearchViewUnitAvailabity.aspx");
$("#fmenu_2").attr("href", baseurlmain + "/Facilities/SearchViewUnitAvailabity.aspx");
$("#map_home").removeClass("bluemap");
}
}
$(function() {
var dateformatsvalues = 'MM/DD/YYYY';
var futureBookingStartDate = '10/21/2022 12:00:00 AM';
var flexibleWeekStartDay = 6;
var FutureBookingEndDate = '05/18/2023 12:00:00 AM';
var totaldaysToday = '10/18/2022 12:00:00 AM';
var totaldays = 212;
var currDate = moment('10/20/2022 12:00:00 AM', dateformatsvalues);
var currday = currDate.weekday();
var Weekcntday = 0;
if (flexibleWeekStartDay < currday) {
Weekcntday = 7 - currday + flexibleWeekStartDay;
} else if (flexibleWeekStartDay == currday) {
Weekcntday = 0;
} else {
Weekcntday = (flexibleWeekStartDay - currday);
}
//var start = moment().add(1, 'days');//$('#mainContent_txtArrivalDate').val();//moment();
var start = moment(futureBookingStartDate, dateformatsvalues);
var end = moment(FutureBookingEndDate, dateformatsvalues);
// var end = moment().add(Weekcntday, 'days');
var thisweekendstart = Weekcntday;
var thisweekend = (Weekcntday + 1);
var Nextweekendstart = (Weekcntday == 7 ? 0 : (Weekcntday + 1));
var Nextweekend = (Weekcntday == 7 ? 0 : (Weekcntday + 1));
var CampsitesendDate = '05/18/2023';
setDatepickerMenu(moment(currDate).add((Weekcntday == 0 ? thisweekend : thisweekendstart), 'days').format(dateformatsvalues), moment(currDate).add((Nextweekendstart + 6), 'days').format(dateformatsvalues), moment().add((totaldays),
'days').format(dateformatsvalues), start.format(dateformatsvalues), $("#ddlHomeNights"), CampsitesendDate);
$(".adaDatePicker").bind("click", (function() {
$(".ui-datepicker-trigger").click();
}));
$('.adaDatePicker').keydown(function(e) {
if (e.keyCode == 13) {
$(".ui-datepicker-trigger").click();
}
});
$(".ui-datepicker-trigger").click(function() {
// $("a.ui-state-default.ui-state-active").focus();
setTimeout(function() {
if (IsMobileBrowser == 'True') {
//$('.ui-datepicker-close')[0].focus();
$('.datepickermenu')[0].focus();
//document.getElementById("divNormalMenu").scrollIntoView({ behavior: "smooth", block: "nearest", inline: "start" });
} else {
$('.ui-datepicker-close')[0].focus();
}
}, 100);
});
});
$('#horizontalTab').easyResponsiveTabs({
type: 'default', //Types: default, vertical, accordion
width: 'auto', //auto or any width like 600px
fit: true, // 100% fit in a container
closed: 'accordion', // Start closed if in accordion view
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $('#tabInfo');
var $name = $('span', $info);
$name.text($tab.text());
$info.show();
}
});
</script>
<script type="text/javascript">
$("#ddl_homeCampingUnit").change(function() {
var url = baseurlmain + "/Facilities/SearchViewUnitAvailabity.aspx/GetVehicleLength"
$.ajax({
type: "POST",
url: url,
data: JSON.stringify({
'Id': $("#ddl_homeCampingUnit").val()
}),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
if (data.d) {
$("#ddlTrailer").show();
$("#ddl_homeLength").show();
} else {
$("#ddlTrailer").hide();
$("#ddl_homeLength").hide();
$('#ddl_homeLength').val("0");
}
}
});
});
$("#ddl_homeCategories").change(function() {
var url = baseurlmain + "/Facilities/SearchViewUnitAvailabity.aspx/GetCampingEqip"
$.ajax({
type: "POST",
url: url,
data: JSON.stringify({
'Id': $("#ddl_homeCategories").val()
}),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
if (data.d) {
if ($("#ddl_homeCampingUnit option").length > 1) {
$("#ddlCamping").show();
$('#ddl_homeCampingUnit').show();
}
var placeId = $("#hdnsearchplaceid").val() == "" ? 0 : $("#hdnsearchplaceid").val();
if (placeId > 0) {
BindHomeUnitTypeCategoryWithPlace(placeId);
} else {
BindHomeUnitTypeCategory();
}
//$(".content.ans_box").show();
//$("#divHomeTypesCategory").show();
// $("#divHomeTypesCategory .heading-new").addClass("active");
} else {
$("#ddlCamping").hide();
$("#ddlTrailer").hide();
$('#ddl_homeCampingUnit').hide();
$('#ddl_homeLength').hide();
$('#ddl_homeCampingUnit').val("0");
$('#ddl_homeLength').val("0");
BindHomeUnitTypeCategory();
if ($("#divUnitTypeFilter").html() == "") {
$(".content.ans_box").css("display", "none");
$(".heading-new").removeClass("active");
$("#divHomeTypesCategory").css("display", "none");
} else {
//$("#divHomeTypesCategory .content.ans_box").show();
$("#divHomeTypesCategory").show();
//$("#divHomeTypesCategory .heading-new").addClass("active");
}
}
}
});
$("#divHomeTypesCategory").show();
});
</script>
<script type="text/javascript">
function BindHomeUnitTypeCategoryWithPlace(placeId) {
if (placeId == "") {
placeId = 0;
}
$("#divUnitTypeFilter").html('');
var categoryId = $("#ddl_homeCategories").val();
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: baseurlmain + "/Facilities/CascadingDropdown.asmx/GetPlaceWiseUnitTypesCategory",
data: JSON.stringify({
'categoryId': categoryId,
'placeId': placeId
}),
dataType: "json",
async: false,
success: function(data) {
var unitypes = data.d;
$.each(unitypes, function(key, unitype) {
var unitypeHTML = "";
unitypeHTML += "<div class='checkbox10'>";
if ($("#hdnHomeUnitTypeCategory").val() != "") {
if ($("#hdnHomeUnitTypeCategory").val().indexOf(unitype.value) != -1) {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype' checked>";
} else {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype'>";
}
} else {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype'>";
}
unitypeHTML += "<label for=unittype_" + unitype.value + ">";
unitypeHTML += unitype.name;
unitypeHTML += "</label>";
unitypeHTML += "</div>";
$("#divUnitTypeFilter").append(unitypeHTML);
});
if (unitypes.length == 0) {
$("#divHomeTypesCategory").hide();
} else {
$("#divHomeTypesCategory").show();
}
},
error: function(data) {}
});
}
function BindHomeUnitTypeCategory() {
$("#divUnitTypeFilter").html('');
var categoryId = $("#ddl_homeCategories").val();
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: baseurlmain + "/Facilities/CascadingDropdown.asmx/GetUnitTypesCategory",
data: JSON.stringify({
'CategoryId': categoryId
}),
dataType: "json",
async: false,
success: function(data) {
var unitypes = data.d;
$.each(unitypes, function(key, unitype) {
var unitypeHTML = "";
unitypeHTML += "<div class='checkbox10'>";
if ($("#hdnHomeUnitTypeCategory").val() != "") {
if ($("#hdnHomeUnitTypeCategory").val().indexOf(unitype.value) != -1) {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype' checked>";
} else {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype'>";
}
} else {
unitypeHTML += "<input id=unittype_" + unitype.value + " type='checkbox' class='unittype'>";
}
unitypeHTML += "<label for=unittype_" + unitype.value + ">";
unitypeHTML += unitype.name;
unitypeHTML += "</label>";
unitypeHTML += "</div>";
$("#divUnitTypeFilter").append(unitypeHTML);
});
if (unitypes.length == 0) {
$("#divHomeTypesCategory").hide();
} else {
$("#divHomeTypesCategory").show();
}
},
error: function(data) {}
});
}
function isDateFormat(txtStartDate) {
var currVal = txtStartDate;
if (currVal == '') return false;
var rxDatePattern = /^(\d{1,2})(\/)(\d{1,2})(\/)(\d{4})$/; //Declare Regex
var dtArray = currVal.match(rxDatePattern); // is format OK?
if (dtArray == null) return false;
//Checks for dd/mm/yyyy format.
//Checks for mm/dd/yyyy format.
dtMonth = dtArray[1];
dtDay = dtArray[3];
dtYear = dtArray[5];
if (dtMonth < 1 || dtMonth > 12) return false;
else if (dtDay < 1 || dtDay > 31) return false;
else if ((dtMonth == 4 || dtMonth == 6 || dtMonth == 9 || dtMonth == 11) && dtDay == 31) return false;
else if (dtMonth == 2) {
var isleap = (dtYear % 4 == 0 && (dtYear % 100 != 0 || dtYear % 400 == 0));
if (dtDay > 29 || (dtDay == 29 && !isleap)) return false;
}
return true;
}
function TablClickRedirection(url, id) {
if (id != "1") {
window.location.href = url;
}
}
//---------------------------------------------de-------------------------------------------
//=========Added by Poonam Pate for Create dropdown for Search========
$("#txtSearchparkautocomplete").keydown(function(e) {
if (e.key === 'Tab' || e.keyCode === 9) {
$(".ui-datepicker-trigger").click()
}
});
$("#ddlHomeNights").keydown(function(e) {
if (e.key === 'Tab' || e.keyCode === 9) {
if (e.shiftKey) {
$(".ui-datepicker-trigger").click()
}
}
});
function CheckPastDate() {
var selectedDate = new Date();
var futureBookingStartDate = '10/21/2022 12:00:00 AM';
var dateFormat = 'en-US'
if (dateFormat == "en-CA" || dateFormat == "fr-CA") {
var sdate = $("#mainContent_txtArrivalDate").val().split("/");
var fdate = futureBookingStartDate.split("/");
selectedDate = new Date(sdate[1] + "/" + sdate[0] + "/" + sdate[2]);
futureBookingStartDate = new Date(fdate[1] + "/" + fdate[0] + "/" + fdate[2]);
} else {
selectedDate = new Date($("#mainContent_txtArrivalDate").val());
futureBookingStartDate = new Date(futureBookingStartDate);
}
if (futureBookingStartDate > selectedDate) {
return false;
}
return true;
}
</script>
</div>
</div>
</main>
</div>
<script type="text/javascript">
//<![CDATA[
setDatePicker_master('10/21/2022', '05/18/2023'); //]]>
</script>
<script type="text/JavaScript" language="javascript"> $($('#header .container .logo a')[0]).focus();</script>
<script type="text/javascript">
//<![CDATA[
setDatePicker_home('10/21/2022', '05/18/2023'); //]]>
</script>
</form>
Text Content
test Use arrow keys to navigation on dates Select date SUPPORTED WITH A MAJOR PERFORMANCE CAVEAT ×Close OK TEST ×Close Close INFORMATION × No Resource Extend Time Let cart expire CREATE NOTIFICATION × From Date To Date Facilities Unit Type Preferred Contact Method Required ADA Sites Save Back CREDENTIALS × Existing Customer In order to make a purchase please log in. Once you log in, you will also be able to review and modify your account information as needed. Should you need to recover your account or change your password, the new password will need to be a mix of upper and lower case characters, numbers, and special characters. NEW CUSTOMER Please create an account to make purchases online. Email Address Password (case sensitive) Booking Agent New Password Confirm New Password Sign In Save and Log In Forgot Password? NEW CUSTOMER You need to have an account to make reservations or make any other purchases online. Create Account Booking City or Park Enter City or Park Name Place Category All Arrival Date Arrival Date Nights Nights Show Filters Search Skip to main content ☰ * HOME| * ONLINE STORE| Toggle navigation * Search autpser Go Clear * LOGIN * CREATE ACCOUNT * Cart icon × You have a reservation arriving on the today’s date, So would you like to pre check in for your reservation. Please click here. Pre Check In No Resource SERVING NATURE AND YOU cart_icon_top_blue Search cart_icon_top_blue Search TEST ×Close OK HOME | ONLINE STORE | CREATE ACCOUNT | CONTACT US © 2021 Missouri Department of Conservation