tickets.oregonrotary.org Open in urlscan Pro
52.203.35.18  Public Scan

Submitted URL: https://tickets.oregonrotary.org/
Effective URL: https://tickets.oregonrotary.org/e/2138778782
Submission: On August 01 via automatic, source certstream-suspicious — Scanned from CA

Form analysis 1 forms found in the DOM

POST /e/2138778782

<form method="post" action="/e/2138778782" 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="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">
  </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>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="DF77BF69">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
      value="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">
  </div>
  <input type="hidden" name="ctl00$hdn_eventurlforabuse" id="hdn_eventurlforabuse" value="https://tickets.oregonrotary.org">
  <input type="hidden" name="ctl00$hdnGaEzRegistrations" id="hdnGaEzRegistrations">
  <input type="hidden" name="ctl00$hdnGaEzItemsTrack" id="hdnGaEzItemsTrack">
  <input type="hidden" name="ctl00$hdnFbPixel" id="hdnFbPixel">
  <input type="hidden" name="ctl00$hfCustomEventLabel" id="hfCustomEventLabel"
    value="{&quot;registration_sale&quot;:[{&quot;type&quot;:&quot;Registration&quot;,&quot;value&quot;:&quot;Registration&quot;},{&quot;type&quot;:&quot;EventInformation&quot;,&quot;value&quot;:&quot;Event Information&quot;},{&quot;type&quot;:&quot;Cancellationpolicy&quot;,&quot;value&quot;:&quot;Cancellation policy&quot;},{&quot;type&quot;:&quot;Location&quot;,&quot;value&quot;:&quot;Location&quot;},{&quot;type&quot;:&quot;AbouttheOrganizer&quot;,&quot;value&quot;:&quot; About the Organizer&quot;},{&quot;type&quot;:&quot;Abouttheevent&quot;,&quot;value&quot;:&quot;About the event&quot;},{&quot;type&quot;:&quot;Speakers&quot;,&quot;value&quot;:&quot;Speakers&quot;},{&quot;type&quot;:&quot;Sponsors&quot;,&quot;value&quot;:&quot;Sponsors&quot;},{&quot;type&quot;:&quot;Sessions&quot;,&quot;value&quot;:&quot;Sessions&quot;},{&quot;type&quot;:&quot;PhotoGallery&quot;,&quot;value&quot;:&quot;Photo Gallery&quot;},{&quot;type&quot;:&quot;Command&quot;,&quot;value&quot;:&quot;Comments&quot;},{&quot;type&quot;:&quot;AbstractManagement&quot;,&quot;value&quot;:&quot;Abstract Management &quot;},{&quot;type&quot;:&quot;RegisterNow&quot;,&quot;value&quot;:&quot;Register Now&quot;},{&quot;type&quot;:&quot;CheckoutNow&quot;,&quot;value&quot;:&quot;Register Now&quot;},{&quot;type&quot;:&quot;ContacttheOrganizer&quot;,&quot;value&quot;:&quot;Contact the Organizer&quot;},{&quot;type&quot;:&quot;Viewotherevents&quot;,&quot;value&quot;:&quot;View other events&quot;}],&quot;registration_checkout&quot;:[{&quot;type&quot;:&quot;Yourregistrationsummary&quot;,&quot;value&quot;:&quot;Your registration summary&quot;},{&quot;type&quot;:&quot;AdditionalOptions&quot;,&quot;value&quot;:&quot;Additional Options&quot;},{&quot;type&quot;:&quot;RegistrationInformation&quot;,&quot;value&quot;:&quot;Registration Information&quot;},{&quot;type&quot;:&quot;RegisterforSessions&quot;,&quot;value&quot;:&quot;Register for Sessions&quot;},{&quot;type&quot;:&quot;ApplyDiscountcodebutton&quot;,&quot;value&quot;:&quot;Apply&quot;},{&quot;type&quot;:&quot;CompleteRegistration&quot;,&quot;value&quot;:&quot;Complete Registration&quot;}],&quot;registration_Confirmation&quot;:[{&quot;type&quot;:&quot;Yourorderdetail&quot;,&quot;value&quot;:&quot;Your order detail&quot;},{&quot;type&quot;:&quot;Addtomycalendar&quot;,&quot;value&quot;:&quot;Add to my calendar&quot;},{&quot;type&quot;:&quot;Notefromtheeventorganizer&quot;,&quot;value&quot;:&quot;Note from the event organizer&quot;},{&quot;type&quot;:&quot;Gotaquestion&quot;,&quot;value&quot;:&quot;Got a question?&quot;},{&quot;type&quot;:&quot;HotelBooking&quot;,&quot;value&quot;:&quot;Need accomodation near your venue?&quot;},{&quot;type&quot;:&quot;Returntotheeventwebsite&quot;,&quot;value&quot;:&quot;Return to the event website&quot;}]}">
  <input type="hidden" name="ctl00$hfIsPremiumSubscription" id="hfIsPremiumSubscription" value="false">
  <script type="text/javascript" src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/js/easyResponsiveTabs.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.19.3/moment-with-locales.min.js"></script>
  <link rel="stylesheet" href="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/css/jquery.fancybox.min.css">
  <script type="text/javascript" src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/js/jquery.fancybox.min.js"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
  <link
    href="https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&amp;family=Fjalla+One&amp;family=Gloria+Hallelujah&amp;family=Josefin+Sans:ital,wght@0,500;1,500&amp;family=Lato&amp;family=Old+Standard+TT&amp;family=Open+Sans:ital,wght@0,600;1,600&amp;family=PT+Serif&amp;family=Rock+Salt&amp;family=Ubuntu:wght@500&amp;family=Vollkorn:ital,wght@0,500;1,500&amp;family=Yesteryear&amp;display=swap"
    rel="stylesheet">
  <link rel="stylesheet" href="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/css/owl.carousel.min.css">
  <link rel="stylesheet" href="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/css/owl.theme.default.min.css">
  <script type="text/javascript" src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/js/owl.carousel.js"></script>
  <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Event",
      "name": "11th Annual Wine, Cheese & Chocolate Tasting",
      "startDate": "2020-04-19T00:00+00:00",
      "endDate": "2020-04-19T02:00+00:00",
      "eventStatus": "https://schema.org/EventScheduled",
      "eventAttendanceMode": "https://schema.org/OnlineEventAttendanceMode",
      "location": {
        "@type": "VirtualLocation",
        "url": "https://tickets.oregonrotary.org"
      },
      "image": ["https://s3.amazonaws.com/ezusrevent/8403AAF6CC6EDC3A3D537551E415E8B43C92A9FA8DC601C18A.png", "https://s3.amazonaws.com/ezusrevent/BE53AB2ABC14A2B999F7B49AFF610AA6B01E2B3258457D1E07.png"],
      "description": "Join us for the 11th Annual Oregon Rotary Artisan Wine & Cheese Tasting on Saturday, April 18 from 6 PM to 8 PM. You’ll taste 8 best-handcrafted artisan cheeses and 2 chocolates made in Wisconsin paired with 10 wines, as well as the unique ambiance of the restored Red Brick Gym at the Gorman Building in downtown Oregon.This event is a fundraiser for the Oregon Rotary Club, dedicated to supporting the Oregon community through projects such as the Oregon Rotary Bike Trail, Lerner Park prairie restoration, elementary school bike rodeos, scholarships for local Oregon High School graduates and more.Tickets at the door will be $30.",
      "offers": {
        "@type": "Offer",
        "url": "https://tickets.oregonrotary.org",
        "price": "25",
        "priceCurrency": "USD",
        "availability": "https://schema.org/InStock",
        "validFrom": "2020-02-13T06:00+00:00"
      },
      "performer": {
        "@type": "person",
        "name": "Oregon Rotary Club"
      },
      "organizer": {
        "@type": "Organization",
        "name": "Oregon Rotary Club",
        "url": "https://www.eventzilla.net/organizerevents?ClientID=2135732212"
      }
    }
  </script>
  <script src="assets/v1/js/customnew.js"></script>
  <style>
  </style>
  <script>
    $(document).ready(function() {
      if (sessionStorage.getItem('waitlistapprovalback_bt_check') == "true") {
        sessionStorage.clear();
      }
      var setting = $("#CPMain_ctl00_hfEventSort").val();
      if ($("#CPMain_ctl00_hfEventSort").val() != "") {
        var EventSortOrder = JSON.parse($("#CPMain_ctl00_hfEventSort").val());
        if (EventSortOrder.EventCountdown == undefined && $("#CPMain_ctl00_hdnhideevent").val() != "true") {
          EventSortOrder.EventCountdown = 0;
        }
        if (EventSortOrder.CancellationInstruction == undefined) {
          EventSortOrder.CancellationInstruction = 14;
          $("#CPMain_ctl00_liCancelinfo").attr("rowchange", 14);
        }
        //for (var Esort = 0; Esort <= 13; Esort++) {
        for (var Esort = 0; Esort <= Object.keys(EventSortOrder).length; Esort++) {
          if (Esort == EventSortOrder.Ticket) $("#EventSort").append($("#divregister"));
          else if (Esort == EventSortOrder.EventDesc) {
            $("#EventSort").append($("#diveventinfo"));
            $("#lieventinfo").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.OrganizerDesc) {
            $("#EventSort").append($("#divabout"));
            $("#liorganizer").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventFaqQuestions) {
            $("#EventSort").append($("#CPMain_ctl00_Faqquestion"));
            $("#CPMain_ctl00_lifaqquestion").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.Venue) {
            $("#EventSort").append($("#CPMain_ctl00_eventlocation"));
            $("#CPMain_ctl00_lilocation").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventSpeaker) {
            $("#EventSort").append($("#CPMain_ctl00_eventspeaker"));
            $("#CPMain_ctl00_lispeakers").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventSponsor) {
            $("#EventSort").append($("#CPMain_ctl00_eventsponsor"));
            $("#CPMain_ctl00_lisponsors").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventSchedule) {
            $("#EventSort").append($("#CPMain_ctl00_eventschedule"));
            $("#CPMain_ctl00_lischedule").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.PhotoGallery) {
            $("#EventSort").append($("#CPMain_ctl00_secphotogallery"));
            $("#CPMain_ctl00_liphotogallery").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventComments) {
            $("#EventSort").append($("#eventcomments"));
            $("#licomment").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EnableAbstract) {
            $("#CPMain_ctl00_liAbstract").attr("rowchange", Esort);
          } else if (Esort == EventSortOrder.EventCountdown) {
            $("#EventSort").append($("#divnewcountdown"));
          } else if (Esort == EventSortOrder.CancellationInstruction) {
            $("#EventSort").append($("#CPMain_ctl00_divCancelinfo"));
            $("#CPMain_ctl00_liCancelinfo").attr("rowchange", Esort);
          } else {
            $.each(EventSortOrder, function(key, value) {
              if (Esort == value) {
                $("#EventSort").append($("#CPMain_ctl00_" + key));
                $("#" + key).attr("rowchange", Esort);
              }
            });
          }
        }
        var $table = $('#ulMenu');
        var rows = $table.find('li').get();
        rows.sort(function(a, b) {
          var keyA = $(a).attr('rowchange');
          var keyB = $(b).attr('rowchange');
          if (parseInt(keyA) > parseInt(keyB)) return 1;
          if (parseInt(keyA) < parseInt(keyB)) return -1;
          return 0;
        });
        $.each(rows, function(index, row) {
          //alert(row);
          //$table.children('.navbar-nav').append(row);
          $table.append(row);
        });
        RemoveHideSort();
      } else {
        if ($("#CPMain_ctl00_hdncountdown").val() != "") {
          $("#EventSort").append($("#divnewcountdown"));
        } else {
          $("#divnewcountdown").hide();
        }
        RemoveHideSort();
      }

      function RemoveHideSort() {
        $("#divabout").removeClass("hide");
        $("#eventcomments").removeClass("hide");
        $("#divregister").removeClass("hide");
        $("#diveventinfo").removeClass("hide");
        $("#CPMain_ctl00_eventlocation").removeClass("hide");
        $("#CPMain_ctl00_eventspeaker").removeClass("hide");
        $("#CPMain_ctl00_eventsponsor").removeClass("hide");
        //$("#CPMain_ctl00_eventwhoattending").removeClass("hide");
        $("#CPMain_ctl00_eventschedule").removeClass("hide");
        $("#eventcomments").removeClass("hide");
        $("#CPMain_ctl00_secphotogallery").removeClass("hide");
        $("#CPMain_ctl00_Faqquestion").removeClass("hide");
        if ($("#CPMain_ctl00_hdncountdown").val() == "") {
          $("#divnewcountdown").hide();
        } else {
          $("#divnewcountdown").removeClass("hide");
        }
        $("#CPMain_ctl00_divCancelinfo").removeClass("hide");
      }
    });
  </script>
  <!-- Event End Page HTML Start -->
  <div class="EndEventdivtag" style="display: none">
    <div class="EventEndTag ViewBtnBlue">This event has ended <a href="javascript:void(0);">View Details</a></div>
    <!-- Event End Page Nav Start -->
    <div class="EventEndHeadSection">
      <div class="RowMobileLogo">
        <div class="container-fluid">
          <div class="col-md-12">
            <ul class="help-mdiv EndedStyle">
              <li>
                <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'FindTickets');" href="https://app.eventzilla.net/attendee/login?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=find-tickets" title="Find your tickets" target="_blank"><span class="text-span">Find your tickets</span> <span class="fa fa-ticket icon-span"></span></a><span>|</span>
              </li>
              <li>
                <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'FindEvents');" href="https://www.eventzilla.net/events?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=find-events" title="Find More Events" target="_blank"><span class="text-span">Find more events</span> <span class="fa fa-search icon-span"></span></a><span>|</span>
              </li>
              <li>
                <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'CreateEvent-Top');" href="https://app.eventzilla.net/us/signup?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=list-event" target="_blank" title="Create Your own"><span class="TextSpan">List your event</span> <span class="fa fa-pencil IconSpan"></span></a>
              </li>
              <div class="clearfix"></div>
            </ul>
            <logo id=""><a class="logo ColorLogo" title="Eventzilla" href="https://www.eventzilla.net/us/home?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr-popup&amp;utm_term=logo" target="_blank">Eventzilla</a>
            </logo>
          </div>
        </div>
      </div>
    </div>
    <div class="row-mobile BgGray">
      <div class="container">
        <!-- Event Title Start -->
        <div class="EventEndHeaderInfo" id="Organizerdetails"></div>
      </div>
    </div>
    <div class="row-mobile BrdTop BrdBottom">
      <div class="container">
        <div class="col-md-12">
          <div class="EventEndOrganizerDetail">
            <div class="EndOrganizerImage">
              <div class="EndTableCell">
                <img src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/img/speaker-no-image.jpg" alt="Speaker" class="img-responsive">
              </div>
            </div>
            <div class="EndOrganizerInfo" id="EndOrganizerInfo"></div>
            <div class="clearfix"></div>
          </div>
        </div>
      </div>
    </div>
    <div class="row-mobile BgGray">
      <div class="container">
        <div id="OrganizerEvent">
          <div class="col-md-12 col-sm-12 col-xs-12">
            <h2 id="Organizertitle" style="display: none" class="EndedTitle">Other events by this
              organizer<a href="https://www.eventzilla.net/organizerevents?clientid=2135732212" id="CPMain_ctl00_Moreevent" class="ActionLink ">More by <span id="crosssellclientname">Oregon Rotary Club</span></a><span class="TLine"></span></h2>
          </div>
          <!-- Organizer Events start -->
          <div class="OtherEvents" id="OtherEvents">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsClientname" id="CPMain_ctl00_hf_CsClientname" value="Oregon Rotary Club">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsClientID" id="CPMain_ctl00_hf_CsClientID" value="2135732212">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsEventcategoryID" id="CPMain_ctl00_hf_CsEventcategoryID" value="6_7_">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsCountry" id="CPMain_ctl00_hf_CsCountry">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsClientPlanID" id="CPMain_ctl00_hf_CsClientPlanID">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsCrossSalesened" id="CPMain_ctl00_hf_CsCrossSalesened" value="Yes">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CsLatitude" id="CPMain_ctl00_hf_CsLatitude">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_CSLongitude" id="CPMain_ctl00_hf_CSLongitude">
            <input type="hidden" name="ctl00$CPMain$ctl00$hd_CsHidepublic" id="CPMain_ctl00_hd_CsHidepublic" value="False">
            <input type="hidden" name="ctl00$CPMain$ctl00$lblEventID" id="CPMain_ctl00_lblEventID" value="333763">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfEncryptEventID" id="CPMain_ctl00_hfEncryptEventID" value="2138778782">
            <input type="hidden" name="ctl00$CPMain$ctl00$Eventispublished" id="CPMain_ctl00_Eventispublished">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_IsBrandEnabled" id="CPMain_ctl00_hf_IsBrandEnabled" value="True">
          </div>
          <!-- Organizer Events End -->
        </div>
        <div id="RelatedEvent">
          <div class="col-md-12 col-sm-12 col-xs-12">
            <h2 class="EndedTitle">Events you might like <span class="TLine"></span></h2>
          </div>
          <div class="OtherOrganized" id="OtherOrganized"></div>
        </div>
      </div>
    </div>
    <div class="clearfix"></div>
  </div>
  <!-- Event End Page HTML Start -->
  <div class="Overall_page_load">
    <!-- Sale Header Section Div Start -->
    <header id="CPMain_ctl00_bgimgheader" class="NewParticles" style="background-image:url(https://s3.amazonaws.com/ezusrevent/8403AAF6CC6EDC3A3D537551E415E8B43C92A9FA8DC601C18A.png)">
      <div id="CPMain_ctl00_bgimg" class="BgImageStyle" style="background-image:url(https://s3.amazonaws.com/ezusrevent/8403AAF6CC6EDC3A3D537551E415E8B43C92A9FA8DC601C18A.png)">
        <!-- overlay div Start -->
        <div id="CPMain_ctl00_newoverlay" class="NewOverlay">
          <!-- Top Header div Start -->
          <div class="row hide evbrand">
            <div class="container-fluid">
              <div class="col-md-12">
                <ul class="SaleTopNav">
                  <li>
                    <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'FindTickets');" href="https://app.eventzilla.net/attendee/login?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=find-tickets" title="Find your tickets" target="_blank"><span class="TextSpan">Find your tickets</span> <span class="fa fa-ticket IconSpan"></span></a><span>|</span>
                  </li>
                  <li>
                    <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'FindEvents');" href="https://www.eventzilla.net/events?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=find-events" title="Find More Events" target="_blank"><span class="TextSpan">Find more events</span> <span class="fa fa-search IconSpan"></span></a><span>|</span>
                  </li>
                  <li>
                    <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'CreateEvent-Top');" href="https://app.eventzilla.net/us/signup?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=list-event" title="Create Your own" target="_blank"><span class="TextSpan">List your event</span> <span class="fa fa-pencil IconSpan"></span></a>
                  </li>
                  <div class="clearfix"></div>
                </ul>
                <logo id="logo">
                  <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'EventzillaLogo');" class="EventZillaLogo" title="Eventzilla" href="https://www.eventzilla.net/us/home?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=hdr&amp;utm_term=logo" target="_blank">Eventzilla</a>
                </logo>
              </div>
            </div>
            <div class="LineMdiv"></div>
          </div>
          <div class="container height-100 Container1280">
            <!-- Event Title Start -->
            <div id="CPMain_ctl00_headeralignment" class="HeaderEventInfo SaleHeader TextCenter">
              <div id="CPMain_ctl00_divevelogo" class="event-logo show large">
                <img src="https://s3.amazonaws.com/ezusrevent/BE53AB2ABC14A2B999F7B49AFF610AA6B01E2B3258457D1E07.png" id="CPMain_ctl00_evelogo" alt="Event Logo">
              </div>
              <h1 class="EventName">
                <span id="CPMain_ctl00_lblEventTitle">11th Annual Wine, Cheese &amp; Chocolate Tasting</span>
              </h1>
              <p class="EventVenue">
                <span id="CPMain_ctl00_lblEventDateTime">Saturday, 18 April 2020 6:00 PM - 8:00 PM CST</span>
              </p>
              <p id="CPMain_ctl00_plocation" class="EventLocation" style="display:none">
                <span id="CPMain_ctl00_lblLocation"></span>
              </p>
              <a class="RegisterBtnNew page-scroll customlabelregisternow" href="#register">Register Now</a>
            </div>
          </div>
        </div>
        <!-- overlay div End -->
        <div></div>
      </div>
    </header>
    <!-- Sale Header Section Div Start -->
    <!-- Custom Header Start -->
    <!-- Custom Header End -->
    <section class="NavBgGray">
      <div class="container Container1280">
        <div class="row">
          <div>
            <!-- Main Menu div Start -->
            <div class="main-nav">
              <nav id="saleNav" class="navbar navbar-custom" role="navigation">
                <div class="FixedNavPad position-relative">
                  <div class="container Container1280 nav-bg">
                    <div class="row">
                      <div class="p-l-15 p-r-15 position-relative">
                        <div class="navbar-header">
                          <span class="visible-xs"><a class="menu-logo page-scroll hide evbrand" href="https://www.eventzilla.net/home">
                                                    <img src="/assets/v1/images/nt-eventzilla-emblem.png" alt="Eventzilla"></a></span>
                          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
                            <span>
                              <img class="mobile-micon" src="/assets/v1/images/nt-mobile-micon.png" alt="Main Menu"></span>
                          </button>
                        </div>
                        <a class="AninationBlueBtn pull-right hidden-xs page-scroll customlabelregisternow m-r-15" href="#register">Register Now</a>
                        <a id="logoicon" class="menu-logo page-scroll hidden-xs hide evbrand" href="https://www.eventzilla.net/home">
                                                <img src="/assets/v1/images/nt-eventzilla-emblem.png" alt="Eventzilla"></a>
                        <div class="EventNavMdiv">
                          <!-- Collect the nav links, forms, and other content for toggling -->
                          <div class="collapse navbar-collapse navbar-main-collapse">
                            <ul class="nav navbar-nav cut-list" id="ulMenu">
                              <li class="hidden cut-list__elem" data-index="0" style=""><a href="#page-top"></a></li>
                              <li id="lieventinfo" data-index="1" class="cut-list__elem"><a class="page-scroll customlabeleventinfo" href="#event-info">Event Information</a></li>
                              <li id="CPMain_ctl00_lilocation" style="display: none;" data-index="2" class="cut-list__elem"><a class="page-scroll customlabeleventloc" href="#CPMain_ctl00_eventlocation">Location</a></li>
                              <li id="liorganizer" data-index="3" class="cut-list__elem"><a class="page-scroll tempspace customlabelabttheorg" href="#organizer"> About the Organizer</a> </li>
                              <li id="licomment" data-index="4" class="cut-list__elem"><a class="page-scroll customlabelcomments" href="#eventcomments">Comments</a> </li>
                              <li data-index="5" class="cut-list__elem"><a class="page-scroll visible-xs customlabelregisternow" href="#register">Register Now</a></li>
                              <div style="display: none;" class="cut-list__elem cut-list__dropdown" data-index="6">
                                <div class="cut-list__drop">
                                  <div class="cut-list__drop-toggle"><img src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/img/SaleNavCutMoreIcon.png" title="More Nav" alt="More Nav"></div>
                                  <div class="cut-list__more">
                                    <div class="cut-list__more-content"></div>
                                  </div>
                                </div>
                              </div>
                            </ul>
                          </div>
                          <!-- /.navbar-collapse -->
                        </div>
                      </div>
                    </div>
                    <!-- /.container -->
                  </div>
                </div>
              </nav>
            </div>
            <!-- Main Menu div End -->
          </div>
        </div>
        <!-- Sale Header Section Div Start -->
      </div>
    </section>
    <div id="EventSort"></div>
    <input type="hidden" name="ctl00$CPMain$ctl00$hfEventSort" id="CPMain_ctl00_hfEventSort">
    <input type="hidden" name="ctl00$CPMain$ctl00$hdnHeaderAlign" id="CPMain_ctl00_hdnHeaderAlign">
    <!-- Countdown Timer Table Start -->
    <section id="divnewcountdown" class="CountdownSectionMDiv hide" style="display: none;">
      <div id="countdown"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12 text-center">
            <div id="CPMain_ctl00_divcountdown" class="CountdownEventPage" style="display:none">
              <input type="hidden" name="ctl00$CPMain$ctl00$hdncountdown" id="CPMain_ctl00_hdncountdown">
              <input type="hidden" name="ctl00$CPMain$ctl00$hdnutcoffsetcountdown" id="CPMain_ctl00_hdnutcoffsetcountdown">
              <input type="hidden" name="ctl00$CPMain$ctl00$hdnCustomdomainSecure" id="CPMain_ctl00_hdnCustomdomainSecure" value="true">
              <input type="hidden" name="ctl00$CPMain$ctl00$hdnhideevent" id="CPMain_ctl00_hdnhideevent" value="true">
              <div class="CountNumber" id="pcountdown">NaN<span>Days</span></div>
              <div class="CountNumber" id="pcountdownh">NaN<span>Hours</span></div>
              <div class="CountNumber" id="pcountdownm">NaN<span>Minutes</span></div>
              <div class="CountNumber Last" id="pcountdowns">NaN<span>Seconds</span></div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Countdown Timer Table End -->
    <!-- Register Table Start -->
    <section id="divregister" class="">
      <div class="height-40" id="register"></div>
      <!-- Grid Start -->
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <span id="CPMain_ctl00_lblErrorMessage">
              <div class="alert alert-danger">This event is currently not on sale. Please contact the organizer at the email address on the bottom right corner.</div>
            </span>
            <span id="CPMain_ctl00_lblerrormessageforrecurring"></span>
            <span id="CPMain_ctl00_lblstatus" class="hide"></span>
            <input type="hidden" name="ctl00$CPMain$ctl00$hfCurrencySymbol" id="CPMain_ctl00_hfCurrencySymbol" value="$">
            <input type="hidden" name="ctl00$CPMain$ctl00$hftaxamount" id="CPMain_ctl00_hftaxamount" value="0.00">
            <input type="hidden" name="ctl00$CPMain$ctl00$hftaxtotalamount" id="CPMain_ctl00_hftaxtotalamount">
            <input type="hidden" name="ctl00$CPMain$ctl00$hftaxname" id="CPMain_ctl00_hftaxname">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfFees" id="CPMain_ctl00_hfFees">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfOriginalFees" id="CPMain_ctl00_hfOriginalFees" value="0.99">
            <input type="hidden" name="ctl00$CPMain$ctl00$hdnshowmodal" id="CPMain_ctl00_hdnshowmodal">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfEventzillaPlanCommission" id="CPMain_ctl00_hfEventzillaPlanCommission"
              value="{&quot;Minimum&quot;:&quot;0.99&quot;,&quot;Percentage&quot;: &quot;1.9&quot;,&quot;Maximum&quot;: &quot;9.99&quot;,&quot;ClientCommissionMin&quot;: &quot;00&quot;,&quot;EventCommissionMin&quot;: &quot;00&quot;,&quot;HubPercentage&quot;: &quot;0.00&quot;,&quot;HubMinimum&quot;:&quot;0.00&quot;,&quot;KioskCommission&quot;:&quot;0.00&quot;,&quot;KioskMinimum&quot;:&quot;0.00&quot;}">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfConvenienceFee" id="CPMain_ctl00_hfConvenienceFee" value="i">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfstatus" id="CPMain_ctl00_hfstatus">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfddlEventDateDefault" id="CPMain_ctl00_hfddlEventDateDefault">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfallcid" id="CPMain_ctl00_hfallcid">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfpromocid" id="CPMain_ctl00_hfpromocid">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfpromoticket" id="CPMain_ctl00_hfpromoticket" value="False">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfPromoPrice" id="CPMain_ctl00_hfPromoPrice">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfIsEachTicket" id="CPMain_ctl00_hfIsEachTicket">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfPromoPercentage" id="CPMain_ctl00_hfPromoPercentage">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfPromoPercentageFees" id="CPMain_ctl00_hfPromoPercentageFees" value="0">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfDiscountMoretickets" id="CPMain_ctl00_hfDiscountMoretickets">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfDiscountMoreticketsCategoryId" id="CPMain_ctl00_hfDiscountMoreticketsCategoryId">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfReservSeatbool" id="CPMain_ctl00_hfReservSeatbool">
            <input type="hidden" name="ctl00$CPMain$ctl00$hf_TwitterTags" id="CPMain_ctl00_hf_TwitterTags">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfPreApproval" id="CPMain_ctl00_hfPreApproval">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfunlockcodealertLang" id="CPMain_ctl00_hfunlockcodealertLang" value="The unlock code you entered does not match our records. Please try again or check with this event's organizer.">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfEventZillaPayment" id="CPMain_ctl00_hfEventZillaPayment">
            <input type="hidden" name="ctl00$CPMain$ctl00$hfModernLoader" id="CPMain_ctl00_hfModernLoader">
            <div class="text-right">
            </div>
            <!-- Register Title Start -->
            <h2 id="CPMain_ctl00_regtitle" class="EventHeadTitle position-relative">
              <span class="customlabelregistration customfontregtitle">Registration</span>
              <span class="tline"></span>
              <div id="CPMain_ctl00_divsuccessmsg" class="discount-box UnlockCode" style="display:none">
                <p id="CPMain_ctl00_pcodeapplied" class="CodeApplyText hide"><i class="fa fa-check-circle Greencolor"></i>Access code applied successfully. <a class="Remove" id="aremove" href="javascript:void(0);">Remove</a></p>
                <p class="CodeApplyText hide" id="pinvalidcode"><i class="fa fa-times-circle Redcolor"></i>Invalid access code. <a class="Remove" id="atryagain" href="javascript:void(0);">Try again</a></p>
                <a href="javascript:void(0);" id="CPMain_ctl00_ahavecode" class="HaveLink" style="display: none">Have an access code?</a>
                <div id="divunlockcode" class="hide">
                  <input name="ctl00$CPMain$ctl00$txtunlockcode" type="text" id="CPMain_ctl00_txtunlockcode" placeholder="Enter access code" class="dtextbox">
                  <input name="ctl00$CPMain$ctl00$btnunlockapply" type="button" id="CPMain_ctl00_btnunlockapply" class="dbutton" value="Apply">
                </div>
              </div>
            </h2>
            <div class="register-table">
              <div id="accordion">
              </div>
              <div id="CPMain_ctl00_rpCategory_fade_0" class="ticket-type sale-end-ticket pad">
                <div id="CPMain_ctl00_rpCategory_salesended_0" class="new-red-tag customlabelsaleended"> Sale ended </div>
                <div id="CPMain_ctl00_rpCategory_fadepanel_0" class="overlay-tag" style="display:block"></div>
                <!--  <span id="CPMain_ctl00_rpCategory_spanclick_0" class="drop-icon" data-toggle="" title="" data-original-title=""><a id="CPMain_ctl00_rpCategory_datatarget_0" class="collapsed" data-toggle="collapse" href="javascript:void(0);" data-target="" href="javascript:__doPostBack(&#39;ctl00$CPMain$ctl00$rpCategory$ctl00$datatarget&#39;,&#39;&#39;)"></a></span>-->
                <div class="over-hidden">
                  <div class="row">
                    <div class="col-md-10 col-sm-10 col-xs-12">
                      <h2 class="ticket-mtitle">Wine, Cheese &amp; Chocolate Tasting<span id="CPMain_ctl00_rpCategory_lblApproval_0"></span>
                        <span id="CPMain_ctl00_rpCategory_ticketunlocklockicon_0" class="LockIcon hide"><img src="/assets/v1/images/UnlockTicketTypeIcon.png"></span>
                        <span id="CPMain_ctl00_rpCategory_partialtc_0" class="parcial-sale">Partial</span>
                        <span id="CPMain_ctl00_rpCategory_approvaltc_0" class="wait-sale">Approval</span>
                        <span id="CPMain_ctl00_rpCategory_dashlinetext_0"> - </span>
                        <span class="ticket-price">
                          <span id="CPMain_ctl00_rpCategory_lblCategoryPrice_0" class="CategoryPriceAdd">$25.00</span></span>
                      </h2>
                      <span id="CPMain_ctl00_rpCategory_lblpartialpaymentdesc_0" class="parcial-text"></span>
                      <p class="ticket-stext">
                      </p>
                    </div>
                    <div class="col-md-2 col-sm-2 col-xs-12 pull-right">
                      <select name="ctl00$CPMain$ctl00$rpCategory$ctl00$ddlQuantity" id="CPMain_ctl00_rpCategory_ddlQuantity_0" disabled="disabled" class="aspNetDisabled TicketDropDownIcon QuantityAdd ticket-quan mobile-select">
                        <option selected="selected" value="0">0</option>
                        <option value="1">1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                      </select>
                    </div>
                  </div>
                </div>
              </div>
              <div visible="false">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hfStartDate" id="CPMain_ctl00_rpCategory_hfStartDate_0" value="2/13/2020 6:00:00 AM">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hfCategoryID" id="CPMain_ctl00_rpCategory_hfCategoryID_0" value="2138547199">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hfCategoryInviteCode" id="CPMain_ctl00_rpCategory_hfCategoryInviteCode_0" value="False">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hfAvailableTicket" id="CPMain_ctl00_rpCategory_hfAvailableTicket_0" value="100">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hf_Catfee" id="CPMain_ctl00_rpCategory_hf_Catfee_0" value="1.47">
                <input name="ctl00$CPMain$ctl00$rpCategory$ctl00$txtCatgoryInvite" type="text" id="CPMain_ctl00_rpCategory_txtCatgoryInvite_0" class="hide" placeholder="Enter Invite Code" onblur="CategoryInvitecode(this.id);">
                <input type="hidden" name="ctl00$CPMain$ctl00$rpCategory$ctl00$hfCategoryInvite" id="CPMain_ctl00_rpCategory_hfCategoryInvite_0">
              </div>
              <div id="CPMain_ctl00_rpDonation_DonnationTicketControl_0" class="ticket-type pad sale-end-ticket">
                <div id="CPMain_ctl00_rpDonation_Donationsalesended_0" class="new-red-tag customlabelsaleended"> Sale ended </div>
                <div id="CPMain_ctl00_rpDonation_soldout_0" class="overlay-tag">
                </div>
                <!--   <span class="drop-icon" data-toggle="tooltip" title="">
									<a id="CPMain_ctl00_rpDonation_datatarget_0" class="collapsed" data-toggle="collapse" href="javascript:void(0);" data-target="" href="javascript:__doPostBack(&#39;ctl00$CPMain$ctl00$rpDonation$ctl00$datatarget&#39;,&#39;&#39;)"></a>
									
								</span>-->
                <div class="over-hidden">
                  <div class="row">
                    <div class="col-md-10 col-sm-10 col-xs-12">
                      <h2 class="ticket-mtitle">Support Oregon Rotary with an additional contribution!</h2>
                      <input type="hidden" name="ctl00$CPMain$ctl00$rpDonation$ctl00$hfStartDate" id="CPMain_ctl00_rpDonation_hfStartDate_0" value="2/13/2020 6:00:00 AM">
                      <input type="hidden" name="ctl00$CPMain$ctl00$rpDonation$ctl00$hfCategoryID" id="CPMain_ctl00_rpDonation_hfCategoryID_0" value="10319">
                      <input type="hidden" name="ctl00$CPMain$ctl00$rpDonation$ctl00$hfDonationSize" id="CPMain_ctl00_rpDonation_hfDonationSize_0" value="100">
                      <input type="hidden" name="ctl00$CPMain$ctl00$rpDonation$ctl00$hfEndDate" id="CPMain_ctl00_rpDonation_hfEndDate_0" value="4/19/2020 12:00:00 AM">
                      <input type="hidden" name="ctl00$CPMain$ctl00$rpDonation$ctl00$hfAvailableTicket" id="CPMain_ctl00_rpDonation_hfAvailableTicket_0" value="100">
                      <p class="ticket-stext">
                        <span>
                          <span id="CPMain_ctl00_rpDonation_saledate_0">Sale ends on</span>
                          <span id="CPMain_ctl00_rpDonation_lblEndDate_0">04/18/2020</span>
                        </span>
                      </p>
                    </div>
                    <div class="col-md-2 col-sm-2 col-xs-12 pull-right">
                      <select name="ctl00$CPMain$ctl00$rpDonation$ctl00$DonationQuantity" id="CPMain_ctl00_rpDonation_DonationQuantity_0" disabled="disabled"
                        class="aspNetDisabled aspNetDisabled TicketDropDownIcon QuantityAdd ticket-quan mobile-select">
                        <option selected="selected" value="0">0</option>
                        <option value="1">0</option>
                      </select>
                    </div>
                  </div>
                </div>
              </div>
              <!-- Ticket type Bottom Start -->
              <div class="ticket-bdiv">
                <div class="col-md-8 col-sm-5 col-xs-12 nopadding">
                  <div id="CPMain_ctl00_promocode" class="discount-box">
                    <h3>Enter your discount code</h3>
                    <input name="ctl00$CPMain$ctl00$txtPromoCode" type="text" id="CPMain_ctl00_txtPromoCode" autocapitalize="none" class="dtextbox" placeholder="Ex : AVT6984">
                    <input type="submit" name="ctl00$CPMain$ctl00$btnPromo" value="Apply" onclick="javascript:return checkDiscount();" id="CPMain_ctl00_btnPromo" class="dbutton">
                  </div>
                </div>
              </div>
              <div id="CPMain_ctl00_divcostsummary" class="col-md-4 col-sm-12 col-xs-12 nopadding costsummary">
                <ul id="CPMain_ctl00_castsummary" class="amount-mdiv">
                  <li>
                    <div id="CPMain_ctl00_divsubtot"><span class="lft-div">Subtotal <span class="sub-text hide">(excluding fees and discounts) </span></span><span class="rgt-div subfeecostlabel">$0.00</span></div>
                  </li>
                  <li>
                  </li>
                  <li>
                    <div id="divTotalFee"><span class="lft-div">Fee</span><span class="rgt-div feecostlabel" id="spFee">$0.00</span></div>
                  </li>
                  <li class="gtotal"><span class="lft-div">Total amount</span><span class="rgt-div totalfeecostlabel">$0.00</span></li>
                  <li class="hide">
                  </li>
                </ul>
                <ul class="amount-mdiv">
                  <li>
                    <button id="IconLoad" style="display: none" type="button" class="btn btn-blue LoadingBtn">
                      <img src="../assets/v1/images/svg/LoadingWhite.svg" alt="Loading" style="width: 32px"></button>
                  </li>
                </ul>
              </div>
              <span id="CPMain_ctl00_lblerrormsgfornoInviteCode"></span>
              <div class="clearfix"></div>
            </div>
            <!-- Ticket type Bottom Start -->
          </div>
        </div>
      </div>
      <!-- Grid End -->
    </section>
    <!-- Register Table End -->
    <!-- Reserve Seat Table Start -->
    <section style="padding-bottom: 0; display: none;">
      <div class="reserve-mdiv position-relative bg-white">
        <div class="bg-white reserve-left">
          <h2 class="EventHeadTitle position-relative m-b-20"><span>1.</span> Select Seats <span class="event-date"></span></h2>
          <!-- Reserve Seat Chart Table Start -->
          <div class="select-seat">
            <div id="ReservChart"></div>
          </div>
        </div>
        <div class="bg-gray reserve-right reservseatstable">
          <h2 class="EventHeadTitle position-relative m-b-20"><span>2.</span> Review and Proceed</h2>
          <div id="divReservDiscount">
          </div>
          <div class="reserve-seat-total">
          </div>
        </div>
        <div class="clearfix"></div>
      </div>
      <!-- Reserve Seat Table End -->
    </section>
    <!-- Event Information Start -->
    <section id="diveventinfo" class="">
      <div class="height-40" id="event-info"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <!-- Event Information Start -->
            <h2 class="EventHeadTitle position-relative" id="infotitle">
              <label class="customlabeleventinfo customfonteventinfo">Event Information</label><span class="tline"></span>
            </h2>
            <!-- Event Information End -->
            <div class="EventInfoMDiv">
              <p class="EventDateMDiv">
                <span id="CPMain_ctl00_lblEventDateTime2">Saturday, 18 April 2020 6:00 PM - 8:00 PM CST</span>
              </p>
              <p class="EventLocationMDiv">
                <span id="CPMain_ctl00_lblLocationAddress"></span>
              </p>
              <div class="EventAboutContentMDiv">
                <span id="CPMain_ctl00_lblEventDescription" class="ql-editor">
                  <p style="margin: 0 0 10px; font-size: 13px; color: rgba(128, 130, 133, 1); text-align: justify; line-height: 22px; font-family: OpenSans, sans-serif; outline: none !important">Join us for the 11th Annual Oregon Rotary Artisan Wine
                    &amp; Cheese Tasting on Saturday, April 18 from 6 PM to 8 PM. You’ll taste 8 best-handcrafted artisan cheeses and 2 chocolates made in Wisconsin paired with 10 wines, as well as the unique ambiance of the restored Red Brick Gym at
                    the Gorman Building in downtown Oregon.</p>
                  <p style="margin: 0 0 10px; font-size: 13px; color: rgba(128, 130, 133, 1); text-align: justify; line-height: 22px; font-family: OpenSans, sans-serif; outline: none !important">This event is a fundraiser for the Oregon Rotary Club,
                    dedicated to supporting the Oregon community through projects such as the Oregon Rotary Bike Trail, Lerner Park prairie restoration, elementary school bike rodeos, scholarships for local Oregon High School graduates and more.</p>
                  <p style="margin: 0 0 10px; font-size: 13px; color: rgba(128, 130, 133, 1); text-align: justify; line-height: 22px; font-family: OpenSans, sans-serif; outline: none !important">Tickets at the door will be $30.</p>
                </span>
                <div id="twitteslinks"></div>
              </div>
              <input type="hidden" name="ctl00$CPMain$ctl00$hfTwitterTags" id="CPMain_ctl00_hfTwitterTags">
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Information End -->
    <section id="CPMain_ctl00_divCancelinfo" class="" style="display:none">
      <div class="height-40" id="cancelinfo"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <div class="EventAboutContentMDiv m-t-0">
              <p>
                <span id="CPMain_ctl00_lblEventCancelDescription"></span>
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Location Start -->
    <section id="CPMain_ctl00_eventlocation" class="" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <!-- Event Location Start -->
            <h2 id="CPMain_ctl00_infolocation" class="EventHeadTitle position-relative ">
              <label class="customlabeleventloc customfonteventloc">Location</label>
              <span class="tline"></span>
            </h2>
            <!-- Event Location End -->
          </div>
        </div>
      </div>
      <div class="map-mdiv">
        <aside class="listing-map-footer">
          <section class="listing-map-card js-listing-map-card l-align-center" data-automation="event-map-card">
            <div class="listing-map-card-body">
              <h2 class="listing-map-card-title">
                <span id="CPMain_ctl00_lblVenueTitle"></span>
              </h2>
            </div>
            <footer class="listing-map-card-footer">
              <div>
                <p class="info-location listing-map-card-street-address text-default">
                  <span class="info-location-icon"></span>
                  <span id="CPMain_ctl00_lblLocationMap"></span>
                </p>
              </div>
              <div>
                <h4>Getting there</h4>
                <ul class="grouped-ico" style="padding: 0">
                  <li>
                    <a href="https://maps.google.com?saddr=Current+Location&amp;daddr=13.05296653863434,80.21388255291754&amp;driving" id="CPMain_ctl00_driving" target="_blank" class="btn btn--target is-collapsed js-drive-directions-link btn--invert">
                                        <img src="/assets/v1/images/icon-car.png" alt="By Car">
                                    </a>
                  </li>
                  <li>
                    <a href="https://maps.google.com?saddr=Current+Location&amp;dirflg=w&amp;daddr=-28.0770357,153.3825551" id="CPMain_ctl00_walk" target="_blank" class="btn btn--target is-collapsed js-walk-directions-link btn--invert">
                                        <img src="/assets/v1/images/icon-walk.png" alt="By Walk">
                                    </a>
                  </li>
                  <li>
                    <a href="https://maps.google.com?saddr=Current+Location&amp;dirflg=r&amp;daddr=-28.0770357,153.3825551&amp;mode=transit" id="CPMain_ctl00_transport" target="_blank" class="btn btn--target is-collapsed js-transit-directions-link btn--invert">
                                        <img src="/assets/v1/images/icon-train.png" alt="By public transport">
                                    </a>
                  </li>
                  <li>
                    <a href="https://maps.google.com?saddr=Current+Location&amp;dirflg=b&amp;daddr=-28.0770357,153.3825551&amp;mode=bicycling" id="CPMain_ctl00_bike" target="_blank" class="btn btn--target is-collapsed js-bike-directions-link btn--invert">
                                        <img src="/assets/v1/images/icon-bike.png" alt="By Bike">
                                    </a>
                  </li>
                </ul>
              </div>
            </footer>
          </section>
        </aside>
        <input type="hidden" name="ctl00$CPMain$ctl00$hf_address" id="CPMain_ctl00_hf_address">
        <input type="hidden" name="ctl00$CPMain$ctl00$hf_addlocation" id="CPMain_ctl00_hf_addlocation">
        <div class="google_map">
          <div id="map_canvas" style="width: 100%; height: 420px;"></div>
          <div class="cover"></div>
        </div>
      </div>
    </section>
    <!-- Event Location End -->
    <!-- Event Organizer Start -->
    <section id="divabout" class="">
      <div class="height-40" id="organizer"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <!-- Event Location Start -->
            <h2 id="CPMain_ctl00_infoabout" class="EventHeadTitle position-relative">
              <label class="customlabelabttheorg customfontabttheorg"> About the Organizer</label><span class="tline"></span>
            </h2>
            <!-- Event Location End -->
            <div class="OrganizerInfoMDiv">
              <h3 class="OrganizerNameMDiv">
                <span id="CPMain_ctl00_lblClientName">Oregon Rotary Club</span>
              </h3>
              <span id="CPMain_ctl00_lblClientUrl"></span>
              <span id="CPMain_ctl00_lblContact"></span>
            </div>
            <div class="EventOrganizerContentMDiv">
              <p>
                <span id="CPMain_ctl00_lblEventOrganizerDescription">Oregon Rotary</span>
              </p>
              <a class="organizer-btn m-t-10 customlabelcontact" href="javascript:void(0);" id="triggerContact">Contact the Organizer</a>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Faq Questions Start -->
    <section id="CPMain_ctl00_Faqquestion" class="" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-4 col-sm-12- col-xs-12">
            <h2 id="CPMain_ctl00_infoFaqquestion" class="EventHeadTitle LineHeight30 MobileBottom position-relative customlabelfaqquestion"><label class="customlabelfaq">Frequently Asked </label><span class="TitleBreak">Questions</span> <span
                class="tline"></span></h2>
          </div>
          <div class="col-md-8 col-sm-12- col-xs-12">
            <div class="FaqQuestionRow WordBreakWord">
              <div class="AccordionFaqMDiv">
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Faq Questions End -->
    <div id="speaker-background" class="modal fade speaker-background NewSpearkerPopupDetail">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close new-spearker-popup-close" data-dismiss="modal" aria-hidden="true">×</button>
            <div class="new-spearker-popup-image hidden-xs">
              <img class="img-responsive imspk">
            </div>
            <div class="new-spearker-popup-title">
              <h5 class="speaker-title"></h5>
              <p class="speaker-text"></p>
              <h6 class="SpeakerText"></h6>
              <h6 class="SpeakerCompany"></h6>
              <p class="new-spearker-popup-url awebsiteurl"><i class="fa fa-globe"></i><a class="speakerurl" target="_blank"></a></p>
            </div>
            <div class="clearfix"></div>
          </div>
          <div class="modal-body bodyremove">
            <div class="divabtspeaker">
              <h4 class="about-speaker"></h4>
              <p class="speaker-description"></p>
            </div>
            <div class="divcontspeaker">
              <h4 class="follow-speaker"></h4>
              <span class="SpeakerLink"></span>
            </div>
          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    <section id="CPMain_ctl00_eventspeaker" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <h2 id="CPMain_ctl00_infospeakers" class="EventHeadTitle position-relative">
              <label class="customlabelspeakers customfontspeakers">Speakers</label>
              <span class="tline"></span>
            </h2>
            <div class="row m-t-20">
              <div class="clearfix"></div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Speakers End -->
    <!-- /Event Speakers .modal -->
    <div id="speaker-backgrounda" class="modal fade speaker-backgrounda">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
            <div class="clearfix"></div>
          </div>
          <div class="modal-body">
            <p class="speaker-description"></p>
          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    <!-- /Event Speakers .modal -->
    <div id="sponsor-background" class="modal fade sponsor-background NewSponsorPopupDetail">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close new-sponsor-popup-close" data-dismiss="modal" aria-hidden="true">×</button>
            <div class="new-sponsor-popup-image hidden-xs">
              <img class="img-responsive imspk"
                src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAABKCAMAAACB4Ta6AAAAt1BMVEX///9NFIz/ZgD/WQA/AIXQx97/0MA/C5DLUknh2+r/1MI6AIPOxN3/XAD/5Nr/YQC1qstGAIn/9PD/nHv/+vb/cTBKDItVKZD/ayXz8Pb/YROQfLP9+/5fOZb/1cf/6eD/SwDDudX/xK//ooD/tJf14d8hAHkwAInJQzlRIY5mR5qvosicjbuXhbijlL/a0uV5XKWKdLD/hk//eD9+Zaj/jmH/rI7/vKb/lXJuT57/i2jo5e7ty8r+LQxtAAADl0lEQVRoge2YfVPiMBDGg6S900DbVKgUitjCqYgUEEE97vt/rivNbmhDoVQZZ+4mzx+Qprvjj7w82UiIlpaWlpaWlpaWltZ/Lf9yX6fkBRD7y1LlnoWrwagiNj4l7/I+DX54bCq6M8/CZdCaIq9/EhdLg3/8vFBUv9VcmquAywPxL3Kded2Pb0Djp89wdVD2eceLhb7UJ7i6LRfVOi9Xo1qeynUWmH+Jy1Be+I3J8zR2ZmqvM3Eawfdx0dhogNLuj+R84pwnH8+BDL6ci1OLLchG4boqEKa1TOgwT197cj9ShkpG5Yl50s84CyF2yjj2cUPZj3XUXdTB5gvkLfHVuvp4ZUQuOc91sDgNfc2EehBR5KuuDc3me5q3guf68HSsAq6xXxODxSmjosWcJLK3/wsO+L3VxPZ2gNbw1FxVwCrimouxoK+hMemLNvMJTNx2XhH3EBe5rePDG3mDtv1SDnOUq8Z3Y0SIgOQLcgMstGfM4jE/ykUiBLPXMIl2u1q9KLk4Ch4X4n0ghok1YLhoahw+UkouGyXqwpEEw6+KZSxy8XkPBLM4mRlbzT52OzPtFmlgX5LLvka9W2nAEMFgcVnVsPZ9dQZ/kUNZncOq3WNe38tx7fvqqpnBql787J1DTtG2Q3kfmPfMS7jI0t5hRVWx9rkm/AgX72FeXMrVastJHFXGKuDCgykv4JqSfNgRLneJXHYFnz/IFYoOGjo5iV5P1ozTsvFqvWTm8e3rXLDTmBI3BufHovFGWfctKQjIr/vcAhtE0aAyFxFcaAgkSEXAPvir6A0Vn7hoo7pi66k+kdmQ6+GttS6b2n0uNDDx74Cwlhb9FEHoNMhkHbx3qL56YUsDM9fR+29zVLJF97mgsvJovAk2MRV3pDkaVnJKLXp96SUl55DdfofptDto+EsyGgxWpOQUL6ijY3TWpBYD02Ab6bfbE2vntQfO7TucPpfg8rc7O66XrkVKjvGi+n6uWmtaGcYs23Wk/iIDWU5sJw/91V5KLstaf2K8thVg9vTxoLRYZHDpgh/kcru5peZ2AAwKMHMYWe6wbH017kXxfJ+7D01qkozTGzw6Y8qRdLoReQ+PdUV3URtb4FqDJnZcp8+ja9Mclh0BfiguG2H+NuvHT0n5l9T8fO5k7h0Lvr14sH4o8/6Yqq6wIa3Bku/E2ndvzVL/OqhgYzhOONsoP8OYPE9mQXGKlpaWlpaWlpaWlta36S8pL1ZBlXfsMwAAAABJRU5ErkJggg=="
                alt="Sponsor">
            </div>
            <div class="new-sponsor-popup-title">
              <h5 class="sponsor-title sponsortitle"></h5>
              <p class="new-sponsor-popup-url awebsiteurl"><i class="fa fa-globe"></i><a class="sponsorurl" href="" target="_blank"></a></p>
            </div>
            <div class="clearfix"></div>
          </div>
          <div class="modal-body bodyremove">
            <div class="divabtsponser">
              <h4 class="about-speaker"></h4>
              <p class="sponsor-profile-description"></p>
            </div>
            <div class="divcontsponsor">
              <h4 class="follow-speaker"></h4>
              <span class="SponsorLink"></span>
            </div>
          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    <!-- Event Sponsors Start -->
    <section id="CPMain_ctl00_eventsponsor" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="">
          <div class="">
            <!-- Event Sponsors Start -->
            <h2 id="CPMain_ctl00_infosponsors" class="EventHeadTitle position-relative">
              <label class="customlabelsponsors customfontsponsors">Sponsors</label><span class="tline"></span>
            </h2>
            <div class="SponsorTierGroupMDiv">
              <h4 class="TierTitle hide">
              </h4>
              <input type="hidden" name="ctl00$CPMain$ctl00$rptgroupsponsor$ctl00$HiddenField11" id="CPMain_ctl00_rptgroupsponsor_HiddenField11_0">
              <input type="hidden" name="ctl00$CPMain$ctl00$rptgroupsponsor$ctl00$hfGroupID" id="CPMain_ctl00_rptgroupsponsor_hfGroupID_0" value="]">
              <div id="CPMain_ctl00_rptgroupsponsor_Sponsorgraddivclass_0" class="SponsorLevel3">
              </div>
              <div class="clearfix"></div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event Sponsors End -->
    <!-- Event Who'sAttending Start -->
    <!-- Event Who'sAttending End -->
    <div id="myModal" class="modal fade" role="dialog">
      <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content NewSessionPopup">
          <div class="modal-body">
            <button type="button" class="close" data-dismiss="modal">×</button>
          </div>
        </div>
      </div>
    </div>
    <!-- Event Add Schedule&Tracks for Events Start -->
    <section id="CPMain_ctl00_eventschedule" class="" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <h2 id="CPMain_ctl00_infoschedule" class="EventHeadTitle position-relative">
              <label class="customlabelschedules customfontschedules">Sessions</label><span class="tline"></span>
            </h2>
            <div class="sserchrow m-t-30">
              <div class="">
                <div class="asc"><input class="as" type="text" placeholder="Enter a keyword"></div>
                <div class="afc" style="display: none;">
                  <div class="fm" id="ChkBoxToggle"><input class="form-control" id="TotalTags" type="text" placeholder="Filter by session tag(s)"><span class="da"></span></div>
                  <div id="CPMain_ctl00_containerControl" style="display: none;">
                  </div>
                  <ul class="fddc">
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="1" type="checkbox">
                        <label for="1">Welcome</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="2" type="checkbox"><label for="2">Register</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="3" type="checkbox"><label for="3">Learning</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="4" type="checkbox"><label for="4">Programming</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="5" type="checkbox"><label for="5">Advantages</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="6" type="checkbox"><label for="6">Workshop</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="7" type="checkbox"><label for="7">Managemet</label>
                      </div>
                    </li>
                    <li class="PlaiLink">
                      <div class="checkbox check-success">
                        <input id="8" type="checkbox"><label for="8">Programs</label>
                      </div>
                    </li>
                    <li class="hide"><a href="">test</a>
                      <ul class="fsnc">
                        <li><a href="">test</a></li>
                      </ul>
                    </li>
                  </ul>
                </div>
                <div class="clearfix"></div>
              </div>
              <div class="sserchresult m-t-10" id="showTagsdiv" style="display: none;">
                <div class="display-inline" id="divnewtag"></div>
                <span href="javascript:void(0);" class="ClearTagBtn hide">Clear all <a class="CloseIcon" href="javascript:void(0);"><span class="Icon">×</span></a></span>
              </div>
            </div>
            <div></div>
            <div class="session-info">
            </div>
          </div>
        </div>
      </div>
      <input type="hidden" name="ctl00$CPMain$ctl00$hfschedulecount" id="CPMain_ctl00_hfschedulecount" value="0">
    </section>
    <section id="CPMain_ctl00_secphotogallery" class="" style="display:none">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12 pad-right0">
            <!-- Event Location Start -->
            <h2 id="CPMain_ctl00_infoPhotogallery" class="EventHeadTitle position-relative customlabelphotogallery">Photo Gallery</h2>
            <!-- Event Location End -->
          </div>
        </div>
      </div>
    </section>
    <!-- Event Add Schedule&Tracks for Events End -->
    <!-- Event comments Start -->
    <section id="eventcomments" class="">
      <div class="height-40"></div>
      <div class="container Container1280">
        <div class="row">
          <div class="col-md-12">
            <!-- Event comments Start -->
            <h2 class="EventHeadTitle position-relative" id="infocomments">
              <lable class="customlabelcomments customfontcomments">Comments</lable><span class="tline"></span>
            </h2>
            <!-- Event comments End -->
            <div class="comment-info">
              <div class="panel">
                <div id="discussion" style="visibility: visible;">
                  <input type="hidden" name="ctl00$CPMain$ctl00$HiddenField3" id="CPMain_ctl00_HiddenField3">
                  <div id="div_facebook">
                    <div id="fb-root" class=" fb_reset">
                      <div style="position: absolute; top: -10000px; width: 0px; height: 0px;">
                        <div></div>
                      </div>
                    </div>
                    <div class="fb-comments fb_iframe_widget fb_iframe_widget_fluid_desktop" data-href="https://tickets.oregonrotary.org/e/2138778782" data-colorscheme="light" data-width="1248" fb-xfbml-state="rendered"
                      fb-iframe-plugin-query="app_id=215909627843&amp;color_scheme=light&amp;container_width=0&amp;height=100&amp;href=https%3A%2F%2Ftickets.oregonrotary.org%2Fe%2F2138778782&amp;locale=en_US&amp;sdk=joey&amp;width=1248"><span
                        style="vertical-align: bottom; width: 1248px; height: 209px;"><iframe name="fcd00f66d3ba6b51a" width="1248px" height="100px" data-testid="fb:comments Facebook Social Plugin" title="fb:comments Facebook Social Plugin"
                          frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" allow="encrypted-media"
                          src="https://www.facebook.com/plugins/comments.php?app_id=215909627843&amp;channel=https%3A%2F%2Fstaticxx.facebook.com%2Fx%2Fconnect%2Fxd_arbiter%2F%3Fversion%3D46%23cb%3Df531a4dfd382c498f%26domain%3Dtickets.oregonrotary.org%26is_canvas%3Dfalse%26origin%3Dhttps%253A%252F%252Ftickets.oregonrotary.org%252Ff9aacc975cd9785e7%26relation%3Dparent.parent&amp;color_scheme=light&amp;container_width=0&amp;height=100&amp;href=https%3A%2F%2Ftickets.oregonrotary.org%2Fe%2F2138778782&amp;locale=en_US&amp;sdk=joey&amp;width=1248"
                          style="border: none; visibility: visible; width: 1248px; height: 209px;" class=""></iframe></span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Event comments End -->
    <div id="divCategoryInvite" class="modal fade">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title">Enter unlock code</h4>
          </div>
          <div class="modal-body">
            <div class="form-horizontal CategoryInviteAppender">
            </div>
          </div>
          <div class="modal-footer">
            <button id="CPMain_ctl00_Button1" class="btn border close-icon" data-dismiss="modal" aria-hidden="true">Close</button>
            <input type="submit" name="ctl00$CPMain$ctl00$btnValidateCatInvite" value="Submit" onclick="return ValidateCatInvite();" id="CPMain_ctl00_btnValidateCatInvite" class="btn btn-primary save-icon">
          </div>
        </div>
        <!-- /.modal-content -->
      </div>
      <!-- /.modal-dialog -->
    </div>
    <input type="hidden" name="ctl00$CPMain$ctl00$hdn_ShowDiscussion" id="CPMain_ctl00_hdn_ShowDiscussion" value="2">
    <input type="hidden" name="ctl00$CPMain$ctl00$hdnwaitdiscount" id="CPMain_ctl00_hdnwaitdiscount">
    <input type="hidden" name="ctl00$CPMain$ctl00$hdnSubdomain" id="CPMain_ctl00_hdnSubdomain" value="false">
  </div>
  <footer class="FooterMdiv evbrand hide" id="footer">
    <div class="container Container1280">
      <div class="row">
        <div class="col-md-12">
          <p class="FooterEmblem">
            <a href="https://www.eventzilla.net/us/home?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=logo" target="_blank"> <img src="/assets/v1/images/nt-eventzilla-emblem.png" alt="EventZilla"></a>
          </p>
          <p class="FooterSubText">This event is powered by Eventzilla.
            <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'FindTickets-Btm');" href="https://app.eventzilla.net/us/signup?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=list-event" target="_blank">List your event today for free</a>
          </p>
          <div class="FooterLinkText">
            <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'ContactUs');" class="m-r-15" href="https://www.eventzilla.net/us/contact?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=contact" target="_blank">Contact Us</a>
            <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'Privacy');" class="m-r-15" href="https://www.eventzilla.net/privacy?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=privacy" target="_blank">Privacy Policy</a>
            <a onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'TermsOfUse');" class="m-r-15" href="https://www.eventzilla.net/terms-conditions?utm_medium=web&amp;utm_source=event-reg&amp;utm_campaign=int-ref&amp;utm_content=ftr&amp;utm_term=terms" target="_blank">Terms of Service</a>
            <a id="a_reportabuselink" onclick="ga('send', 'event', 'AttendeeInteractions', 'CTASalesFunnel', 'AbuseReport');" href="mailto:help@eventzilla.net?subject=Abuse Report&amp;body=https://tickets.oregonrotary.org">Report abuse</a>
          </div>
        </div>
      </div>
    </div>
  </footer>
  <!-- Invite Event modal Start  -->
  <div id="pnlInvite" class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
          <h4 class="modal-title">Enter unlock code</h4>
        </div>
        <div class="modal-body">
          <div class="form-group" style="margin: 0">
            <div class="col-sm-8">
              <p style="margin: 0">Please enter below, the secure invite code provided to you by the event organizer in order to proceed...</p>
            </div>
            <div class="col-sm-4">
              <input name="ctl00$CPMain$ctl00$txtInvitecode" type="text" id="CPMain_ctl00_txtInvitecode" class="form-control" onblur="setHiddenFieldVal(this.value);">
            </div>
            <div class="clearfix"></div>
          </div>
          <input type="hidden" name="ctl00$CPMain$ctl00$hdnInviteCode" id="CPMain_ctl00_hdnInviteCode">
          <input type="hidden" name="ctl00$CPMain$ctl00$hdnInviteccode" id="CPMain_ctl00_hdnInviteccode">
        </div>
        <div class="modal-footer">
          <input type="button" class="btn btn-primary proceed-icon" onclick="return sendHiddenVariable();" value="Proceed">
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <!-- Invite Event modal End -->
  <!-- Sponsor Event Contact Organozer modal Start -->
  <div id="contactOrganizer" class="modal fade" tabindex="-1" role="grid" aria-labelledby="basicModal" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content NewContactPopup">
        <div class="modal-body">
          <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
          <h3 class="PopupTitle">Contact Organizer</h3>
          <div class="row">
            <div class="form-group col-lg-6 col-md-6 col-sm-12 col-xs-12">
              <label class="control-label">Your Name</label>
              <input name="ctl00$CPMain$ctl00$txtYourName" type="text" id="CPMain_ctl00_txtYourName" class="form-control">
              <span id="spReqlblUsrName" class="hide" style="color: red;">Name is required</span>
            </div>
            <div class="form-group col-lg-6 col-md-6 col-sm-12 col-xs-12">
              <label class="control-label" for="inputEmail3">Email Address</label>
              <input name="ctl00$CPMain$ctl00$txtEmailAddress" type="text" id="CPMain_ctl00_txtEmailAddress" class="form-control">
              <span id="spReqlblOrgMail" class="hide" style="color: red;">Email is required</span>
              <span id="spRegularlblOrgMail" class="hide" style="color: red;">Please enter a valid email address</span>
            </div>
            <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12">
              <label class="control-label" for="inputEmail3">Subject</label>
              <input name="ctl00$CPMain$ctl00$txtSubject" type="text" id="CPMain_ctl00_txtSubject" class="form-control">
              <span id="spReqlblSubject" class="hide" style="color: red;">Subject is required</span>
            </div>
            <div class="form-group col-lg-6 col-md-12 col-sm-12 col-xs-12">
              <label class="control-label" for="txtPhonenumber">Phone Number (Optional)</label>
              <input name="ctl00$CPMain$ctl00$txtPhonenumber" type="text" maxlength="20" id="CPMain_ctl00_txtPhonenumber" class="form-control">
              <span id="spReqPhone" class="hide" style="color: red;">Only Numeric Characters allowed</span>
            </div>
            <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12">
              <label class="control-label" for="inputEmail3">Enquiry</label>
              <textarea name="ctl00$CPMain$ctl00$txtSendmessage" rows="4" cols="20" id="CPMain_ctl00_txtSendmessage" class="form-control"></textarea>
              <span id="spReqenquiry" class="hide" style="color: red;">Enquiry is required</span>
            </div>
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 popup-action">
              <button id="CPMain_ctl00_modalhide" class="btn border close-btn" data-dismiss="modal" aria-hidden="true">Close</button>
              <input type="submit" name="ctl00$CPMain$ctl00$btnSendMessage" value="Send" id="CPMain_ctl00_btnSendMessage" class="btn btn-primary save-btn">
            </div>
          </div>
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <!-- /.modal -->
  <!-- Sponsor Event Contact Organozer modal End -->
  <div id="Modal_PaypalDoubleBooking_alert" class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content NewContactPopup">
        <div class="modal-body">
          <button type="button" class="close pull-right" data-dismiss="modal" onclick="javascript:window.top.location.href = window.top.location.href;" aria-hidden="true">×</button>
          <h3 class="PopupTitle NoImage">Duplicate transaction?</h3>
          <div class="alert alert-danger"> Looks like you just purchased a ticket for this event for the same amount using the same details in the last hour. Are you sure you want to proceed with this registration? </div>
          <div class="popup-action">
            <input type="button" class="btn btn-default" id="btnCancelRedirect" value="No, Cancel">
            <input type="button" id="btnRedirect_url" class="btn btn-primary" value="Yes, Continue">
            <input type="hidden" id="hfredirect_url">
          </div>
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <!-- Blocked IP Request start-->
  <div id="Modal_IPWhiteListRequest" class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content NewContactPopup">
        <div class="modal-body">
          <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
          <h3 class="PopupTitle NoImage">Access Denied</h3>
          <div class="alert alert-danger"> The IP address of the network that you are using to access this website has been blacklisted due to potential threats of SPAM and/or other illegitimate activity. </div>
          <div class="alert alert-plain AlertIPMDiv"> If you believe that your request has been blocked incorrectly, here are some common suggestions for you to try: <ul>
              <li>Disconnect from a VPN or any other kind of proxy service.</li>
              <li>Avoid using a public WIFI or network to access this website.</li>
            </ul> If neither of the above conditions apply to you; then you can send us a request to have your IP address whitelisted by completing the form below. </div>
          <div class="row">
            <div class="form-group col-md-6 col-sm-6 col-xs-12">
              <label class="control-label">Your name *</label>
              <input name="ctl00$CPMain$ctl00$txtWLYourName" type="text" id="CPMain_ctl00_txtWLYourName" class="form-control">
              <span id="reqtxtWLYourName" class="error-mdiv  hide">Please enter your name </span>
            </div>
            <div class="form-group col-md-6 col-sm-6 col-xs-12">
              <label class="control-label">Your email *</label>
              <input name="ctl00$CPMain$ctl00$txtWLYourEmail" type="text" id="CPMain_ctl00_txtWLYourEmail" class="form-control">
              <p class="SubText">(Please use a genuine email address. It will be used to validate your request)</p>
              <span id="reqtxtWLYourEmail" class="error-mdiv  hide">Please enter your email </span>
            </div>
            <div class="form-group col-md-6 col-sm-6 col-xs-12">
              <label class="control-label">Your Phone (Optional)</label>
              <input name="ctl00$CPMain$ctl00$txtWLYourPhone" type="text" id="CPMain_ctl00_txtWLYourPhone" class="form-control" onblur="setHiddenFieldVal(this.value);">
            </div>
            <div class="form-group col-md-6 col-sm-6 col-xs-12">
              <label class="control-label">Your location *</label>
              <select name="ctl00$CPMain$ctl00$ddlWLYourLocation" id="CPMain_ctl00_ddlWLYourLocation" class="form-control" onblur="setHiddenFieldVal(this.value);">
              </select>
              <span id="reqddlWLYourLocation" class="error-mdiv  hide">Please select your country </span>
            </div>
            <div class="form-group col-md-12 col-sm-12 col-xs-12">
              <label class="control-label">Reason for visit *</label>
              <textarea name="ctl00$CPMain$ctl00$txtWLReasonforVisit" rows="2" cols="20" id="CPMain_ctl00_txtWLReasonforVisit" class="form-control"></textarea>
              <span id="reqtxtWLReasonforVisit" class="error-mdiv  hide">Please enter your reason </span>
            </div>
          </div>
          <div class="popup-action">
            <input type="submit" name="ctl00$CPMain$ctl00$btnWhiteListSubmitRequest" value="Submit" onclick="javascript:return ipWhiteList_Validation();" id="CPMain_ctl00_btnWhiteListSubmitRequest" class="btn btn-primary save-btn">
          </div>
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <div id="EmailInvite_Recipient" class="modal fade">
    <div class="modal-dialog">
      <div class="modal-content NewContactPopup">
        <div class="modal-body">
          <button type="button" class="close pull-right" data-dismiss="modal" aria-hidden="true">×</button>
          <h3 class="PopupTitle NoImage">Your are invited</h3>
          <div class="alert alert-info"> Email invite functionality features or organizer description details </div>
          <div class="row">
            <div class="form-group col-md-6 col-sm-6 col-xs-12">
              <label class="control-label">Your name:</label>
              <span id="CPMain_ctl00_lbl_EInvite_recp"></span>
            </div>
          </div>
          <table style="width: 100%;">
            <tbody>
              <tr>
                <td style="width: 70%;">Ticket</td>
                <td colspan="1">Price</td>
                <td colspan="1">Quantity</td>
              </tr>
              <tr>
                <td style="width: 70%;"> <span id="CPMain_ctl00_lbl_EInvite_ticket" class="tdCategory"></span></td>
                <td colspan="1"><span id="CPMain_ctl00_lbl_EInvite_price" class="tdCategory"></span></td>
                <td colspan="1"><span id="CPMain_ctl00_lbl_EInvite_qty" class="tdCategory">1</span></td>
              </tr>
            </tbody>
          </table>
          <div class="row hide">
            <div class="form-group col-md-8 col-sm-8 col-xs-12">
              <label class="control-label">Ticket</label>
            </div>
            <div class="form-group col-md-2 col-sm-2 col-xs-12">
              <label class="control-label">Price</label>
            </div>
            <div class="form-group col-md-2 col-sm-2 col-xs-12">
              <label class="control-label">Quantity</label>
            </div>
          </div>
          <div class="popup-action">
            <input type="submit" name="ctl00$CPMain$ctl00$btnEmailInviteComplete" value="Submit" id="CPMain_ctl00_btnEmailInviteComplete" class="btn btn-primary save-btn">
          </div>
        </div>
      </div>
      <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
  </div>
  <!-- Blocked IP Request End-->
  <div id="recaptcha" class="g-recaptcha" data-sitekey="6LeAW1AUAAAAALuw0EO_fuwZUck3UF48nqwauCKL" data-callback="onSubmit" data-size="invisible">
    <div class="grecaptcha-badge" data-style="bottomright" style="width: 256px; height: 60px; display: block; transition: right 0.3s; position: fixed; bottom: 14px; right: -186px; box-shadow: gray 0px 0px 5px; border-radius: 2px; overflow: hidden;">
      <div class="grecaptcha-logo"><iframe title="reCAPTCHA" width="256" height="60" role="presentation" name="a-mfhmo3bndfu7" frameborder="0" scrolling="no"
          sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"
          src="https://www.google.com/recaptcha/api2/anchor?ar=1&amp;k=6LeAW1AUAAAAALuw0EO_fuwZUck3UF48nqwauCKL&amp;co=aHR0cHM6Ly90aWNrZXRzLm9yZWdvbnJvdGFyeS5vcmc6NDQz&amp;hl=en&amp;v=Xv-KF0LlBu_a0FJ9I5YSlX5m&amp;size=invisible&amp;cb=ix7k306tucjd"></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>
  <iframe id="loadcheckoutpg" name="loadcheckoutpg" class="hide" src="/ModernCheckoutFlow.html"
    style="border: medium none; position: fixed; top: 0px; left: 0px; display: block; margin: 0px; padding: 0px; border: medium none; height: 100vh; width: 100vw; z-index: 2147483647; overflow: scroll;" frameborder="0"></iframe>
  <input type="hidden" name="ctl00$CPMain$ctl00$hdnHeaderType" id="CPMain_ctl00_hdnHeaderType">
  <input type="hidden" name="ctl00$CPMain$ctl00$hdnFontStyle" id="CPMain_ctl00_hdnFontStyle">
  <input type="hidden" name="ctl00$CPMain$ctl00$hf_ispreview" id="CPMain_ctl00_hf_ispreview" value="false">
  <input type="hidden" name="ctl00$CPMain$ctl00$hdSpeakerTheme" id="CPMain_ctl00_hdSpeakerTheme" value="Theme1">
  <script src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/js/jquery.cut-list.js"></script>
  <script type="text/javascript">
    $(document).ready(function() {
      $("#accordion div.Accordion div.AccordionTitle").click(function() {
        if (false == $(this).next().is(':visible')) {
          //$('#accordion div.AccordionShowBox').slideUp(300);
          $(this).addClass("ShowIcon");
        } else {
          $(this).removeClass("ShowIcon");
        }
        $(this).next().slideToggle(300);
      });
      $('#accordion div.AccordionShowBox:eq(0)').show();
      $('#accordion div.AccordionTitle:eq(0)').addClass("ShowIcon");
    });
    $(document).load($(window).bind("resize", checkPosition));
    checkPosition();

    function checkPosition() {
      if ($(window).width() < 768) {
        $("#ulMenu").removeClass("cut-list");
      }
    }
    $(document).ready(function() {
      $(".overlay-box").on('click', function() {
        $(this).find(".option-zoom-btn").click();
      });
      $(".cut-list").cutList({
        moreBtnTitle: '<img src="https://d2poexpdc5y9vj.cloudfront.net/themes/3.0/img/SaleNavCutMoreIcon.png" title="More Nav" alt="More Nav">',
        showMoreOnHover: true,
        risezeDelay: 100
      });
    });
  </script>
  <!-- have to add Comments feature  satesh-->
  <script type="text/javascript">
    $(".lvbtn").remove();
    $(".gvbtn").remove();
    $('.tabpresentation').click(function() {
      var tagid = $(this).find('a').attr("class");
      MultiSessionRows(tagid);
      //SetTagDivHeight(tagid);
    });

    function MultiSessionRows(tagid) {
      $("#" + tagid + " .smainrow").each(function() {
        $('.gridpane').removeClass("active");
        $("#" + tagid).addClass("active");
        var NewHeightid = $(this).attr('id');
        var NewHeight = $("#" + NewHeightid).find('.MultiSessionRows').height();
        $("#" + tagid).find("#" + NewHeightid + ' .MultiSessionRows .Column-Style').css("height", NewHeight);
      });
    }
    $(document).ready(function() {
      if ($("#CPMain_ctl00_hdnHeaderAlign").val() != "") {
        if ($("#CPMain_ctl00_hdnHeaderAlign").val() == "Left") {
          if ($("#divHeaderOPtion2").hasClass("RightAlign")) {
            $("#divHeaderOPtion2").removeClass("RightAlign");
          }
          $("#divHeaderOPtion2").addClass("LeftAlign");
        } else {
          if ($("#divHeaderOPtion2").hasClass("LeftAlign")) {
            $("#divHeaderOPtion2").removeClass("LeftAlign");
          }
          $("#divHeaderOPtion2").addClass("RightAlign");
        }
      }
      $(".Arrow-Left").click(function() {
        // $(".Scroll-Width").animate({ scrollLeft: "-=" + 326 });
        $(this).parent().find(".Scroll-Width").animate({
          scrollLeft: "-=" + 326
        });
      });
      $(".Arrow-Right").click(function() {
        $(this).parent().find(".Scroll-Width").animate({
          scrollLeft: "+=" + 326
        });
        // $(".Scroll-Width").animate({ scrollLeft: "+=" + 326 });
      });
    });
    $('.nav-tabs').scrollingTabs();
    //  $(".lvbtn").addClass("active");
    $(".lvbtn").click(function() {
      $(".lvbtn").addClass("active");
      $(".gvbtn").removeClass("active");
      $(".datelist").show();
      $(".dategrid").hide();
    });
    $(".gvbtn").click(function() {
      $(".lvbtn").removeClass("active"); //  view-action 
      $(".gvbtn").addClass("active");
      $(".datelist").hide();
      $(".dategrid").show();
      var tagid = $('.tabpresentation.active').find('a').attr("class");
      if (tagid == undefined) {
        tagid = "tabg1";
      }
      MultiSessionRows(tagid);
    });
    $(".gvbtn").addClass("active");
    $(".datelist").hide();
    $(".dategrid").show();
    var tagid = "";
    if ($('.tabpresentation').hasClass("active")) {
      tagid = $('.tabpresentation.active').find('a').attr("class");
    } else if ($('.tab-pane.gridpane').hasClass("active")) {
      tagid = $('.tab-pane.gridpane.active').attr("id");
    }
    $(".dategrid").delay(500).queue(function() {
      var tagid = $('.tabpresentation.active').find('a').attr("class");
      if (tagid == undefined) {
        tagid = "tabg1";
      }
      MultiSessionRows(tagid);
    });
    //$(".dategrid").delay(500).queue(function(){
    //    $(".dategrid").hide();
    //});
    $('.FilterDropDownContent').click(function(e) { //button click class name is myDiv
      e.stopPropagation();
    })
    $(document).on("click", ".FilterSubNavContent", function(event) {
      event.stopPropagation();
    });
    $(function() {
      $(document).click(function() {
        $('.FilterDropDownContent').hide(); //hide the button
        $(".FilterMdiv").removeClass('active');
        $("ul.FilterDropDownContent li").removeClass('active');
      });
    });
    $(".FilterMdiv").on("click", function(event) {
      $(this).toggleClass('active');
      $('.FilterDropDownContent').toggle();
      event.stopPropagation();
    });
    $("ul.FilterDropDownContent li a.click").on("click", function() {
      $(this).parent('li').toggleClass('active');
    });
    $('.AutoSearch').on('blur', function() {
      $('div.SearchResult').slideUp('500');
    });
    $('.AutoSearch').on('focus', function() {
      $(this).siblings('div.SearchResult').slideDown('500');
    });
    $('div.SearchResult').hide();

    function btnSessionCalendar_Click(id) {
      var sp = id.split('_');
      $("#" + sp[0] + "_" + sp[1] + "_" + "calendarsession" + sp[3]).slideToggle();
    }
    //function btnSessionSpeaker_Click(id) {
    //    var sp = id.split('_');
    //    $("#" + sp[0] + "_" + sp[1] + "_" + "speakerdetail" + "_" + sp[3]).slideToggle();
    //}
    function btnSessionModal_Click(id) {
      var sp = id.split('_');
      $(".SessionModal").hide();
      $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "_" + "Modal").attr('style', 'display:block');
    }

    function btnSessionModal_Click(id) {
      var sp = id.split('_');
      $(".SessionModal").hide();
      $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "_" + "Modal").attr('style', 'display:block');
    }
    //function btnSessionSpeakerModal_Click(id, Type) {
    //    var sp = id.split('_');
    //    if (Type == "grid") {
    //      //  $("#" + sp[0] + "_" + sp[1] + "_" + sp[2]).parent().find(".SpeakImg").removeClass("Active");
    //      //  $("#" + sp[0] + "_" + sp[1] + "_" + sp[2]).addClass("Active");
    //        $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "SpeakDetail").parent().find(".SpeakDetail").addClass("hide");
    //        $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "SpeakDetail").removeClass("hide");
    //    }
    //    else if (Type == "list") {
    //      //  $("#" + sp[0] + "_" + sp[1] + "_" + sp[2]).parent().find(".SpeakImg").removeClass("Active");
    //      //  $("#" + sp[0] + "_" + sp[1] + "_" + sp[2]).addClass("Active");
    //        $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "SpeakDetail").parent().find(".SpeakDetail").addClass("hide");
    //        $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "SpeakDetail").removeClass("hide");
    //    }
    //}
    $(document).ready(function() {
      // <!--Plug-in Initialisation--> 
      //Horizontal Tab
      $('#parentHorizontalTab').easyResponsiveTabs({
        type: 'default', //Types: default, vertical, accordion
        width: 'auto', //auto or any width like 600px
        fit: true, // 100% fit in a container
        tabidentify: 'hor_1', // The tab groups identifier
        activate: function(event) { // Callback function if tab is switched
          var $tab = $(this);
          var $info = $('#nested-tabInfo');
          var $name = $('span', $info);
          $name.text($tab.text());
          $info.show();
        }
      });
    });
    $('.flipper').hover(function() {
      $(this).addClass('flip');
    }, function() {
      $(this).removeClass('flip');
    });
    $(document).ready(function() {
      $(".new-spearker-info .speaker-detail").click(function() {
        $('.speaker-background .speaker-title').html($(this).closest(".new-spearker-info").find(".speakerfullname").html());
        $('.speaker-background .speaker-text').html($(this).closest(".new-spearker-info").find(".speaker-text").html());
        $('.speaker-background .speaker-description').html($(this).closest(".new-spearker-info").find(".speaker-description").html());
        $('.speaker-background .facebook-color').attr("href", "javascript:void(0);");
        $('.speaker-background .imspk').attr("src", $(this).closest(".new-spearker-info").find(".imgspk").attr("src"));
        $('.speaker-background .about-speaker').html($(this).closest(".new-spearker-info").find(".about-speaker").html());
        $('.speaker-background .follow-speaker').html($(this).closest(".new-spearker-info").find(".follow-speaker").html());
        $('.speaker-background .SpeakerText').html($(this).closest(".new-spearker-info").find(".SpeakerJobs").html());
        $('.speaker-background .SpeakerCompany').html($(this).closest(".new-spearker-info").find(".SpeakerCompany").html());
        ////// NEW SATHISH
        var a = $(this).closest(".new-spearker-info").find(".bottom-speaker-mdiv").html();
        $('.speaker-background .SpeakerLink').html($(this).closest(".new-spearker-info").find(".bottom-speaker-mdiv").html());
        //$('.speaker-background .facebook-color').attr("href", $(this).closest(".new-spearker-info").find(".facebook-color").attr("href"));
        //if ($('.speaker-background .facebook-color').attr("href") == "javascript:void(0);") { $('.speaker-background .facebook-color').attr("style", "display:none"); }
        //else { $('.speaker-background .facebook-color').attr("style", "display:inline-block"); }
        //$('.speaker-background .twitter-color').attr("href", "javascript:void(0);");
        //$('.speaker-background .twitter-color').attr("href", $(this).closest(".new-spearker-info").find(".twitter-color").attr("href"));
        //if ($('.speaker-background .twitter-color').attr("href") == "javascript:void(0);") { $('.speaker-background .twitter-color').attr("style", "display:none"); }
        //else { $('.speaker-background .twitter-color').attr("style", "display:inline-block"); }
        if ($(this).closest(".new-spearker-info").find(".speakerurl").attr("href") == "") {
          $(".awebsiteurl").attr("class", "new-spearker-popup-url awebsiteurl hide");
        } else {
          $(".awebsiteurl").removeClass("hide");
        }
        if ($(this).closest(".new-spearker-info").find(".speaker-description").html() == "" && typeof $(this).closest(".new-spearker-info").find(".twitter-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info")
          .find(".facebook-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".linkedin-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".instagram-color")
          .attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".wordpress-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".youtube-color").attr("href") === "undefined"
          ) {
          $(".bodyremove").attr("class", "modal-body bodyremove hide");
        } else {
          $(".bodyremove").removeClass("hide");
        }
        if ($(this).closest(".new-spearker-info").find(".speaker-description").html() == "") {
          $(".divabtspeaker").attr("class", "divabtspeaker hide");
        } else {
          $(".divabtspeaker").removeClass("hide");
        }
        if (typeof $(this).closest(".new-spearker-info").find(".twitter-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".facebook-color").attr("href") === "undefined" && typeof $(this).closest(
            ".new-spearker-info").find(".linkedin-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".instagram-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(
            ".wordpress-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".youtube-color").attr("href") === "undefined") {
          $(".divcontspeaker").attr("class", "divcontspeaker hide");
        } else {
          $(".divcontspeaker").removeClass("hide");
        }
        //if ($(this).closest(".new-spearker-info").find(".bottom-speaker-mdiv").html() == "") {
        //    $(".divcontspeaker").attr("class", "divcontspeaker hide");
        //}
        //else { $(".divcontspeaker").removeClass("hide"); }
        if (typeof $(this).closest(".new-spearker-info").find(".twitter-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".facebook-color").attr("href") === "undefined" && typeof $(this).closest(
            ".new-spearker-info").find(".linkedin-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".instagram-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(
            ".wordpress-color").attr("href") === "undefined" && typeof $(this).closest(".new-spearker-info").find(".youtube-color").attr("href") === "undefined") {
          $(".divcontspeaker").attr("class", "divcontspeaker hide");
        } else {
          $(".divcontspeaker").removeClass("hide");
        }
        $('.speaker-background .speakerurl').attr("href", $(this).closest(".new-spearker-info").find(".speakerurl").attr("href"));
        $('.speaker-background .speakerurl').html($(this).closest(".new-spearker-info").find(".speakerurl").attr("href"));
        if ($('.speaker-background .speakerurl').attr("href") == "") {
          $('.speaker-background .speaker-url').attr("style", "display:none");
        } else {
          $('.speaker-background .speaker-url').attr("style", "display:inline-block");
        }
        $('.speaker-background').modal('show');
      });
      $(".sponserlinkclick").click(function() {
        $('.sponsor-background .sponsortitle').html($(this).closest(".new-sponsor-info").find(".sponsor-name-info").html());
        $('.sponsor-background .about-speaker').html($(this).closest(".new-sponsor-info").find(".about-sponsorname").html());
        $('.sponsor-background .follow-speaker').html($(this).closest(".new-sponsor-info").find(".follow-sponsorname").html());
        $('.sponsor-background .sponsorurl').html($(this).closest(".new-sponsor-info").find(".SponsorWebURL").attr("href"));
        $('.sponsor-background .sponsorurl').attr("href", $(this).closest(".new-sponsor-info").find(".SponsorWebURL").attr("href"));
        $('.sponsor-background .sponsor-profile-description').html($(this).closest(".new-sponsor-info").find(".sponsor-name-profile").html());
        $('.sponsor-background .imspk').attr("src", $(this).closest(".new-sponsor-info").find(".imgspk").attr("src"));
        $('.sponsor-background .SponsorLink').html($(this).closest(".new-sponsor-info").find(".Height50").html());
        if ($(this).closest(".new-sponsor-info").find(".sponsorurl").attr("href") == "") {
          $(".awebsiteurl").attr("class", "new-sponsor-popup-url awebsiteurl hide");
        } else {
          $(".awebsiteurl").removeClass("hide");
          // $('.sponsor-background .sponsorurl').html($(this).closest(".new-sponsor-info").find(".sponsorurl").html());
        }
        if (typeof $(this).closest(".new-sponsor-info").find(".twitter-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".facebook-color").attr("href") === "undefined" && typeof $(this).closest(
            ".new-sponsor-info").find(".linkedin-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".instagram-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(
            ".wordpress-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".youtube-color").attr("href") === "undefined") {
          $(".divcontsponsor").attr("class", "divcontsponsor hide");
        } else {
          $(".divcontsponsor").removeClass("hide");
        }
        if ($(this).closest(".new-sponsor-info").find(".sponsor-profile-description").html() == "" && typeof $(this).closest(".new-sponsor-info").find(".twitter-color").attr("href") === "undefined" && typeof $(this).closest(
            ".new-sponsor-info").find(".facebook-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".linkedin-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(
            ".instagram-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".wordpress-color").attr("href") === "undefined" && typeof $(this).closest(".new-sponsor-info").find(".youtube-color").attr(
            "href") === "undefined") {
          $(".bodyremove").attr("class", "modal-body bodyremove hide");
        } else {
          $(".bodyremove").removeClass("hide");
        }
        //  $('.sponsor-background .sponsorurl').attr("href", $(this).closest(".new-sponsor-info").find(".sponsorurl").attr("href"));
        //  $('.sponsor-background .sponsorurl').html($(this).closest(".new-sponsor-info").find(".sponsorurl").attr("href"));
        if ($('.sponsor-background .sponsorurl').attr("href") == "") {
          $('.speaker-background .sponsorurl').attr("style", "display:none");
        } else {
          $('.speaker-background .sponsorurl').attr("style", "display:inline-block");
        }
        if ($('.sponsor-profile-description').html() == "" || $('.sponsor-profile-description').html() == "undefined") {
          $(".divabtsponser").attr("class", "divabtsponser hide");
        } else {
          $(".divabtsponser").removeClass("hide");
        }
        if (($('.SponsorLink').html().trim() == "") && (($('.sponsor-profile-description').html() == "" || $('.sponsor-profile-description').html() == "undefined"))) {
          $(".bodyremove").attr("class", "modal-body bodyremove hide");
        } else {
          $(".bodyremove").removeClass("hide");
        }
        $('.sponsor-background').modal('show');
      });
    });
    $(document).ready(function() {
      var $map, $cover;
      $map = $('.google_map');
      $cover = $('<div class="cover"></div>');
      $map.append($cover);
      $cover.on('click', function() {
        $cover.remove();
      });
    });
    $(window).bind('scroll', function() {
      var navHeight = 450; // custom nav height
      var divpreview = document.getElementById('CPMain_ctl00_lblpreview');
      if ($(window).scrollTop() > navHeight) {
        $('nav').addClass('goToTop');
        if (divpreview != null && divpreview != undefined) {
          var navBar = document.getElementById('saleNav');
          var AlertHeightPre = $('.PreviewAlertHeight');
          var divPreviewHeight = AlertHeightPre.height() + 30;
          if (navBar.classList.contains('goToTop')) {
            navBar.style.marginTop = divPreviewHeight + "px";
          }
        }
      } else {
        var navBar = document.getElementById('saleNav');
        if (navBar.classList.contains('goToTop')) {
          $('nav').removeClass('goToTop');
          navBar.style.marginTop = "0px";
        }
      }
    });
    $(function() {
      $('a.page-scroll').bind('click', function(event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
          scrollTop: $($anchor.attr('href')).offset().top
        }, 800, 'easeInOutExpo');
        event.preventDefault();
      });
    });
    // Closes the Responsive Menu on Menu Item Click
    $('.navbar-collapse ul li a').click(function() {
      $('.navbar-toggle:visible').click();
    });
    $('.animated').appear(function() {
      var element = $(this);
      var animation = element.data('animation');
      var animationDelay = element.data('delay');
      if (animationDelay) {
        setTimeout(function() {
          element.addClass(animation + " visible");
          element.removeClass('hiding');
          if (element.hasClass('counter')) {
            element.children('.value').countTo();
          }
        }, animationDelay);
      } else {
        element.addClass(animation + " visible");
        element.removeClass('hiding');
        if (element.hasClass('counter')) {
          element.children('.value').countTo();
        }
      }
    }, {
      accY: -110
    });
    $(document).ready(function() {
      var showChar = 100; // How many characters are shown by default
      var ellipsestext = "...";
      var moretext = "Show more";
      var lesstext = "Show less";
      $('.more').each(function() {
        var content = $(this).html();
        if (content.length > showChar) {
          var c = content.substr(0, showChar);
          var h = content.substr(showChar, content.length - showChar);
          var html = c + '<span class="moreellipses">' + ellipsestext + '&nbsp;</span><span class="morecontent"><span>' + h + '</span>&nbsp;&nbsp;<a href="" class="morelink">' + moretext + '</a></span>';
          $(this).html(html);
        }
      });
      $(".morelink").click(function() {
        if ($(this).hasClass("less")) {
          $(this).removeClass("less");
          $(this).html(moretext);
        } else {
          $(this).addClass("less");
          $(this).html(lesstext);
        }
        $(this).parent().prev().toggle();
        $(this).prev().toggle();
        return false;
      });
    });
    $(document).ready(function() {
      var showChar = 100; // How many characters are shown by default
      var ellipsestext = "";
      var moretext = "More";
      var lesstext = "Less";
      $('.description-more').each(function() {
        var content = $(this).html();
        if (content.length > showChar) {
          var c = content.substr(0, showChar);
          var h = content.substr(showChar, content.length - showChar);
          var html = c + '<span class="moreellipses">...' + ellipsestext + '&nbsp;</span><span class="morecontent"><span>' + h + '</span>&nbsp;&nbsp;<a href="" class="track-more">' + moretext + '</a></span>';
          $(this).html(html);
        }
      });
      $(".track-more").click(function() {
        if ($(this).hasClass("Less")) {
          $(this).removeClass("Less");
          $(this).html(moretext);
        } else {
          $(this).addClass("Less");
          $(this).html(lesstext);
        }
        $(this).parent().prev().toggle();
        $(this).prev().toggle();
        return false;
      });
    });
    $(document).ready(function() {
      $("#chkdiscount").click(function() {
        $(".discount-box").slideToggle("slow");
      });
      var btnName = $("#CPMain_ctl00_btnPromo").attr("value");
      if (btnName == "Clear") {
        $("#chkdiscount").prop('checked', true);
      }
      $('[data-toggle="tooltip"]').tooltip();
      $('[data-toggle="tooltip"]').tooltip();
      if ("e" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
        $("#divTotalFee").hide();
      }
      QuantityAdd($(".QuantityAdd").index(this), "pageload");
      DiscountMoreTickets();
    });
    $(".QuantityAdd").change(function() {
      QuantityAdd($(".QuantityAdd").index(this), "ddl");
      DiscountMoreTickets();
    });

    function DonationAddfun() {
      QuantityAdd("0", "donation");
      DiscountMoreTickets();
    }

    function DiscountMoreTickets() {
      if ($("#CPMain_ctl00_hfDiscountMoretickets").val() != "") {
        for (var s = 0; s < $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|').length; s++) {
          var j = 0;
          var iquantity = 0;
          var discountprice = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "price" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
          var discountCategory = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[0];
          var discountCategoryList = discountCategory.split('|');
          var discountmoreticket = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[1];
          var discountpercentage = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "percentage" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
          var calculatedprice = 0;
          $(".QuantityAdd").each(function() {
            if (!isNaN($(this).val()) && $(this).val() != "") {
              j = $(".QuantityAdd").index(this);
              iquantity = parseInt($(this).val());
              var isGroupCategory = $(this).attr("id").indexOf("rpGroupCat") > 0 ? "True" : "False";
              var spIndex = $(this).attr("id").split("_");
              var PresetMaster = isGroupCategory == "True" ? "CPMain_ctl00_rpGroupCat_rpCategory_" + spIndex[4] : "CPMain_ctl00_rpCategory";
              //var CategoryPrice = parseFloat($("#CPMain_ctl00_rpCategory_lblCategoryPrice_" + j).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
              var CategoryPrice = parseFloat($("#" + PresetMaster + "_lblCategoryPrice_" + spIndex[spIndex.length - 1]).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
              var hfcid = parseFloat($("#" + PresetMaster + "_hfCategoryID_" + spIndex[spIndex.length - 1]).val());
              if (!isNaN(CategoryPrice)) {
                for (var i = 0; i < discountCategoryList.length; i++) {
                  if (iquantity >= discountmoreticket && hfcid == discountCategoryList[i]) {
                    if (parseFloat(discountprice) > 0) {
                      //calculatedprice = parseFloat(calculatedprice) + parseFloat(discountprice);
                    } else {
                      //calculatedprice = parseFloat(parseFloat(CategoryPrice * iquantity) * parseFloat(discountpercentage)) / 100;
                    }
                    $("#divTotalFee").hide();
                    $(".gtotal").addClass("hide");
                  }
                }
              }
            }
          });
          // var total = $(".totalfeecostlabel").html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), '');
          //total = parseFloat(total - calculatedprice).toFixed(2);
          //$(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + total);
          //if (total > 0) {
          //    var discountfee = $(".disfeecostlabel").html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), '').replace('-', '');
          //    discountfee = parseFloat(discountfee) + parseFloat(calculatedprice);
          //    if (discountfee != "0") {
          //        $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "-" + parseFloat(discountfee).toFixed(2));
          //    }
          //    else {
          //        $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "" + parseFloat(discountfee).toFixed(2));
          //    }
          //}
        }
      }
    }

    function QuantityAdd(index, value) {
      var subtotal = 0;
      var taxamount = 0;
      var disamt = 0;
      var totalPrice = 0;
      var iquantity = 0;
      var j = 0;
      var Feevalue = 0;
      var donationFeevalue = 0;
      var indexvalue = 0;
      var feescat = 0;
      var lastdropdownindex = 0;
      if (value == "ddl") {
        indexvalue = index;
      }
      $(".QuantityAdd").each(function() {
        if (!isNaN($(this).val()) && $(this).val() != "" && $(this).val() != "0") {
          lastdropdownindex += 1;
        }
      });
      var promocid = $("#CPMain_ctl00_hfpromocid").val();
      var words = promocid.split('|');
      var len = words.length;
      var p = "";
      $(".QuantityAdd").each(function() {
        if (!isNaN($(this).val()) && $(this).val() != "" && $(this).val() != "0") {
          j = $(".QuantityAdd").index(this);
          iquantity = parseInt($(this).val()); //CPMain_ctl00_rpGroupCat_rpCategory_0_ddlQuantity_0
          var isGroupCategory = $(this).attr("id").indexOf("rpGroupCat") > 0 ? "True" : "False";
          var spIndex = $(this).attr("id").split("_");
          var PresetMaster = isGroupCategory == "True" ? "CPMain_ctl00_rpGroupCat_rpCategory_" + spIndex[4] : "CPMain_ctl00_rpCategory"; //alert( $(this).attr("id"));
          //var CategoryPrice = parseFloat($("#CPMain_ctl00_rpCategory_lblCategoryPrice_" + j).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
          var CategoryPrice = parseFloat($("#" + PresetMaster + "_lblCategoryPrice_" + spIndex[spIndex.length - 1]).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
          var taxrate = $("#CPMain_ctl00_hftaxamount").val();
          lastdropdownindex--;
          //var hfcid = parseFloat($("#CPMain_ctl00_rpCategory_hfCategoryID_" + j).val());
          var hfcid = parseFloat($("#" + PresetMaster + "_hfCategoryID_" + spIndex[spIndex.length - 1]).val());
          //alert(hfcid);
          if (!isNaN(CategoryPrice)) {
            //$("#CPMain_ctl00_btnAddOrder").val('Checkout Now');
            Feevalue += iquantity;
            var s;
            if (promocid.indexOf(hfcid) > -1 && $("#CPMain_ctl00_hfpromoticket").val() == "True") {
              if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfIsEachTicket").val() == "True") {
                subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
                disamt += parseFloat(iquantity * parseFloat($("#CPMain_ctl00_hfPromoPrice").val()));
                taxamount = parseFloat((subtotal - disamt) * taxrate) / 100;
                $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice)) - parseFloat(iquantity * parseFloat($("#CPMain_ctl00_hfPromoPrice").val()));
                //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
                feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
                if (totalPrice <= 0 && feescat <= 0) {
                  totalPrice = 0;
                  feescat = 0;
                }
              } else if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfIsEachTicket").val() == "False") {
                if (iquantity != 0) {
                  if (p.indexOf(hfcid) == -1) {
                    p = hfcid + '|' + p;
                    $("#CPMain_ctl00_hfallcid").val(p);
                  }
                } else {
                  $("#CPMain_ctl00_hfallcid").val(p);
                }
                subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
                taxamount = parseFloat(subtotal * taxrate) / 100;
                $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
                feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
                if (len > 1) {
                  totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice));
                } else {
                  totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice)) - parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
                  //totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice));
                  disamt += parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
                  taxamount = parseFloat((subtotal - disamt) * taxrate) / 100;
                  $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                }
                if (totalPrice <= 0 && feescat <= 0) {
                  totalPrice = 0;
                  feescat = 0;
                }
              } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfIsEachTicket").val() == "True") {
                subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
                totalPrice += (parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
                //disamt += (((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100) - parseFloat(iquantity * parseFloat(CategoryPrice)));
                disamt += (parseFloat(iquantity * parseFloat(CategoryPrice)) - ((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100));
                taxamount = parseFloat((subtotal - disamt) * taxrate) / 100;
                $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
                feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
                if (totalPrice <= 0) {
                  totalPrice = 0;
                  feescat = 0;
                }
              } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfIsEachTicket").val() == "False") {
                subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
                totalPrice += (parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
                //disamt += (((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100) - parseFloat(iquantity * parseFloat(CategoryPrice)));
                disamt += (parseFloat(iquantity * parseFloat(CategoryPrice)) - ((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100));
                taxamount = parseFloat((subtotal - disamt) * taxrate) / 100;
                $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
                feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
                if (totalPrice <= 0) {
                  totalPrice = 0;
                  feescat = 0;
                }
              } else {
                subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
                taxamount = parseFloat(subtotal * taxrate) / 100;
                $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
                totalPrice += iquantity * CategoryPrice;
                //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
                feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
                if (totalPrice <= 0) {
                  totalPrice = 0;
                  feescat = 0;
                }
              }
            } else if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfIsEachTicket").val() == "True" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
              totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice)) - parseFloat(iquantity * parseFloat($("#CPMain_ctl00_hfPromoPrice").val()));
              subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
              taxamount = parseFloat(totalPrice * taxrate) / 100;
              $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
              //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
              feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
              disamt += parseFloat(iquantity * parseFloat($("#CPMain_ctl00_hfPromoPrice").val()));
              if (totalPrice <= 0 && feescat <= 0) {
                totalPrice = 0;
                feescat = 0;
              }
            } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfIsEachTicket").val() == "True" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
              totalPrice += (parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
              subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
              taxamount = parseFloat(subtotal * taxrate) / 100;
              $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
              // disamt += (((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100) - parseFloat(iquantity * parseFloat(CategoryPrice)));
              disamt += (parseFloat(iquantity * parseFloat(CategoryPrice)) - ((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100));
              //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
              feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
              if (totalPrice <= 0) {
                totalPrice = 0;
                feescat = 0;
              }
            } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfIsEachTicket").val() == "False" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
              if ($("#CPMain_ctl00_hfPromoPrice").val() > 0) {
                if (0 == lastdropdownindex || 0 > lastdropdownindex) totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice)) - parseFloat(parseFloat($("#CPMain_ctl00_hfPromoPrice").val()));
                else totalPrice += parseFloat(iquantity * parseFloat(CategoryPrice));
              } else {
                totalPrice += (parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
              }
              subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
              taxamount = parseFloat(totalPrice * taxrate) / 100;
              $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
              // alert((parseFloat(iquantity * parseFloat(CategoryPrice)) - ((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100)));
              disamt += (parseFloat(iquantity * parseFloat(CategoryPrice)) - ((parseFloat(iquantity * parseFloat(CategoryPrice)) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100));
              //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
              feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
              if (totalPrice <= 0) {
                totalPrice = 0;
                feescat = 0;
              }
            } else {
              totalPrice += iquantity * CategoryPrice;
              subtotal += parseFloat(iquantity * parseFloat(CategoryPrice));
              taxamount = parseFloat(subtotal * taxrate) / 100;
              $("#CPMain_ctl00_hftaxtotalamount").val(taxamount);
              //feescat += iquantity * parseFloat($("#CPMain_ctl00_rpCategory_hf_Catfee_" + j).val());
              feescat += iquantity * parseFloat($("#" + PresetMaster + "_hf_Catfee_" + spIndex[spIndex.length - 1]).val());
              if (totalPrice <= 0 && feescat <= 0) {
                totalPrice = 0;
                feescat = 0;
              }
            }
            var spantxt = 1;
            if (value == "ddl") {
              $(".spinttext").each(function() {
                if (spantxt == parseInt(indexvalue) + 1) {
                  $(this).html($(".QuantityAdd:nth(" + indexvalue + ")").val());
                }
                spantxt++;
              });
            } else {
              indexvalue = $(".QuantityAdd").index(this);
              $(".spinttext").each(function() {
                if (spantxt == parseInt(indexvalue) + 1) {
                  $(this).html($(".QuantityAdd:nth(" + indexvalue + ")").val());
                }
                spantxt++;
              });
            }
          } else {
            var spantxt = 1;
            if (value == "ddl") {
              $(".spinttext").each(function() {
                if (spantxt == parseInt(indexvalue) + 1) {
                  $(this).html($(".QuantityAdd:nth(" + indexvalue + ")").val());
                }
                spantxt++;
              });
            }
            indexvalue = $(".QuantityAdd").index(this);
            $(".spinttext").each(function() {
              if (spantxt == parseInt(indexvalue) + 1) {
                $(this).html($(".QuantityAdd:nth(" + indexvalue + ")").val());
              }
              spantxt++;
            });
          }
          iquantity = 0;
        }
      });
      var DonationPrice = 0;
      if ($("#CPMain_ctl00_rpDonation_DonationAmount_0").val() != "" && $("#CPMain_ctl00_rpDonation_DonationAmount_0").val() != null && $("#CPMain_ctl00_rpDonation_DonationAmount_0").val().trim() != "0") {
        donationFeevalue = 1;
        DonationPrice = parseFloat($("#CPMain_ctl00_rpDonation_DonationAmount_0").val().trim());
        subtotal += DonationPrice;
        //var spcommission = $("#CPMain_ctl00_hfEventzillaPlanCommission").val().split(',');
        var jsoncommission = JSON.parse($("#CPMain_ctl00_hfEventzillaPlanCommission").val());
        if ("i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
          var feeDonation = parseFloat(jsoncommission.Minimum) + (DonationPrice * parseFloat(jsoncommission.Percentage) / 100);
          if (feeDonation > parseFloat(jsoncommission.Maximum)) feeDonation = parseFloat(jsoncommission.Maximum);
          if (jsoncommission.KioskCommission > 0) {
            var kioskFee = DonationPrice * parseFloat(jsoncommission.KioskCommission) / 100;
            if (kioskFee < jsoncommission.KioskMinimum) {
              feeDonation += parseFloat(jsoncommission.KioskMinimum);
            } else {
              feeDonation += parseFloat(kioskFee);
            }
          }
          //if (jsoncommission.HubPercentage > 0) {
          //    var hubFee = DonationPrice * parseFloat(jsoncommission.HubPercentage) / 100;
          //    if (hubFee < jsoncommission.HubMinimum) { feeDonation += parseFloat(jsoncommission.HubMinimum); }
          //    else { feeDonation += parseFloat(hubFee); }
          //}
          if (parseFloat(jsoncommission.ClientCommissionMin) > 0) {
            feeDonation = feeDonation - (feeDonation * (100 - parseFloat(jsoncommission.ClientCommissionMin))) / 100;
          } else if (parseFloat(jsoncommission.EventCommissionMin) > 0) {
            feeDonation = feeDonation - (feeDonation * (100 - parseFloat(jsoncommission.EventCommissionMin))) / 100;
          }
          if (parseFloat(jsoncommission.ClientCommissionMin) > 0 && parseFloat(jsoncommission.ClientCommissionMin) >= 100) {
            feeDonation = 0;
          }
          if ($("#CPMain_ctl00_hfEventZillaPayment").val() != "") {
            var eventzillapayment = $("#CPMain_ctl00_hfEventZillaPayment").val().split('|');
            if (3 == eventzillapayment.length && "i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
              feeDonation = feeDonation + (feeDonation * 18 / 100);
            }
          }
          feescat += feeDonation;
        }
      }
      if ((parseInt(Feevalue) + parseInt(donationFeevalue)) > 0) {
        $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + feescat.toFixed(2));
        $("#CPMain_ctl00_hfPromoPercentageFees").val(feescat);
      } else {
        $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
        $("#CPMain_ctl00_hfPromoPercentageFees").val(feescat);
      }
      // $("#spFee").html(feescat);
      if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfIsEachTicket").val() == "False" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
        disamt += parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
        if (totalPrice > 0) {
          totalPrice = totalPrice + DonationPrice;
        } else {
          totalPrice = DonationPrice;
        }
        if (parseFloat(totalPrice + taxamount).toFixed(2) > 0 && $("#CPMain_ctl00_hfEventZillaPayment").val() != "") {
          var eventzillapayment = $("#CPMain_ctl00_hfEventZillaPayment").val().split('|');
          //Removed taxamount
          CalculatedFee = parseFloat((parseFloat(totalPrice).toFixed(2) * eventzillapayment[0] / 100) + feescat + parseFloat(eventzillapayment[1]));
          if (3 == eventzillapayment.length && "i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
            CalculatedFee += parseFloat(parseFloat((parseFloat(totalPrice).toFixed(2) * eventzillapayment[0] / 100)) * 18 / 100);
          }
          feescat = CalculatedFee;
          $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + CalculatedFee.toFixed(2));
        }
        if (totalPrice > 0) {
          $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(totalPrice + feescat).toFixed(2));
          $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(subtotal).toFixed(2));
          //Stopped TaxAmount
          //$(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(taxamount).toFixed(2));
          $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "-" + parseFloat(disamt).toFixed(2));
        } else {
          if (subtotal > 0) {
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(feescat).toFixed(2));
            $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(subtotal).toFixed(2));
            //Stopped TaxAmount
            //$(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(taxamount).toFixed(2));
            $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "-" + parseFloat(disamt).toFixed(2));
          } else {
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + " 0.00");
            $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
            $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
            $(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
            $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
            $("#CPMain_ctl00_hfPromoPercentageFees").val(feescat);
          }
        }
      } else if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfIsEachTicket").val() == "False" && $("#CPMain_ctl00_hfpromoticket").val() == "True") {
        var split_cid = $("#CPMain_ctl00_hfallcid").val().split('|');
        var count = 0;
        for (var i = 0; i < split_cid.length - 1; i++) {
          if (promocid.indexOf(split_cid[i]) > -1) {
            count = i + 1;
          }
        }
        if (len > 1 && count >= 1) {
          totalPrice = parseFloat(totalPrice) - parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
          disamt += parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
        }
        if (count == 0) {
          disamt = 0;
        }
        if (totalPrice > 0) {
          totalPrice = totalPrice + DonationPrice;
        } else {
          totalPrice = DonationPrice;
        }
        if (parseFloat(totalPrice + taxamount).toFixed(2) > 0 && $("#CPMain_ctl00_hfEventZillaPayment").val() != "") {
          var eventzillapayment = $("#CPMain_ctl00_hfEventZillaPayment").val().split('|');
          CalculatedFee = parseFloat((parseFloat(totalPrice + taxamount).toFixed(2) * eventzillapayment[0] / 100) + feescat + parseFloat(eventzillapayment[1]));
          if (3 == eventzillapayment.length && "i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
            CalculatedFee += parseFloat(parseFloat((parseFloat(totalPrice + taxamount).toFixed(2) * eventzillapayment[0] / 100)) * 18 / 100);
          }
          feescat = CalculatedFee;
          $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + CalculatedFee.toFixed(2));
        }
        if (totalPrice > 0) {
          //$(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(totalPrice + feescat + taxamount).toFixed(2));
          $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(totalPrice + feescat).toFixed(2));
          $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(subtotal).toFixed(2));
          //$(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(taxamount).toFixed(2));
          $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "-" + parseFloat(disamt).toFixed(2));
        } else {
          if (subtotal > 0) {
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(feescat).toFixed(2));
            $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(subtotal).toFixed(2));
            //$(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(taxamount).toFixed(2));
            $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + "-" + parseFloat(disamt).toFixed(2));
          } else {
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + " 0.00");
            $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
            $(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
            $("#divtax").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
            $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
            $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
            $("#CPMain_ctl00_hfPromoPercentageFees").val(feescat);
          }
        }
      } else {
        if (!isNaN(parseFloat(totalPrice))) {
          var symbol;
          symbol = (disamt == '0') ? "" : "-";
          var CalculatedFee = 0;
          if (parseFloat(totalPrice + DonationPrice + taxamount).toFixed(2) > 0 && $("#CPMain_ctl00_hfEventZillaPayment").val() != "") {
            var eventzillapayment = $("#CPMain_ctl00_hfEventZillaPayment").val().split('|');
            //CalculatedFee = parseFloat((parseFloat(totalPrice + DonationPrice + taxamount).toFixed(2) * eventzillapayment[0] / 100) + feescat + parseFloat(eventzillapayment[1]));
            //Removed TaxAmount
            CalculatedFee = parseFloat((parseFloat(totalPrice + DonationPrice).toFixed(2) * eventzillapayment[0] / 100) + feescat + parseFloat(eventzillapayment[1]));
            if (3 == eventzillapayment.length && "i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
              CalculatedFee += parseFloat(parseFloat((parseFloat(totalPrice + DonationPrice).toFixed(2) * eventzillapayment[0] / 100)) * 18 / 100);
            }
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(totalPrice + DonationPrice + CalculatedFee).toFixed(2));
            $("#spFee").html($("#CPMain_ctl00_hfCurrencySymbol").val() + CalculatedFee.toFixed(2));
          } else {
            $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(totalPrice + DonationPrice + feescat).toFixed(2));
          }
          $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(subtotal).toFixed(2));
          //$(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "" + parseFloat(taxamount).toFixed(2));
          $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + symbol + parseFloat(disamt).toFixed(2));
        } else {
          $(".totalfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
          $(".subfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
          $(".disfeecostlabel").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00 ");
          $(".subfeecostlabel2").html($("#CPMain_ctl00_hfCurrencySymbol").val() + "0.00");
        }
      }
    }
  </script>
  <input type="hidden" name="ctl00$CPMain$ctl00$HiddenField1" id="CPMain_ctl00_HiddenField1">
  <input type="hidden" name="ctl00$CPMain$ctl00$hfIsScamCheck" id="CPMain_ctl00_hfIsScamCheck">
  <script type="text/javascript">
    if ($("#CPMain_ctl00_hdnshowmodal").val() != "show") {
      $('#facebox').hide();
      $('#facebox_overlay').hide();
    }

    function setHiddenFieldVal(strVal) {
      $("#CPMain_ctl00_hdnInviteCode").val(strVal);
    }

    function sendHiddenVariable() {
      var hdnvalue = $("#CPMain_ctl00_hdnInviteccode").val();
      var txtvalue = $('#CPMain_ctl00_hdnInviteCode').val();
      if (hdnvalue == txtvalue) {
        $("#CPMain_ctl00_hdnshowmodal").val("hide");
        $("#pnlInvite").modal('hide');
      } else {
        $("#CPMain_ctl00_txtInvitecode").val("");
        swal("The invite code you entered does not match our records. Please try again or check with this event's organizer.");
      }
      return false;
    }
    $("#pnlInvite .close").click(function() {
      $("#body").html("")
      window.location.replace('/noevent');
    });
    $(document).ready(function() {
      //       var tit = document.title;
      //      document.title = tit.replace(" - Powered by Eventzilla", "");
      //      $("#footer").addClass("hide");
      //      $("#evbrand").addClass("hide");
      $("#logoicon").addClass("hide");
      //
      //   }
      if ($("#CPMain_ctl00_lblLocationMap").html() == null || $("#CPMain_ctl00_lblLocationMap").html() == "") {
        $("#toplocation").hide();
        $("#location").hide();
        $(".slicknav_nav li:nth-child(2)").hide();
      }
      if ($(".attendee").html() == "" || $(".attendee").html() == undefined) {
        $("#WhoattendEmpty").show();
      } else {
        $("#topsocialmedia").hide();
      }
    });
    $("#triggerContact").click(function() {
      $('#contactOrganizer').removeClass("hide");
      $('#contactOrganizer').modal('show');
    });
    $("#CPMain_ctl00_btn_sponsor").click(function() {
      $('#contactOrganizer').removeClass("hide");
      $('#contactOrganizer').modal('show');
      return false;
    });

    function isValidEmailAddress(emailAddress) {
      var pattern = new RegExp(
        /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i
        );
      return pattern.test(emailAddress);
    }
    $("#check1").click(function() {
      if ($("#check1").is(":checked") == true) {
        $("#CPMain_ctl00_txtPromoCode").val("");
        //$("#CPMain_ctl00_txtPromoCode").show();
        $("#CPMain_ctl00_promocode").show();
      } else {
        //$("#CPMain_ctl00_txtPromoCode").hide();
        $("#CPMain_ctl00_txtPromoCode").val("");
        $("#CPMain_ctl00_promocode").hide();
      }
    });
    $(function() {
      $("form input").keypress(function(e) {
        if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) {
          var _tmpInviteCode = $("#CPMain_ctl00_txtInvitecode").val();
          $("#CPMain_ctl00_hdnInviteCode").val(_tmpInviteCode);
          $("#CPMain_ctl00_btnInvite").click();
          return false;
        } else {
          return true;
        }
      });
    });
    var hrefsocial = $("#CPMain_ctl00_asocialwall").attr('href');
    if ("../#" == hrefsocial) {
      $("#CPMain_ctl00_lisocialwall").hide();
    }
  </script>
  <input type="hidden" name="ctl00$CPMain$ctl00$HiddenField2" id="CPMain_ctl00_HiddenField2">
  <script type="text/javascript">
    $(document).ready(function() {
      var btnName = $("#CPMain_ctl00_btnPromo").attr("value");
      if (btnName == "Clear") {
        $("#check1").prop('checked', true);
      }
      if ($("#CPMain_ctl00_hf_addlocation").val() == "") {
        //initializeMaps();           
        intializeGeoCodeMapbox();
      } else {
        //initializeMapsLocation();          
        intializeMapbox();
      }
      $(".popoverpartial a").popover({
        html: true,
        placement: 'bottom',
        title: 'payment schedule' + "<button type='button' class='close' id='close'>&times;</button>"
      });
      var optPreview = $("#CPMain_ctl00_hfstatus").val();
      if (optPreview == 35) {
        $('#overlay').show();
      } else {
        $('#overlay').hide();
      }
      $("td span").addClass("tdCategory");
      var dateSelect = $("#CPMain_ctl00_ddlEventDate").val()
      if (dateSelect == 0) {
        $('#CPMain_ctl00_rpCategory_htAvailable').css("visibility", 'hidden');
        $('#hrpsaleend').css("visibility", 'hidden');
        $(".spint").removeAttr("style");
        $(".QuantityAdd").css('visibility', 'visible');
        $(".QuantityAdd").prop("disabled", true);
        $('#CPMain_ctl00_rpDonation_DonationAmount_0').val("");
        $('#CPMain_ctl00_rpDonation_DonationAmount_0').attr("disabled", "disabled");
        $('#CPMain_ctl00_rpDonation_lblmobEndDate_0').attr("style", 'display:none');
        $('#CPMain_ctl00_rpDonation_lblEndDate_0').attr("style", 'display:none');
        $(".tdCategory").attr("style", 'display:none');
        $('.CategoryPriceAdd').removeAttr("style");
        $("#CPMain_ctl00_btnAddOrder").prop("disabled", true);
        $("#CPMain_ctl00_UC_HeaderTitles_lbl_hash").css("display", "block");
      }
      //if ($("#CPMain_ctl00_hdnCustomdomainSecure").val() == "true" && window.location.protocol == "https:") {
      //  $("#form1").attr("action", $("#form1").attr("action"));
      //} else if (window.location.protocol == "https:") {
      //$("#form1").attr("action", "https://" + $("#form1").attr("action"));
      //} else { $("#form1").attr("action", "http://" + $("#form1").attr("action")); }
      //} else { $("#form1").attr("action", $("#form1").attr("action")); }
    });
    $(document).on('click', '#close', function(e) {
      $(".popoverpartial a").popover('hide');
    });
  </script>
  <script type="text/javascript">
    $(window).load(function() {
      var width = $(document).width();
      if (width < 992) {
        $(".track-mdiv").removeAttr("style");
        $(".session-showcase").removeAttr("style");
      }
    });
    jQuery(function($) {
      $.fn.hScroll = function(amount) {
        amount = amount || 120;
        $(this).bind("DOMMouseScroll mousewheel", function(event) {
          var oEvent = event.originalEvent,
            direction = oEvent.detail ? oEvent.detail * -amount : oEvent.wheelDelta,
            position = $(this).scrollLeft();
          position += direction > 0 ? -amount : amount;
          $(this).scrollLeft(position);
          event.preventDefault();
        })
      };
    });
    $(document).ready(function() {
      $('.scroll-session-mdiv').hScroll(60); // You can pass (optionally) scrolling amount
    });
    $(document).ready(function() {
      $(".btncount").mouseover(function() {
        j = $(".btncount").index(this);
        var $btn2 = $("#webpagelink_" + j)
        $btn2.popover('show');
      });
      $(".btncount").mouseout(function() {
        j = $(".btncount").index(this);
        var $btn2 = $("#webpagelink_" + j)
        $btn2.popover('hide');
      });
    });
    //GrpDiscountDesc
    if ($("#CPMain_ctl00_hfDiscountMoretickets").val() != "") {
      for (var s = 0; s < $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|').length; s++) {
        var j = 0;
        var iquantity = 0;
        var discountprice = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "price" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
        var discountCategory = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[0];
        var discountCategoryList = discountCategory.split('|');
        var discountmoreticket = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[1];
        var discountpercentage = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "percentage" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
        $(".QuantityAdd").each(function() {
          if (!isNaN($(this).val()) && $(this).val() != "") {
            j = $(".QuantityAdd").index(this);
            iquantity = parseInt($(this).val());
            var isGroupCategory = $(this).attr("id").indexOf("rpGroupCat") > 0 ? "True" : "False";
            var spIndex = $(this).attr("id").split("_");
            var PresetMaster = isGroupCategory == "True" ? "CPMain_ctl00_rpGroupCat_rpCategory_" + spIndex[4] : "CPMain_ctl00_rpCategory";
            //var CategoryPrice = parseFloat($("#CPMain_ctl00_rpCategory_lblCategoryPrice_" + j).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
            var CategoryPrice = parseFloat($("#" + PresetMaster + "_lblCategoryPrice_" + spIndex[spIndex.length - 1]).html().replace($("#CPMain_ctl00_hfCurrencySymbol").val(), "").replace(",", ""));
            var hfcid = parseFloat($("#" + PresetMaster + "_hfCategoryID_" + spIndex[spIndex.length - 1]).val());
            //var hfcid = parseFloat($("#CPMain_ctl00_rpCategory_hfCategoryID_" + j).val()); 
            if (!isNaN(CategoryPrice)) {
              for (var i = 0; i < discountCategoryList.length; i++) {
                if (hfcid == discountCategoryList[i]) {
                  if (parseFloat(discountprice) > 0) {
                    //$("#CPMain_ctl00_rpCategory_lblsavetag_" + j).html("Get a " + $("#CPMain_ctl00_hfCurrencySymbol").val() + "" + discountprice + " discount when you purchase " + discountmoreticket + " or more tickets");
                    $("#" + PresetMaster + "_lblsavetag_" + spIndex[spIndex.length - 1]).html("Get a " + $("#CPMain_ctl00_hfCurrencySymbol").val() + "" + discountprice + " discount when you purchase " + discountmoreticket + " or more tickets");
                  } else {
                    //$("#CPMain_ctl00_rpCategory_lblsavetag_" + j).html("Get a " + discountpercentage + "% discount when you purchase " + discountmoreticket + " or more tickets");
                    $("#" + PresetMaster + "_lblsavetag_" + spIndex[spIndex.length - 1]).html("Get a " + discountpercentage + "% discount when you purchase " + discountmoreticket + " or more tickets");
                    calculatedprice = parseFloat(CategoryPrice * discountmoreticket) * parseFloat(discountpercentage) / 100;
                  }
                }
              }
            }
          }
        });
      }
    }

    function CategoryInvitecode(id) {
      var txtCatgoryInvite = $("#" + id).val();
      var sp = id.split('_');
      var hfCategoryInvite = $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "_hfCategoryInvite_" + sp[4]).val();
      $.post('/admin/UserDiscountresponse.aspx?CategoryInvitecode=' + txtCatgoryInvite + '&validateInvite=' + hfCategoryInvite, function(data) {
        var result = data;
        if (true == result) {
          $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "_ddlQuantity_" + sp[4]).removeClass("hide");
          $("#" + sp[0] + "_" + sp[1] + "_" + sp[2] + "_divMobQty_" + sp[4]).removeClass("hide");
          $("#" + id).addClass("hide");
        } else {
          swal("Please enter a valid unlock code");
        }
      });
    }

    function ValidateCatInvite() {
      var i = 1;
      var validate = "true";
      $(".CategoryInviteAppender .form-group").each(function() {
        var txtCatgoryInvite = $("#txtCatInvite_" + i).val();
        var hfCategoryInvite = $("#hfcatinvite_" + i).val();
        if (txtCatgoryInvite == "") {
          $(".validatemessage").html("Please enter a valid unlock code");
        } else {
          $(".validatemessage").html("The unlock code you entered does not match our records. Please try again or check with this event's organizer.");
        }
        if (txtCatgoryInvite == CryptoJS.AES.decrypt(hfCategoryInvite, "/").toString(CryptoJS.enc.Utf8)) {
          $(this).addClass("hide");
        } else {
          validate = "false";
        }
        i++;
      });
      if ("false" == validate) {
        $(".validatemessage").addClass("show");
        return false;
      } else {
        if ("Modern" == $("#CPMain_ctl00_hdnHeaderType").val() || window.location.protocol == "https:" || window.location.protocol == "http:") {
          $("#form1").attr("target", "loadcheckoutpg");
          $('#loader').css({
            'display': 'block',
            'opacity': '1'
          });
          $(body).css({
            'overflow': 'hidden',
            'width': '100%',
            'z-index': '1001'
          });
          if (sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) == null || sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) == "") {
            var formdatas = {};
            formdatas.url = location.href;
            formdatas.page = "sale";
            formdatas.eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
            formdatas.gaID = $('#hdnGaEzRegistrations').val();
            formdatas.FbPixelID = $('#hdnFbPixel').val();
            formdatas = JSON.stringify(formdatas);
            var receiver = document.getElementById('loadcheckoutpg').contentWindow;
            var posturl = window.location.protocol + "//" + window.location.hostname + "/ModernCheckoutFlow.html";
            receiver.postMessage(formdatas, posturl);
            modernpathinterval1 = window.setInterval(function() {
              if (sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) != null) {
                window.clearInterval(modernpathinterval1);
              }
            }, 200);
          }
        }
        return true;
      }
    }
    $("#CPMain_ctl00_btnAddOrder").click(function() {
      //Preview only
      if (/preview/.test(window.name)) {
        $("#CPMain_ctl00_hf_ispreview").val('true');
      } else {
        $("#CPMain_ctl00_hf_ispreview").val('false');
      }
      $("#CPMain_ctl00_hfModernLoader").val('ModernLoaderActivate');
      $("#CPMain_ctl00_btnAddOrder").hide();
      $('#IconLoad').show();
      if ("" != $("#CPMain_ctl00_hfReservSeatbool").val()) {
        $('<input>').attr('type', 'hidden').attr('name', 'ReservSeats').attr('value', selectedobjectData).appendTo('form');
      }
      var i = 1;
      var isNotInviteCode = true;
      var jj = 1;
      var pp = 1;
      $(".CategoryInviteAppender").empty();
      $(".QuantityAdd").each(function() {
        if (!isNaN($(this).val()) && $(this).val() != "") {
          var j = $(".QuantityAdd").index(this);
          var iquantity = parseInt($(this).val());
          if (undefined != $(this).closest(".preapproval").html() && "" != $(this).closest(".preapproval").html() && iquantity > 0) {
            jj++;
          }
          if (undefined == $(this).closest(".preapproval").html() && iquantity > 0) {
            pp++;
          }
          var isGroupCategory = $(this).attr("id").indexOf("rpGroupCat") > 0 ? "True" : "False";
          var spIndex = $(this).attr("id").split("_");
          var PresetMaster = isGroupCategory == "True" ? "CPMain_ctl00_rpGroupCat_rpCategory_" + spIndex[4] : "CPMain_ctl00_rpCategory";
          var UnlockCodenew = $("#CPMain_ctl00_rpCategory_hfCategoryInviteCode_" + spIndex[spIndex.length - 1]).val();
          //if ("" != $("#CPMain_ctl00_rpCategory_hfCategoryInvite_" + j).val() && iquantity > 0) {
          if (("" != $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val() && iquantity > 0) && (UnlockCodenew == "False")) {
            var sp = $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val().split('|');
            var Invitehtml = "<label class=\"alert alert-danger validatemessage hide\">Please enter a valid unlock code</label>" +
              "<label class=\"alert\">This event organizer requires you to enter an unlock code to allow you to proceed with the selected ticket/registration type. Please enter this code below</label>" +
              "<div class=\"form-group\"><label class=\"col-sm-8\">" + sp[1] + "</label><div class=\"col-sm-4\"><input type=\"text\" id=\"txtCatInvite_" + i + "\" class=\"form-control\" /><input type=\"hidden\" id=\"hfcatinvite_" + i +
              "\" value=\"" + sp[0] + "\"/></div></div>";
            $(".CategoryInviteAppender").append(Invitehtml);
            isNotInviteCode = false;
            i++;
          }
        }
      });
      if (!isNotInviteCode) {
        if (1 == jj || false == (jj > 1 && pp > 1)) $("#divCategoryInvite").modal("show");
        else {
          swal("Ticket / Registration types that require pre-approval cannot be purchased along with regular tickets in the same transaction. Please register for these separately.");
        }
        $("#CPMain_ctl00_btnAddOrder").show();
        $('#IconLoad').hide();
        return false;
      }
      if ("Modern" == $("#CPMain_ctl00_hdnHeaderType").val() || window.location.protocol == "https:" || window.location.protocol == "http:") {
        //$("#loadcheckoutpg").removeClass("hide");
        //$("#imgModernCheckoutLoader").show();
        var isSafari = !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/);
        if (isSafari == true & 1 == 2) {
          var objappVersion = navigator.appVersion;
          var browserAgent = navigator.userAgent;
          var browserVersion = '' + parseFloat(navigator.appVersion);
          var Offset, OffsetVersion, ix;
          browserVersion = browserAgent.substring(OffsetVersion + 7);
          if ((OffsetVersion = browserAgent.indexOf("Version")) != -1) browserVersion = browserAgent.substring(OffsetVersion + 8);
          if (parseFloat(browserVersion) > 16) return true;
        }
        $("#form1").attr("target", "loadcheckoutpg");
        $('#loader').css({
          'display': 'block',
          'opacity': '1'
        });
        $(body).css({
          'overflow': 'hidden',
          'width': '100%',
          'z-index': '1001'
        });
        if (sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) == null || sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) == "") {
          var formdatas = {};
          formdatas.url = location.href;
          formdatas.page = "sale";
          formdatas.eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
          formdatas.gaID = $('#hdnGaEzRegistrations').val();
          formdatas.FbPixelID = $('#hdnFbPixel').val();
          formdatas = JSON.stringify(formdatas);
          var receiver = document.getElementById('loadcheckoutpg').contentWindow;
          // Send a message with the text 'Hello Treehouse!' to the new window.
          var posturl = window.location.protocol + "//" + window.location.hostname + "/ModernCheckoutFlow.html";
          receiver.postMessage(formdatas, posturl);
          //       receiver.postMessage(formdatas, posturl);
          modernpathinterval1 = window.setInterval(function() {
            if (sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) != null && sessionStorage.getItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val()) != "") {
              window.clearInterval(modernpathinterval1);
            }
          }, 200);
        }
      }
      return true;
    });
    $(".QuantityAdd").each(function() {
      if (!isNaN($(this).val()) && $(this).val() != "") {
        var j = $(".QuantityAdd").index(this);
        var iquantity = parseInt($(this).val());
        var isGroupCategory = $(this).attr("id").indexOf("rpGroupCat") > 0 ? "True" : "False";
        var spIndex = $(this).attr("id").split("_");
        var PresetMaster = isGroupCategory == "True" ? "CPMain_ctl00_rpGroupCat_rpCategory_" + spIndex[4] : "CPMain_ctl00_rpCategory";
        //if (undefined != $("#CPMain_ctl00_rpCategory_hfCategoryInvite_" + j).val() && "" != $("#CPMain_ctl00_rpCategory_hfCategoryInvite_" + j).val()) {
        if (undefined != $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val() && "" != $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val()) {
          //var sp = $("#CPMain_ctl00_rpCategory_hfCategoryInvite_" + j).val().split('|');
          var sp = $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val().split('|');
          if (sp[0].indexOf("=") >= 0) {} else {
            var data = "";
            var data = CryptoJS.AES.encrypt(sp[0], "/");
            //$("#CPMain_ctl00_rpCategory_hfCategoryInvite_" + j).val(data + "|" + sp[1]);
            $("#" + PresetMaster + "_hfCategoryInvite_" + spIndex[spIndex.length - 1]).val(data + "|" + sp[1]);
          }
        }
      }
    });
    /* facebook command starts  */
    /* facebook command starts  */
    (function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s);
      js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=215909627843";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    $(document).ready(function() {
      if ("2" == $("#CPMain_ctl00_hdn_ShowDiscussion").val()) {
        $("#discussion").css("visibility", "visible");
        $('#div_facebook').show();
        $('#div_desqus').hide();
        $("#div_desqus").remove();
        var facebookwidth = 0;
        facebookwidth = parseInt($("#div_facebook").width());
        $("#div_facebook").append("<div class=\"fb-comments\" data-href=\"" + document.URL + "\" data-colorscheme=\"light\" data-width=\"" + facebookwidth + "\"></div>");
      } else if ("1" == $("#CPMain_ctl00_hdn_ShowDiscussion").val()) {
        $("#discussion").css("visibility", "visible");
        $('#div_desqus').show();
        $('#div_facebook').hide();
      } else {
        $("#eventcomments").addClass("hide");
        $("#licomment").remove();
        $("#discussion").remove();
        //$("#comments").hide();
        //$("#topcomments").hide();
      }
      $(window).resize(function() {
        setTimeout(function() {
          if ("2" == $("#CPMain_ctl00_hdn_ShowDiscussion").val()) {
            var facebookwidth = 0;
            facebookwidth = parseInt($("#div_facebook").width());
            $(".fb_ltr").attr("src", $(".fb_ltr").attr("src") + "&width=" + facebookwidth);
          }
        }, 3000);
      });
      $('#diveventinfo img').each(function() {
        var curSrc = $(this).attr('src');
        if (curSrc != undefined) {
          $(this).attr('src', curSrc.replace('../', '/'));
        }
      });
    });
    window.twttr = (function(d, s, id) {
      var t, js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s);
      js.id = id;
      js.src = "https://platform.twitter.com/widgets.js";
      fjs.parentNode.insertBefore(js, fjs);
      return window.twttr || (t = {
        _e: [],
        ready: function(f) {
          t._e.push(f)
        }
      });
    }(document, "script", "twitter-wjs"));
    /* facebook command starts  */
    /* desqus command starts  */
    var disqus_shortname = 'eventzilla';
    var disqus_identifier = gupevent('Eventid');
    //var disqus_url = "http://www.eventzilla.net?web/eventid=" + disqus_identifier;
    /* * * DON'T EDIT BELOW THIS LINE * * */
    (function() {
      var dsq = document.createElement('script');
      dsq.type = 'text/javascript';
      dsq.async = true;
      dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();

    function gupevent(name, string) {
      name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
      var regexS = "[\\?&]" + name + "=([^&#]*)";
      var regex = new RegExp(regexS);
      var results = regex.exec(string);
      if (results == null) return "";
      else return results[1];
    }
    // custom js Centralized Tracking events 
    if ($('#hdnGaEzRegistrations').val() != "") {
      var sGaTrack = $('#hdnGaEzRegistrations').val().split("+");
      var oGaTrackId = sGaTrack[0];
      var eventTitle = sGaTrack[1];
      googleAnalyticsTrackEvents(location.pathname, oGaTrackId, 'Eventzilla_Registration', 'Viewed_EventPage', eventTitle);
    }
    // Waitlist Initialized
    function GaRegCheckOut() {
      $("#CPMain_ctl00_hfModernLoader").val('ModernLoaderActivate');
      $('#loader').css({
        'display': 'block',
        'opacity': '1'
      });
      $(body).css({
        'overflow': 'hidden',
        'width': '100%',
        'z-index': '1001'
      });
      var hdnHeaderType = $("#CPMain_ctl00_hdnHeaderType").val();
      var formdatas = {};
      formdatas.url = location.href;
      formdatas.page = "sale";
      formdatas.eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
      formdatas.gaID = $('#hdnGaEzRegistrations').val();
      formdatas.FbPixelID = $('#hdnFbPixel').val();
      formdatas = JSON.stringify(formdatas);
      var receiver = document.getElementById('loadcheckoutpg').contentWindow;
      // Send a message with the text 'Hello Treehouse!' to the new window.
      var posturl = window.location.protocol + "//" + window.location.hostname + "/ModernCheckoutFlow.html";
      receiver.postMessage(formdatas, posturl);
      loadExternalContent(event.srcElement.href);
      if ($('#hdnGaEzRegistrations').val() != "") {
        var sGaTrack = $('#hdnGaEzRegistrations').val().split("+");
        var oGaTrackId = sGaTrack[0];
        var eventTitle = sGaTrack[1];
        googleAnalyticsTrackEvents(location.pathname, oGaTrackId, 'Eventzilla_Registration', 'Waitlist_Initialized', eventTitle);
      }
      if ($('#hdnFbPixel').val() != "") {
        var sGaTrack = $('#hdnFbPixel').val();
        fbq('init', sGaTrack);
        fbq('track', 'Waitlist Initialized');
      }
    }
    //Fb Pixel for page view 
    if ($('#hdnFbPixel').val() != "") {
      var sGaTrack = $('#hdnFbPixel').val();
      fbq('init', sGaTrack);
      fbq('track', 'Viewed Event');
    }
    (function() {
      var ga = document.createElement('script');
      ga.type = 'text/javascript';
      ga.async = true;
      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
    })();
    $(document).ready(function() {
      if ($("#CPMain_ctl00_hfTwitterTags").val() !== "") {
        var twitter = $("#CPMain_ctl00_hfTwitterTags").val();
        if (twitter.indexOf('#') == -1) {
          var sp = $("#CPMain_ctl00_hfTwitterTags").val().replace("", "#").split(',');
        } else {
          var sp = $("#CPMain_ctl00_hfTwitterTags").val().split(',');
        }
        for (var i = 0; i < sp.length; i++) {
          $("#twitteslinks").append("<a class=\"twites\" target=\"_blank\" href=\"https://twitter.com/hashtag/" + sp[i].replace("#", "") + "\">" + sp[i] + "</a>");
        }
      }
      $("#regtitle").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontregtitle").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#infotitle").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfonteventinfo").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infolocation").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfonteventloc").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infoabout").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontabttheorg").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infosponsors").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontsponsors").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#infocomments").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontcomments").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infospeakers").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontspeakers").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infowhosattend").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontwhosattendee").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infoschedule").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontschedules").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infoPhotogallery").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customfontphotogallery").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_infoFaqquestion").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $(".customlabelfaq").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#infoCancelinfo").css("font-family", $("#CPMain_ctl00_hdnFontStyle").val());
      $("#CPMain_ctl00_ddlEventDate").change(function() {
        if ($(this).val() != "0") {
          var sp = $(this).val().split('/');
          var dateid = sp[sp.length - 1];
          var loc = window.location;
          var pa = loc.pathname.split('-');
          var eventid = pa[pa.length - 1];
          var promoapply = "";
          if (getUrlVars()["promo"] != undefined && "" != $("#CPMain_ctl00_txtPromoCode").val()) {
            var key = CryptoJS.enc.Utf8.parse('8080808080808080');
            var iv = CryptoJS.enc.Utf8.parse('8080808080808080');
            var promocode = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse($("#CPMain_ctl00_txtPromoCode").val()), key, {
              keySize: 128 / 8,
              iv: iv,
              mode: CryptoJS.mode.CBC,
              padding: CryptoJS.pad.Pkcs7
            });
            promoapply = "&promo=" + getUrlVars()["promo"] + "&promocode=" + promocode;
          }
          if ("/event" == eventid) {
            eventid = guparam("eventid");
            window.location.href = "https://" + window.location.host + "/e/" + eventid + "?dateid=" + dateid + promoapply;
          } else if ("/e" == eventid) {
            if ("" == eventid) eventid = guparam("eventid");
            if ("app.eventzilla.net" != window.location.host) {
              window.location.href = "https://" + window.location.host + loc.pathname + "?resp=on" + "&dateid=" + dateid + promoapply;
            } else {
              window.location.href = "https://" + window.location.host + loc.pathname + "?resp=on" + "&dateid=" + dateid + promoapply;
            }
          } else {
            if ("" == eventid) eventid = guparam("eventid");
            window.location.href = "https://" + window.location.host + loc.pathname + "?resp=on" + "&dateid=" + dateid + promoapply;
          }
        } else {
          $("select.QuantityAdd").attr("disabled", "disabled");
        }
      });
      $("#CPMain_ctl00_btnPromo").click(function() {
        return false;
      });
      $("#diveventinfo img").each(function() {
        var item = $(this).attr("src");
        if (item != undefined) {
          if ($(this).attr("src").indexOf("/files/temp/") != -1 && $(this).attr("src").indexOf('eventzilla.net') == -1) {
            $(this).attr("src", "https://www.eventzilla.net" + $(this).attr("src"));
          }
        }
      });
      var eURL = location.href;
      if (eURL.indexOf("2138821308") > 0) {
        $("#diveventinfo a").each(function() {
          var item = $(this).attr("title");
          if (item != undefined) {
            if ($(this).attr("title") == "dss@academywomen.org") {
              $(this).attr("href", "mailto:" + $(this).attr("title"));
            }
          }
        });
      }
    });
    //function guparam(name) {
    //    var name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
    //    var regexS = "[\\?&]" + name + "=([^&#]*)";
    //    var regex = new RegExp(regexS);
    //    var results = regex.exec(window.location.href);
    //    if (results == null)
    //        return "";
    //    else
    //        return results[1];
    //}
    function getUrlVars() {
      var vars = [],
        hash;
      var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
      for (var i = 0; i < hashes.length; i++) {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
      }
      return vars;
    }

    function checkDiscount() {
      var btn = $("#CPMain_ctl00_btnPromo").val();
      if ("CLEAR" != btn && "CLAIRE" != btn && "CLARO" != btn && "KLAR" != btn) {
        var value = $("#CPMain_ctl00_txtPromoCode").val();
        var headers = {};
        // other headers omitted
        var key = CryptoJS.enc.Utf8.parse('8080808080808080');
        var iv = CryptoJS.enc.Utf8.parse('8080808080808080');
        var loc = window.location;
        var pa = "";
        var eventid = "";
        if (loc.href.indexOf("=") > 0) {
          if (getUrlVars()["dateid"] != undefined) {
            if (loc.href.indexOf("=") > 0) {
              pa = loc.href.split("=");
              eventid = pa[pa.length - 2];
              if (eventid.indexOf("&") > 0) {
                var g = eventid.split("&");
                eventid = g[0];
              }
            }
            if (loc.href.indexOf("=") > 0 && loc.href.indexOf("resp=on") > 0) {
              pa = loc.href.split("=");
              eventid = pa[pa.length - 2];
            }
            if (loc.href.indexOf("-") > 0) {
              pa = loc.href.split("-");
              var g = pa[pa.length - 1];
              var h = g.split("?");
              pa = h[0];
              eventid = pa;
            }
            if (loc.href.indexOf("manual-patient-handling.eventzilla.net") > 0) {
              pa = loc.href.split("=");
              eventid = pa[pa.length - 2];
              if (eventid.indexOf("&") > 0) {
                var g = eventid.split("&");
                eventid = g[0];
              }
            }
          } else {
            if (loc.href.indexOf("=") > 0) {
              pa = loc.href.split("=");
              eventid = pa[pa.length - 1];
            } else {
              pa = loc.href.split("-");
              eventid = pa[pa.length - 1];
            }
            if (loc.href.indexOf("-") > 0 && loc.href.indexOf("&err") > 0) {
              pa = loc.href.split("-");
              var g = pa[pa.length - 1];
              var h = g.split("?");
              pa = h[0];
              eventid = pa;
            }
            if (loc.href.indexOf("=") > 0 && loc.href.indexOf("&err") > 0 && loc.href.indexOf("?") > 0) {
              pa = loc.href.split("=");
              var g = pa[pa.length - 1];
              var h = g.split("&");
              pa = h[0];
              eventid = pa;
            }
          }
        } else {
          pa = loc.pathname.split('-');
          eventid = pa[pa.length - 1];
        }
        if ("" == eventid) {
          eventid = guparam("eventid");
        }
        var encryptID = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(eventid), key, {
          keySize: 128 / 8,
          iv: iv,
          mode: CryptoJS.mode.CBC,
          padding: CryptoJS.pad.Pkcs7
        });
        headers['encryptID'] = encryptID;
        $.ajax({
          cache: false,
          dataType: 'json',
          type: 'POST',
          headers: headers,
          contentType: 'application/json; charset=utf-8',
          url: 'https://' + window.location.hostname + '/webcall.aspx?dis_code=' + value + "&callfrom=sales&EventID=" + eventid,
          error: function(rep) {
            if (200 == parseInt(rep.status)) {
              if ("1" == rep.responseText.split('(')[0] || "2" == rep.responseText.split('(')[0]) {
                var sp = rep.responseText.split('(');
                //$("#CPMain_ctl00_hfPromoPrice").val(sp[1].split(',')[1]);
                //$("#CPMain_ctl00_hfIsEachTicket").val(sp[2].split(',')[1]);
                //$("#CPMain_ctl00_hfPromoPercentage").val(sp[3].split(',')[1]);
                //$("#CPMain_ctl00_hfpromoticket").val(sp[5].split(',')[1]);
                //$("#CPMain_ctl00_divDiscount").show();
                //$("#CPMain_ctl00_divsubtot").show();
                $("#CPMain_ctl00_divdisApply").show();
                $("#CPMain_ctl00_lblErrorMessage").html("<div class=\"alert alert-success\">" + sp[4].split(',')[1] + "</div>");
                $("#CPMain_ctl00_btnPromo").val(sp[6].split(',')[1]);
                //QuantityAdd($(".QuantityAdd").index(this), "pageload");
                //ReservseatsFeeCalc(FeeData, selectedobjectData, CategoryobjectData);
                //DiscountMoreTickets();
                $("#divTotalFee").hide();
                $(".gtotal").addClass("hide");
                $("#CPMain_ctl00_divsubtot").hide();
              } else if ("3" == rep.responseText.split('(')[0]) {
                $("#CPMain_ctl00_hfPromoPrice").val("");
                $("#CPMain_ctl00_hfIsEachTicket").val("");
                $("#CPMain_ctl00_hfPromoPercentage").val("");
                var sp = rep.responseText.split('(');
                $("#CPMain_ctl00_lblErrorMessage").html("<div class=\"alert alert-danger\">" + sp[1].split(',')[1] + sp[1].split(',')[2] + "</div>");
                $("#divTotalFee").show();
                $(".gtotal").removeClass("");
                $("#CPMain_ctl00_divsubtot").show();
              } else if ("4" == rep.responseText.split('(')[0]) {
                var sp = rep.responseText.split('(');
                //$("#CPMain_ctl00_hfPromoPrice").val(sp[1].split(',')[1]);
                //$("#CPMain_ctl00_hfIsEachTicket").val(sp[2].split(',')[1]);
                //$("#CPMain_ctl00_hfPromoPercentage").val(sp[3].split(',')[1]);
                //$("#CPMain_ctl00_divDiscount").show();
                //$("#CPMain_ctl00_divsubtot").show();
                $("#CPMain_ctl00_divdisApply").show();
                $("#CPMain_ctl00_lblErrorMessage").html("<div class=\"alert alert-success\">" + sp[4].split(',')[1] + "</div>");
                //$("#CPMain_ctl00_hfpromocid").val(sp[5].split(',')[1]);
                //$("#CPMain_ctl00_hfpromoticket").val(sp[6].split(',')[1]);
                $("#CPMain_ctl00_btnPromo").val(sp[7].split(',')[1]);
                //QuantityAdd($(".QuantityAdd").index(this), "pageload");
                //DiscountMoreTickets();
                //ReservseatsFeeCalc(FeeData, selectedobjectData, CategoryobjectData);
                $("#divTotalFee").hide();
                $(".gtotal").addClass("hide");
                $("#CPMain_ctl00_divsubtot").hide();
              } else {
                $("#CPMain_ctl00_hfPromoPrice").val("");
                $("#CPMain_ctl00_hfIsEachTicket").val("");
                $("#CPMain_ctl00_hfPromoPercentage").val("");
                var sp = rep.responseText.split('(');
                $("#CPMain_ctl00_lblErrorMessage").html("<div class=\"alert alert-danger\">" + sp[1].split(',')[1] + "</div>");
                $("#CPMain_ctl00_txtPromoCode").val("");
                $("#divTotalFee").show();
                $(".gtotal").removeClass("hide");
                $("#CPMain_ctl00_divsubtot").show();
              }
              $('html, body').animate({
                'scrollTop': $("#regtitle").position().top
              });
            }
          },
        });
      } else {
        var value = "";
        value = "CLAIRE" == btn ? "APPLIQUER" : "CLARO" == btn ? "APLICAR" : "KLAR" == btn ? "BEWERBEN" : "APPLY";
        $("#CPMain_ctl00_btnPromo").val(value);
        $("#CPMain_ctl00_txtPromoCode").val("");
        $("#CPMain_ctl00_hfPromoPrice").val("");
        $("#CPMain_ctl00_hfIsEachTicket").val("");
        $("#CPMain_ctl00_hfPromoPercentage").val("");
        $("#CPMain_ctl00_hfpromocid").val("");
        $("#CPMain_ctl00_hfpromoticket").val("");
        $("#divTotalFee").show();
        $(".gtotal").removeClass("hide");
        //QuantityAdd($(".QuantityAdd").index(this), "pageload");
        //DiscountMoreTickets();
        //ReservseatsFeeCalc(FeeData, selectedobjectData, CategoryobjectData);
        return false;
      }
    }
    $(document).ready(function() {
      if ($("#CPMain_ctl00_hf_ispreview").val() == "true") {
        //$("#CPMain_ctl00_lblpreview").removeClass("hide");
        var headers = {};
        // other headers omitted
        //var key = CryptoJS.enc.Utf8.parse('8080808080808080');
        //var iv = CryptoJS.enc.Utf8.parse('8080808080808080');
        var eventid = "";
        eventid = $("#CPMain_ctl00_lblEventID").val();
        //var encryptID = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(eventid), key,
        //    {
        //        keySize: 128 / 8,
        //        iv: iv,
        //        mode: CryptoJS.mode.CBC,
        //        padding: CryptoJS.pad.Pkcs 
        //    });
        headers['encryptID'] = eventid;
        $.ajax({
          cache: false,
          dataType: 'json',
          contentType: "application/json; charset=utf-8",
          type: 'POST',
          headers: headers,
          data: window.name,
          contentType: 'application/json; charset=utf-8',
          url: 'https://' + window.location.hostname + '/webcall.aspx?callfrom=preview&eventid=' + eventid,
          success: function(data) {
            if ("True" == data.Ispreview) {
              $("#CPMain_ctl00_lblpreview").removeClass("hide");
              return;
            }
          },
        });
      }
    });
  </script>
  <script>
    /**
     *  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
     *  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
    /*
    var disqus_config = function () {
    this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
    this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
    };
    */
    (function() { // DON'T EDIT BELOW THIS LINE
      var d = document,
        s = d.createElement('script');
      s.src = 'https://eventzilla-1.disqus.com/embed.js';
      s.setAttribute('data-timestamp', +new Date());
      (d.head || d.body).appendChild(s);
    })();
  </script>
  <script>
    if ("" != $("#CPMain_ctl00_hfReservSeatbool").val()) {
      $(".reserve-mdiv").parent("section").show();
      $(".reserve-seat-total").append($(".costsummary"));
      $(".register-table").hide();
      $("#regtitle").hide();
      $(".costsummary").removeClass("col-md-4").removeClass("col-xs-12").addClass("col-md-12").addClass("col-sm-12");
      if (undefined != $("#CPMain_ctl00_divDiscount").val()) {
        $("#divReservDiscount").append($("#CPMain_ctl00_divDiscount"));
        $("#divReservDiscount").append($("#CPMain_ctl00_promocode"));
      }
      $(".reserve-title .event-date").append($("#CPMain_ctl00_ddlEventDate"));
      $(".reserve-left").prepend($("#CPMain_ctl00_lblErrorMessage"));
    } else {
      $(".reserve-mdiv").parent("section").hide();
    }

    function ReservseatsFeeCalc(FeeData, selectedobjectData, CategoryobjectData) {
      var TotalFee = 0;
      var TotalPrice = 0;
      var subtotal = 0;
      var Discount = 0;
      var promocid = $("#CPMain_ctl00_hfpromocid").val();
      var words = promocid.split('|');
      var len = words.length;
      var CalculatedFee = 0;
      var p = "";
      $(".spanReservKey").html("").hide();
      $(".spanPriceReservKey").html("0").hide();
      $(".spanPriceReservKey").parent(".total-price").hide();
      $(".spanReservKey").parent("div").hide();
      if (selectedobjectData.length > 0) {
        var returndata = GroupbyCategory(CategoryobjectData);
        for (var i = 0; i < selectedobjectData.length; i++) {
          //ReservTbl
          var reservKey = selectedobjectData[i].split('|')[1];
          // $("#divReservKey" + reservKey).html("");
          var ObjectID = selectedobjectData[i].split('|')[0];
          var Feesp = FeeData.split(',');
          for (var f = 0; f < Feesp.length; f++) {
            if (Feesp[f].split('|')[0] == reservKey && parseFloat(Feesp[f].split('|')[1]) > 0) {
              subtotal += parseFloat(Feesp[f].split('|')[2]);
              if ("GeneralAdmissionArea" == selectedobjectData[i].split('|')[2]) {
                if ("" == $("#spanReservKey" + reservKey).html()) {
                  $("#spanReservKey" + reservKey).html("0");
                }
                $("#spanReservKey" + reservKey).html(parseInt($("#spanReservKey" + reservKey).html()) + 1).show().parent("div").show();
                $("#spanPriceReservKey" + reservKey).parent(".total-price").show();
                $("#spanPriceReservKey" + reservKey).show();
                $("#spanReservObjecttype" + reservKey).html(selectedobjectData[i].split('|')[2] + " : ").show();
              }
              Pricetotal = parseFloat(Feesp[f].split('|')[2]) + parseFloat($("#spanPriceReservKey" + reservKey).html());
              $("#spanPriceReservKey" + reservKey).html(Pricetotal.toFixed(2));
              if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
                TotalFee += parseFloat(Feesp[f].split('|')[1]);
                TotalPrice += parseFloat(Feesp[f].split('|')[2]) + parseFloat(Feesp[f].split('|')[1]);
                if ($("#CPMain_ctl00_hfIsEachTicket").val() == "True") Discount += parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
                else Discount = parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
              } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfpromoticket").val() == "False") {
                TotalFee += parseFloat(Feesp[f].split('|')[1]);
                TotalPrice += parseFloat(Feesp[f].split('|')[1]) + parseFloat(Feesp[f].split('|')[2]);
                if ($("#CPMain_ctl00_hfIsEachTicket").val() == "True") Discount += (parseFloat(Feesp[f].split('|')[2]) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
                else Discount += parseFloat(Feesp[f].split('|')[2]) - (parseFloat(Feesp[f].split('|')[2]) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val()) / 100);
              } else if ($("#CPMain_ctl00_hfPromoPrice").val() != "" && $("#CPMain_ctl00_hfPromoPrice").val() != "0" && $("#CPMain_ctl00_hfpromoticket").val() == "True" && promocid.indexOf(Feesp[f].split('|')[3]) > -1) {
                TotalFee += parseFloat(Feesp[f].split('|')[1]);
                TotalPrice += parseFloat(Feesp[f].split('|')[2]) + parseFloat(Feesp[f].split('|')[1]);
                if ($("#CPMain_ctl00_hfIsEachTicket").val() == "True") Discount += parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
                else Discount = parseFloat($("#CPMain_ctl00_hfPromoPrice").val());
              } else if ($("#CPMain_ctl00_hfPromoPercentage").val() != "" && $("#CPMain_ctl00_hfpromoticket").val() == "True" && promocid.indexOf(Feesp[f].split('|')[3]) > -1) {
                TotalFee += parseFloat(Feesp[f].split('|')[1]);
                TotalPrice += parseFloat(Feesp[f].split('|')[1]) + parseFloat(Feesp[f].split('|')[2]);
                if ($("#CPMain_ctl00_hfIsEachTicket").val() == "True") Discount += (parseFloat(Feesp[f].split('|')[2]) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val())) / 100;
                else Discount += parseFloat(Feesp[f].split('|')[2]) - (parseFloat(Feesp[f].split('|')[2]) * parseFloat($("#CPMain_ctl00_hfPromoPercentage").val()) / 100);
              } else {
                TotalFee += parseFloat(Feesp[f].split('|')[1]);
                TotalPrice += parseFloat(Feesp[f].split('|')[2]) + parseFloat(Feesp[f].split('|')[1]);
              }
            }
          }
          if ("GeneralAdmissionArea" != selectedobjectData[i].split('|')[2]) {
            $("#spanReservKey" + reservKey).append(ObjectID + ",").show().parent("div").show();
            $("#spanReservObjecttype" + reservKey).html(selectedobjectData[i].split('|')[2] + " :").show();
            $("#spanPriceReservKey" + reservKey).show();
            $("#spanPriceReservKey" + reservKey).parent(".total-price").show();
          }
        }
        var GroupDiscountAmount = GroupDiscount();
        TotalPrice = TotalPrice - Discount - GroupDiscountAmount;
        CalculatedFee = TotalFee;
        if (parseFloat(TotalPrice).toFixed(2) > 0 && $("#CPMain_ctl00_hfEventZillaPayment").val() != "") {
          var eventzillapayment = $("#CPMain_ctl00_hfEventZillaPayment").val().split('|');
          CalculatedFee = parseFloat((parseFloat(TotalPrice - TotalFee).toFixed(2) * eventzillapayment[0] / 100) + TotalFee + parseFloat(eventzillapayment[1]));
          if (3 == eventzillapayment.length && "i" == $("#CPMain_ctl00_hfConvenienceFee").val()) {
            CalculatedFee += parseFloat(parseFloat((parseFloat(TotalPrice - TotalFee).toFixed(2) * eventzillapayment[0] / 100)) * 18 / 100);
          }
        }
        $("#CPMain_ctl00_btnAddOrder").removeAttr("disabled");
      } else {
        $("#CPMain_ctl00_btnAddOrder").attr("disabled", "disabled");
      }
      if ("e" == $("#CPMain_ctl00_hfConvenienceFee").val() || (Discount + GroupDiscountAmount).toFixed(2) > 0) {
        CalculatedFee = 0;
        $("#spFee").hide();
      }
      //console.log("calc " + CalculatedFee);
      //console.log("total " + TotalPrice);
      //console.log("Fee " + TotalFee);
      $(".totalfeecostlabel").html(parseFloat(CalculatedFee + TotalPrice - TotalFee).toFixed(2));
      $("#spFee").html(CalculatedFee.toFixed(2));
      $(".disfeecostlabel").html((Discount + GroupDiscountAmount).toFixed(2));
      $(".subfeecostlabel").html(subtotal.toFixed(2));
    }

    function GroupDiscount() {
      if ($("#CPMain_ctl00_hfDiscountMoretickets").val() != "") {
        for (var s = 0; s < $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|').length; s++) {
          var iquantity = 0;
          var CategoryPrice = 0;
          for (var p = 0; p < selectedobjectData.length; p++) {
            for (var c = 0; c < FeeData.split(',').length; c++) {
              if (selectedobjectData[p].split('|')[1] == FeeData.split(',')[c].split('|')[0] && FeeData.split(',')[c].split('|')[3] == $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[0]) {
                iquantity += 1;
                CategoryPrice = FeeData.split(',')[c].split('|')[2];
              }
            }
          }
          var j = 0;
          var hfcid = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[0];
          var discountprice = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "price" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
          var discountCategory = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[0];
          var discountCategoryList = discountCategory.split('|');
          var discountmoreticket = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[1];
          var discountpercentage = $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[0] == "percentage" ? $("#CPMain_ctl00_hfDiscountMoretickets").val().split('|')[s].split(',')[2].split(':')[1] : "0";
          var calculatedprice = 0;
          if (!isNaN(CategoryPrice)) {
            for (var i = 0; i < discountCategoryList.length; i++) {
              if (iquantity >= discountmoreticket && hfcid == discountCategoryList[i]) {
                if (parseFloat(discountprice) > 0) {
                  return calculatedprice = parseFloat(calculatedprice) + parseFloat(discountprice);
                } else {
                  return calculatedprice = parseFloat(parseFloat(CategoryPrice * iquantity) * parseFloat(discountpercentage)) / 100;
                }
              }
            }
          }
          return 0;
        }
      }
      return 0;
    }

    function GroupbyCategory(CategoryobjectData) {
      var items = {},
        base, key;
      $.each(CategoryobjectData, function(index, val) {
        key = val[0];
        if (!items[key]) {
          items[key] = 0;
        }
        items[key] += val[1];
      });
      var outputArr = [];
      $.each(items, function(key, val) {
        outputArr.push([key, val]);
      });
      return outputArr;
    }

    function setCookies(cname, cvalue, exdays) {
      var d = new Date();
      d.setTime(d.getTime() + (exdays * 1000));
      var expires = "expires=" + d.toUTCString();
      document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/";
    }
    $(document).ready(function() {
      var t = location.href;
      if (t.indexOf("2138989398") > 0) {
        if ($('.tempspace').text() == "ORGANIZER") {
          $('.tempspace').text("ORGANISER");
        };
        if ($('#CPMain_ctl00_infoabout').text().trim() == "About the Organizer") {
          $('#CPMain_ctl00_infoabout').text("About the Organiser");
        };
        if ($('#triggerContact').text().trim() == "CONTACT ORGANIZER") {
          $('#triggerContact').text("CONTACT ORGANISER");
          $('.popup-title').text("CONTACT ORGANISER");
        }
        if (t.indexOf("2138962579") > 0) {
          $("#CPMain_ctl00_fburl").attr('href', 'https://www.facebook.com/groups/svhs1998/about/');
        }
      }
      if (t.indexOf("2138744585") > 0) {
        $('.customlabelwhosattendee').text("Who's a Member");
      }
    });
    // Countdown Timer Table Start     
    var countDownDate = new Date($("#CPMain_ctl00_hdncountdown").val()).getTime();
    //  if (countDownDate != "-2201189400000") {
    var x = setInterval(function() {
      var offset = $("#CPMain_ctl00_hdnutcoffsetcountdown").val();
      var newoffset = offset.replace(/:/g, ".");
      d = new Date();
      utc = d.getTime() + (d.getTimezoneOffset() * 60000);
      now = new Date(utc + (3600000 * newoffset)).getTime();
      var distance = countDownDate - now;
      var days = Math.floor(distance / (1000 * 60 * 60 * 24));
      var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
      var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
      var seconds = Math.floor((distance % (1000 * 60)) / 1000);
      document.getElementById("pcountdown").innerHTML = days + "<span>Days</span>";
      document.getElementById("pcountdownh").innerHTML = hours + "<span>Hours</span>";
      document.getElementById("pcountdownm").innerHTML = minutes + "<span>Minutes</span>";
      document.getElementById("pcountdowns").innerHTML = seconds + "<span>Seconds</span>";
      if (distance < 0) {
        clearInterval(x);
        //  document.getElementById("pcountdown").innerHTML = "Event Started";
        $("#CPMain_ctl00_divcountdown").addClass("hide");
        $("#divnewcountdown").hide();
      }
    }, 1000);
    // }
    //  else { $("#CPMain_ctl00_divcountdown").addClass("hide"); }
    //Waitlist Discount:
    $('.wait-btn').click(function() {
      if ($("#CPMain_ctl00_txtPromoCode").val() != "") {
        var key = CryptoJS.enc.Utf8.parse('8080808080808080');
        var iv = CryptoJS.enc.Utf8.parse('8080808080808080');
        var promocode = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse($("#CPMain_ctl00_txtPromoCode").val()), key, {
          keySize: 128 / 8,
          iv: iv,
          mode: CryptoJS.mode.CBC,
          padding: CryptoJS.pad.Pkcs7
        });
        $(this).attr('href', function() {
          return this.href + '&Discount=' + promocode + '';
        });
      }
    });
  </script>
  <script src="https://www.google.com/recaptcha/api.js"></script>
  <script>
    function onSubmit(token) {
      //__doPostBack('__Page', 'ContactOrganizer');
      $("#form1").attr("action", $("#form1").attr("action"));
      $("#form1").submit();
    }
    $("#CPMain_ctl00_txtYourName").keyup(function() {
      if ($("#CPMain_ctl00_txtYourName").val() != "") {
        $("#spReqlblUsrName").addClass("hide");
      }
    });
    $("#CPMain_ctl00_txtEmailAddress").keyup(function() {
      if ($("#CPMain_ctl00_txtEmailAddress").val() != "") {
        $("#spReqlblOrgMail").addClass("hide");
      }
    });
    $("#CPMain_ctl00_txtSubject").keyup(function() {
      if ($("#CPMain_ctl00_txtSubject").val() != "") {
        $("#spReqlblSubject").addClass("hide");
      }
    });
    $("#CPMain_ctl00_txtSendmessage").keyup(function() {
      if ($("#CPMain_ctl00_txtSendmessage").val() != "") {
        $("#spReqenquiry").addClass("hide");
      }
    });

    function validate(event) {
      event.preventDefault();
      var phnumstemail = true;
      var isvalidemail = true;
      if ($("#CPMain_ctl00_txtYourName").val() == "") {
        $("#spReqlblUsrName").removeClass("hide");
      } else {
        $("#spReqlblUsrName").addClass("hide");
      }
      if ($("#CPMain_ctl00_txtEmailAddress").val() == "") {
        $("#spReqlblOrgMail").removeClass("hide");
      } else {
        $("#spReqlblOrgMail").addClass("hide");
      }
      if ($("#CPMain_ctl00_txtSubject").val() == "") {
        $("#spReqlblSubject").removeClass("hide");
      } else {
        $("#spReqlblSubject").addClass("hide");
      }
      if ($("#CPMain_ctl00_txtSendmessage").val() == "") {
        $("#spReqenquiry").removeClass("hide");
      } else {
        $("#spReqenquiry").addClass("hide");
      }
      var phonenoregex = /^[-+]?[0-9]+$/;
      var inputphone = $("#CPMain_ctl00_txtPhonenumber").val();
      if ($("#CPMain_ctl00_txtPhonenumber").val() != "" && inputphone.match(phonenoregex)) {
        phnumstemail = true;
        $("#spReqPhone").addClass("hide");
      } else {
        if ($("#CPMain_ctl00_txtPhonenumber").val() == "") {
          phnumstemail = true;
          $("#spReqPhone").addClass("hide");
        } else if (($("#CPMain_ctl00_txtPhonenumber").val() != "") && (!inputphone.match(phonenoregex))) {
          phnumstemail = false;
          $("#spReqPhone").removeClass("hide");
        }
      }
      if (isValidEmailAddress($("#CPMain_ctl00_txtEmailAddress").val())) {
        isvalidemail = true;
        $("#spRegularlblOrgMail").addClass("hide");
        $("#spReqlblOrgMail").addClass("hide");
      } else {
        isvalidemail = false;
        if ($("#CPMain_ctl00_txtEmailAddress").val() == "") {
          $("#spRegularlblOrgMail").addClass("hide");
          $("#spReqlblOrgMail").removeClass("hide");
        } else {
          $("#spRegularlblOrgMail").removeClass("hide");
          $("#spReqlblOrgMail").addClass("hide");
        }
      }
      if ($("#CPMain_ctl00_txtYourName").val() != "" && $("#CPMain_ctl00_txtEmailAddress").val() != "" && $("#CPMain_ctl00_txtSubject").val() != "" && $("#CPMain_ctl00_txtSendmessage").val() != "" && (phnumstemail) && (isvalidemail)) {
        $("#spRegularlblOrgMail").addClass("hide");
        grecaptcha.execute();
      }
    }
    $("#CPMain_ctl00_btnSendMessage").click(function() {
      $("#form1").attr("target", "");
    });

    function RecaptchaOnloadPageClick() {
      var element = document.getElementById('CPMain_ctl00_btnSendMessage');
      element.onclick = validate;
    }
    RecaptchaOnloadPageClick();
    $('[data-fancybox="images"]').fancybox({
      loop: true,
      transitionDuration: 100,
      animationDuration: 1000,
      animationEffect: "fade",
      buttons: ['slideShow', 'fullScreen', 'thumbs', 'zoom', 'close'],
      slideShow: {
        autoStart: false,
        speed: 1000,
      },
      thumbs: {
        autoStart: true,
        axis: 'x'
      },
    });
  </script>
  <!-- Cross Sell Events Start -->
  <script type="text/javascript">
    // Post to Facebook - with callback (Used for social discounts)
    function shareFacebook(e) {
      var idvalue = $(e).attr('id');
      var str = $('#' + idvalue + ' .event_link').text();
      var eventname = $('#' + idvalue + ' .fbhidespan').text();
      var strLink = str;
      var strLogo = "https://d2poexpdc5y9vj.cloudfront.net/images/public/logo_thumb.gif";
      var strLogo = $('#' + idvalue + ' .fbhidesbg').text();
      var obj = {
        method: 'feed',
        link: strLink,
        picture: strLogo,
        name: eventname,
        caption: $('#' + idvalue + ' .fbhidespan').text(),
        description: "You can register at" + str,
        //  description: 'Powered by Eventzilla'
      };

      function callback(response) {
        if (response && response.post_id || response != undefined) {
          __doPostBack('__Page', 'facebook');
        } else {
          //    shareFacebook(e);
        }
      }
      FB.ui(obj, callback);
    }
    $(document).ready(function() {
      //$("#crosssellclientname").text($("#CPMain_ctl00_hf_CsClientname").val().toUpperCase());
      var sale_end = $("#CPMain_ctl00_hf_CsCrossSalesened").val();
      var eventcategoryID = $("#CPMain_ctl00_hf_CsEventcategoryID").val();
      var clientID = $("#CPMain_ctl00_hf_CsClientID").val();
      var clientname = $("#CPMain_ctl00_hf_CsClientname").val().toUpperCase();
      var country = $("#CPMain_ctl00_hf_CsCountry").val();
      var customerplan = $("#CPMain_ctl00_hf_CsClientPlanID").val();
      var eventlatitude = $("#CPMain_ctl00_hf_CsLatitude").val();
      var eventlonguitude = $("#CPMain_ctl00_hf_CSLongitude").val();
      var bundleuser = $("#hfIsPremiumSubscription").val();
      var hideotherevent = $("#CPMain_ctl00_hd_CsHidepublic").val();
      var eventID = $("#CPMain_ctl00_lblEventID").val();
      var eventbranding = $("#CPMain_ctl00_hf_IsBrandEnabled").val().toLowerCase();
      //if (sale_end == "Yes" && parseInt(customerplan) == 0 && bundleuser != "true")
      if (sale_end == "Yes" && parseInt(customerplan) == 0 && bundleuser != "true" && eventbranding == "false") {
        $('.Overall_page_load').hide();
        $('.EndEventdivtag').show();
        var link = $("#CPMain_ctl00_Moreevent").attr('href');
        var clientinfo = '<h6 class="TopTitle">Follow this organizer and their other events</h6>';
        clientinfo += '<h2><a class="ActionLink "  id="moreotherevent"  href=' + link + '><span>' + clientname + '</span></a></h2>';
        clientinfo += '<h6 class="BottomTitle"><label id="crossselldescription"></label></h6>';
        $('#EndOrganizerInfo').append(clientinfo);
        var clientdetails = "";
        if ($('#CPMain_ctl00_lblEventTitle').text() == "") {
          clientdetails = '<h1 class="EventName"><span>' + $('#CPMain_ctl00_lblCustomHdrEventName').text() + '</span></h1>';
        } else {
          clientdetails = '<h1 class="EventName"><span>' + $('#CPMain_ctl00_lblEventTitle').text() + '</span></h1>';
        }
        clientdetails += '<p class="EventVenue"><span>' + $('#CPMain_ctl00_lblEventDateTime').text() + '</span></p>';
        clientdetails += '<p class="EventLocation"><span>' + $('#CPMain_ctl00_lblLocation').text() + '</span></p>';
        //clientdetails += '<a class="ViewBtnBlue" id="ViewBtnBlue" href="javascript:void(0);">View Event</a>';
        $('#Organizerdetails').append(clientdetails);
        if (country == "") {
          country = "e";
        }
        if (eventlatitude == "" && eventlonguitude == "") {
          eventlatitude = "e";
          eventlonguitude = "e";
        }
        $.ajax({
          type: "Get",
          url: "https://ws01.eventzilla.net/api/Eventdirectory/GetCrossEeventDetails?pfrom=" + 0 + "&isrch=" + 1 + "&iClientid=" + clientID + "&iCatId=" + eventcategoryID + "&sCryName=" + country + "&sLat=" + eventlatitude + "&sLng=" +
            eventlonguitude,
          dataType: "json",
          success: function(data) {
            var datavalue = data;
            var myJsonObject = datavalue;
            contentType: "application/json";
            if (myJsonObject.length != 0) {
              var Event_d = "0";
              for (var i = 0; i < myJsonObject.length; i++) {
                var client = myJsonObject[i].ClientId;
                //Event date and time split based on at
                var mobjeventdate = myJsonObject[i].EventDate;
                var at = mobjeventdate.split("at");
                var date = new Date(at); //get Event date based on split
                var Eventdates = date.toString();
                var EventMonth = Eventdates.substring(4, 7); //get the Event month
                var EventDay = Eventdates.substring(8, 11); // get the Event day
                var eventtitle = myJsonObject[i].EventTitle;
                if (eventtitle.length > 39) {
                  eventtitle = eventtitle.slice(0, 40);
                  eventtitle = eventtitle + "...";
                }
                if (myJsonObject[i].EventbgColor != "") {
                  if ((myJsonObject[i].EventbgColor).indexOf("repeat") >= 0 || (myJsonObject[i].EventbgColor).indexOf("|") >= 0 || (myJsonObject[i].EventbgColor).indexOf("|no-repeat") >= 0) {
                    eventpgcolor = (myJsonObject[i].EventbgColor).replace("|repeat", "");
                    eventbg = checkUcarecdn(eventpgcolor);
                  } else if ((myJsonObject[i].EventbgColor).indexOf("|no-repeat") >= 0) {
                    eventpgcolor = (myJsonObject[i].EventbgColor).replace("|no-repeat", "");
                    eventbg = checkUcarecdn(eventpgcolor);
                  } else {
                    eventbg = checkUcarecdn(myJsonObject[i].EventbgColor);
                  }
                }
                if (!eventbg) {
                  eventbg = "../assets/v1/images/event-directory-no-image.jpg";
                }
                if (!eventbg) {
                  eventbg = "https://s3.amazonaws.com/ezusrevent/party-small6.jpg";
                }
                var Ticketprice = myJsonObject[i].Price;
                if (Ticketprice == 0) {
                  Ticketprice = 'FREE';
                } else {
                  Ticketprice = 'FROM ' + myJsonObject[i].SCurrencySymbol + myJsonObject[i].Price;
                }
                var eventlocation = myJsonObject[i].EventVenue;
                var eventurl = myJsonObject[i].iEncryID;
                var strShareURL = "tickets.oregonrotary.org/e/" + myJsonObject[i].iEncryID + "";
                if (client == clientID) {
                  if (hideotherevent != "False") {
                    if (eventID != myJsonObject[i].EventID) {
                      Event_d = "1";
                      var Eventdesign = '<div class="col-md-4 col-sm-6 col-xs-12">';
                      Eventdesign += '<div class="EndedSearchEvent">';
                      Eventdesign += '<a class="eventlink crosssellotherevent" href="tickets.oregonrotary.org/e/' + myJsonObject[i].iEncryID + '"><div class="EndedEventImage"><div class="SD"> ' + EventMonth + '<span>' + EventDay +
                        '</span></div><img src="' + eventbg + '"></div></a><div class="EndedEventDetail"><a class="eventlink crosssellotherevent" href="tickets.oregonrotary.org/e/' + eventurl + ' "><h2>' + eventtitle +
                        '</h2><span class="Date"> ' + eventlocation + '</span></a> <div class="BD"><span class="Price">' + Ticketprice + '</span> <div class="SS"><div class="Share"><span class="EventShare"></span><a href="" id="fblink' +
                        i + '"   onclick="shareFacebook(this); return false;" target="_blank" class="icon first"><div class="fbhidespan" > I am attending ' + myJsonObject[i].EventTitle + ' on ' + myJsonObject[i].EventDate +
                        '.</div > <div class="event_link">' + strShareURL + '</div> <div class="fbhidesbg">' + eventbg + '</div></a > <a href="http://twitter.com/share?url=' + strShareURL +
                        '&target=_blank via=Eventzilla&text=I am attending ' + myJsonObject[i].EventTitle + ' on ' + myJsonObject[i].EventDate +
                        '. You can register at -" target="_blank" class="icon last"></a></div ></div > <div class="clearfix"></div></div ></div ></div ></div > '
                      $('#OtherEvents').append(Eventdesign);
                    }
                  }
                } else {
                  var OtherOrganizeEventdesign = '<div class="col-md-4 col-sm-6 col-xs-12">';
                  OtherOrganizeEventdesign += '<div class="EndedSearchEvent">';
                  OtherOrganizeEventdesign += '<a class="eventlink crosssellotherevent" href="tickets.oregonrotary.org/e/' + myJsonObject[i].iEncryID + '"><div class="EndedEventImage"><div class="SD"> ' + EventMonth + '<span>' + EventDay +
                    '</span></div><img src="' + eventbg + '"></div></a><div class="EndedEventDetail"><a class="eventlink crosssellotherevent" href="tickets.oregonrotary.orge/' + eventurl + ' "><h2>' + eventtitle +
                    '</h2><span class="Date"> ' + eventlocation + '</span></a> <div class="BD"><span class="Price">' + Ticketprice + '</span> <div class="SS"><div class="Share"><span class="EventShare"></span><a href="" id="fblink' + i +
                    '"  onclick="shareFacebook(this); return false;" target="_blank" class="icon first"><div class="fbhidespan" > I am attending ' + myJsonObject[i].EventTitle + ' on ' + myJsonObject[i].EventDate +
                    '.</div> <div class="event_link">' + strShareURL + '</div> <div class="fbhidesbg">' + eventbg + '</div></a ><a href="http://twitter.com/share?url=' + strShareURL + '&target=_blank via=Eventzilla&text=I am attending ' +
                    myJsonObject[i].EventTitle + ' on ' + myJsonObject[i].EventDate + '. You can register at -" target="_blank" class="icon last"></a></div></div><div class="clearfix"></div></div></div></div></div>'
                  $('#OtherOrganized').append(OtherOrganizeEventdesign);
                }
                if (Event_d == "1") {
                  $('#Organizertitle').css("display", "block");
                }
              }
            }
          }
        });
      }
      $(".ViewBtnBlue").click(function() {
        $('.EndEventdivtag').hide();
        $('.Overall_page_load').show();
      });
      $(".customlabelcontact").click(function() {
        //$('#contactOrganizer').removeClass("hide");
        $('#contactOrganizer').modal('show');
      });
      $("#EndeventtriggerContact").click(function() {
        $('#contactOrganizer').removeClass("hide");
        $('#contactOrganizer').modal('show');
        //$('#contactOrganizer').removeClass("hide");
        //$('#contactOrganizer').modal('show');
        //$('#contactOrganizer').css('display', 'block');
      });
    });
    $(document).ready(function() {
      // client name
      $("#crosssellclientname").text($("#CPMain_ctl00_hf_CsClientname").val());
      ////description
      var eventdescription = $("#CPMain_ctl00_lblEventOrganizerDescription").html();
      if (eventdescription != "" && eventdescription != "undefined") {
        if (eventdescription.length <= 120) {
          $("#crossselldescription").append('<span>  ' + eventdescription + ' </span>');
        } else if (eventdescription.length > 120) {
          eventdescription = eventdescription.slice(0, 120);
          eventdescription = eventdescription + "...";
          $("#crossselldescription").append('<span>  ' + eventdescription + ' </span>');
        }
      }
    });
    setTimeout(explode, 500);

    function explode() {
      if ($(".session-info").width() < $(".nav-tabs").width()) {
        $(".PreviousBtnClass").removeClass("hide");
        $(".NextBtnClass").removeClass("hide");
        $(".SessionDateMdiv").css("padding", "0 30px");
        $(".ShadowMDiv").removeClass("hide");
      } else {
        $(".PreviousBtnClass").addClass("hide");
        $(".NextBtnClass").addClass("hide");
        $(".SessionDateMdiv").css("padding", "0 0px");
        $(".ShadowMDiv").addClass("hide");
      }
    }

    function checkUcarecdn(image) {
      var appendImage = "";
      if (image.indexOf("ucarecdn") != -1) {
        appendImage = image;
      } else {
        appendImage = "https://s3.amazonaws.com/ezusrevent/" + image + "";
      }
      return appendImage;
    }
    jQuery(function($) {
      var button = document.getElementById('CPMain_ctl00_NextBtnList');
      if (button != null) {
        button.onclick = function() {
          var container = document.getElementById('CPMain_ctl00_TabScrollMdivList');
          scrollAmount = 0;
          var slideTimer = setInterval(function() {
            container.scrollLeft += 20;
            scrollAmount += 20;
            if (scrollAmount >= 65) {
              window.clearInterval(slideTimer);
            }
          }, 10);
        };
      }
      var back = document.getElementById('CPMain_ctl00_PreviousBtnList');
      if (back != null) {
        back.onclick = function() {
          var container = document.getElementById('CPMain_ctl00_TabScrollMdivList');
          scrollAmount = 0;
          var slideTimer = setInterval(function() {
            container.scrollLeft -= 20;
            scrollAmount += 20;
            if (scrollAmount >= 65) {
              window.clearInterval(slideTimer);
            }
          }, 10);
        };
      }
    });
    jQuery(function($) {
      var button = document.getElementById('CPMain_ctl00_NextBtn');
      if (button != null) {
        button.onclick = function() {
          var container = document.getElementById('CPMain_ctl00_TabScrollMdiv');
          scrollAmount = 0;
          var slideTimer = setInterval(function() {
            container.scrollLeft += 20;
            scrollAmount += 20;
            if (scrollAmount >= 55) {
              window.clearInterval(slideTimer);
            }
          }, 10);
        };
      }
      var back = document.getElementById('CPMain_ctl00_PreviousBtn');
      if (back != null) {
        back.onclick = function() {
          var container = document.getElementById('CPMain_ctl00_TabScrollMdiv');
          scrollAmount = 0;
          var slideTimer = setInterval(function() {
            container.scrollLeft -= 20;
            scrollAmount += 20;
            if (scrollAmount >= 55) {
              window.clearInterval(slideTimer);
            }
          }, 10);
        };
      }
    });
  </script>
  <!-- Cross Sell Events End -->
  <script>
    var eventid = $("#CPMain_ctl00_lblEventID").val();
    var EventAquisition = getCookie("_eventAcquisitionSrc");
    var RefSource = "";
    var RefMedium = "";
    var RefCampaign = "";
    var userBrowserinfo = getDebugInfo();
    var userAgent = "";
    if (EventAquisition != "") {
      var pairs = EventAquisition.split('|');
      var result = {};
      pairs.forEach(function(pair) {
        pair = pair.split('=');
        result[pair[0]] = pair[1];
      });
      EventAquisition = result;
      RefSource = guparam("utm_source") != "" ? guparam("utm_source") : (EventAquisition.utmcsr != undefined) ? EventAquisition.utmcsr : "";
      RefMedium = guparam("utm_medium") != "" ? guparam("utm_medium") : (EventAquisition.utmcmd != undefined) ? EventAquisition.utmcmd : "";
      RefCampaign = guparam("utm_campaign") != "" ? guparam("utm_campaign") : (EventAquisition.utmccn != undefined) ? EventAquisition.utmccn : "";
    }
    if (userBrowserinfo != "") {
      userAgent = JSON.stringify(userBrowserinfo);
    }
    var BodyContent = "{'Object':'Registration','PageName':'REvent','EventID':" + eventid + ",'ResourceID':0,'IsAuthenticated':'false','IsConversion':'false','OutCome':'Success','Reason':null,'Visits':null,'RefMedium':'" + RefMedium +
      "','RefSource':'" + RefSource + "','RefCampaign':'" + RefCampaign + "','userAgent':'" + userAgent + "'}";
    $.ajax({
      cache: false,
      dataType: 'json',
      type: 'POST',
      data: BodyContent,
      contentType: 'text/plain',
      url: 'https://track.eventzilla.net/track',
      error: function(rep) {},
      success: function(rep) {},
    });

    function getCookie(cname) {
      var name = cname + "=";
      var ca = document.cookie.split(';');
      for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') {
          c = c.substring(1);
        }
        if (c.indexOf(name) == 0) {
          return c.substring(name.length, c.length);
        }
      }
      return "";
    }
    var hdnHeaderType = $("#CPMain_ctl00_hdnHeaderType").val();
    $("#CPMain_ctl00_btnAddOrder").click(function(e) {});
    // Check browser support
    if (typeof(Storage) != "undefined") {
      // Store
      if (null != localStorage.getItem("isscamcheck")) {
        $("#CPMain_ctl00_hfIsScamCheck").val("True");
      }
      // Retrieve
      //document.getElementById("result").innerHTML = localStorage.getItem("lastname");
    }
    //confirmation page redirect in modern start
    window.onload = function(e) {
      if (hdnHeaderType == "Modern") {
        var index = location.href.indexOf("http");
        if (index !== -1) {
          var receiver = document.getElementById('loadcheckoutpg').contentWindow;
          sendMessage(e);
          // A function to handle sending messages.
          function sendMessage(e) {
            // Prevent any default browser behaviour.
            //e.preventDefault();
            var formdatas = {};
            formdatas.url = location.href;
            formdatas.page = "sale";
            formdatas.eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
            formdatas.gaID = $('#hdnGaEzRegistrations').val();
            formdatas.FbPixelID = $('#hdnFbPixel').val();
            if (formdatas.url.indexOf("?resp=on") > -1 && formdatas.url.indexOf("err=") > -1) {
              formdatas.url = formdatas.url.replace("?resp=on&err=e80", "").slice(0, -1);
            }
            formdatas = JSON.stringify(formdatas);
            var posturl = window.location.protocol + "//" + window.location.hostname + "/ModernCheckoutFlow.html";
            receiver.postMessage(formdatas, posturl);
          }
        }
      }
    }
    $(document).ready(function() {
      $('.close,.close-icon').click(function() {
        $("#form1").removeAttr("target", "loadcheckoutpg");
      });
    });
    const asyncPostCall = async (GetSet, KeyID, KeyValue) => {
      try {
        const response = await fetch("/webcall.aspx?callfrom=embed&rdsgetset=redisgetset", {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json'
          },
          //body: JSON.stringify({ "GetSet": GetSet,"KeyID":KeyID,"KeyValue":KeyValue })
          body: KeyValue
        });
        const data = await response.json();
        if (GetSet == "Get" && data != "" && data.url != "") { //alert(JSON.stringify(data.response));
          //window.top.location.href = data.response.url;
          loadExternalContent(data.url);
          sessionStorage.removeItem("Orderref");
        } else if (GetSet == "Get" && data.response == "") {
          $("#modaleventzilla-iframe").addClass("modal fade in");
          $("#modaleventzilla-iframe").modal("show");
          $("#modaleventzilla-iframe").css("display", "block");
        }
        // enter you logic when the fetch is successful
        console.log(data);
        return data;
      } catch (error) {
        // enter your logic for when there is an error (ex. error toast)
        console.log(error)
      }
    }

    function loadExternalContent(strurl) {
      var iframe = document.querySelector("#loadcheckoutpg");
      iframe.src = "about:blank";
      iframe.src = strurl;
      if (iframe) {
        var iframeSrc = iframe.src;
        iframe.src = iframeSrc;
      }
      $(iframe).removeClass("hide");
      if (event != "undefined" && event != null) {
        event.preventDefault();
      }
    }
    var indexconfirm = sessionStorage.getItem("EzConfirmpath_" + $("#CPMain_ctl00_hfEncryptEventID").val());
    var confirmOrderref = sessionStorage.getItem("Orderref");
    if (indexconfirm != "" && indexconfirm != null && (window.location.href.indexOf("/e/") > 0 || window.location.href.indexOf("/event/") > 0 || window.location.href.indexOf("/event?") > 0)) {
      var chkind = indexconfirm.indexOf("http");
      if (chkind !== -1) {
        loadExternalContent(indexconfirm);
        sessionStorage.removeItem("Orderref");
      }
      //sessionStorage.removeItem("EzConfirmpath_" + guparam("EventID"));
    } else if (confirmOrderref != null && confirmOrderref != "") {
      loadExternalContent(confirmOrderref);
      var KeyID = "confirm_" + confirmOrderref;
      var redisgetmsg = "{\"GetSet\":\"Get\",\"KeyID\":\"" + KeyID + "\",\"KeyValue\":{\"callfrom\":\"eventzilla_widget\"}}";
      //asyncPostCall("Get", KeyID, redisgetmsg);
    }

    function windowurlparam(name) {
      var loc = window.location.href;
      var pa = loc.split('-');
      var eventid = "";
      if (pa.length > 1) {
        eventid = pa[pa.length - 1];
      } else {
        eventid = loc.split('/')[loc.split('/').length - 1];
      }
      if (eventid.indexOf('?') > -1) {
        eventid = eventid.split("?");
        eventid = eventid[0];
      }
      var results = eventid
      if (results == null) return "";
      else return results;
    }

    function ipWhiteList_Validation() {
      var ipWhiteListtxtName = $("#CPMain_ctl00_txtWLYourName").val();
      var ipWhiteListtxtEmail = $("#CPMain_ctl00_txtWLYourEmail").val();
      var ipWhiteListddlLocation = $("#CPMain_ctl00_ddlWLYourLocation").val();
      var ipWhiteListReasonforVisit = $("#CPMain_ctl00_txtWLReasonforVisit").val();
      if (ipWhiteListtxtName != "" && ipWhiteListtxtEmail != "" && ipWhiteListddlLocation != "Select" && ipWhiteListReasonforVisit != "") {
        return true;
      } else {
        if (ipWhiteListtxtName == "") {
          $("#reqtxtWLYourName").removeClass('hide');
          $("#reqtxtWLYourName").addClass('show');
        }
        if (ipWhiteListtxtEmail == "") {
          $("#reqtxtWLYourEmail").removeClass('hide');
          $("#reqtxtWLYourEmail").addClass('show');
        }
        if (ipWhiteListddlLocation == "Select") {
          $("#reqddlWLYourLocation").removeClass('hide');
          $("#reqddlWLYourLocation").addClass('show');
        }
        if (ipWhiteListReasonforVisit == "") {
          $("#reqtxtWLReasonforVisit").removeClass('hide');
          $("#reqtxtWLReasonforVisit").addClass('show');
        }
        return false;
      }
    }
    $("#CPMain_ctl00_txtWLYourName").click(function() {
      if ($("#reqtxtWLYourName").hasClass('show')) {
        $("#reqtxtWLYourName").removeClass('show');
        $("#reqtxtWLYourName").addClass('hide');
      }
    });
    $("#CPMain_ctl00_txtWLYourEmail").click(function() {
      if ($("#reqtxtWLYourEmail").hasClass('show')) {
        $("#reqtxtWLYourEmail").removeClass('show');
        $("#reqtxtWLYourEmail").addClass('hide');
      }
    });
    $("#CPMain_ctl00_ddlWLYourLocation").click(function() {
      if ($("#reqddlWLYourLocation").hasClass('show')) {
        $("#reqddlWLYourLocation").removeClass('show');
        $("#reqddlWLYourLocation").addClass('hide');
      }
    });
    $("#CPMain_ctl00_txtWLReasonforVisit").click(function() {
      if ($("#reqtxtWLReasonforVisit").hasClass('show')) {
        $("#reqtxtWLReasonforVisit").removeClass('show');
        $("#reqtxtWLReasonforVisit").addClass('hide');
      }
    });
  </script>
  <script type="text/javascript">
    // browser compatibility: get method for event
    // addEventListener(FF, Webkit, Opera, IE9+) and attachEvent(IE5-8)
    var myEventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
    // create event listener
    var myEventListener = window[myEventMethod];
    // browser compatibility: attach event uses onmessage
    var myEventMessage = myEventMethod == "attachEvent" ? "onmessage" : "message"
    // register callback function on incoming message
    myEventListener(myEventMessage, function(e) {
      //Confirmation screen check
      if (e.data != "" && e.data != "") {
        if (e.data == "ModernCheckoutDisplay") {
          console.log("mathi");
          console.log(e.data);
        }
        //alert(JSON.stringify(e.data));
        if (e.data == "postsalepageurlsuccess" && "Modern" == $("#CPMain_ctl00_hdnHeaderType").val() || (e.data == "postsalepageurlsuccess" && window.location.protocol == "http:")) {
          sessionStorage.setItem("UserEZModernpath_" + $("#CPMain_ctl00_lblEventID").val(), "postsalepageurlsuccess");
        }
        if (e.data == "ModernCheckoutDisplay" && ("Modern" == $("#CPMain_ctl00_hdnHeaderType").val() || window.location.protocol == "https:" || ("https://app.eventzilla.net" == (window.location.protocol + "//" + window.location.hostname)))) {
          $("#loadcheckoutpg").removeClass("hide").addClass("show");
          $(body).css({
            'overflow': 'hidden'
          });
          $('#loader').css({
            'display': 'none',
            'opacity': '1'
          });
        } else if ("ClearconfirmaPath" == e.data) {
          sessionStorage.removeItem("EzConfirmpath_" + $("#CPMain_ctl00_hfEncryptEventID").val());
          //$('#loader').css({ 'display': 'none', 'opacity': '1' });
        } else if (JSON.stringify(e.data).indexOf("redirect") !== -1) {
          //alert(JSON.stringify(e.data));
          try {
            var parseData = JSON.parse(e.data);
            if (parseData.check != undefined && parseData.check == "") window.top.location.href = parseData.redirecturl;
            else {
              if (parseData.check != undefined && parseData.check == "alert") {
                $("#hfredirect_url").val(parseData.redirecturl);
                $("#Modal_PaypalDoubleBooking_alert").modal("show");
                //$("#loadcheckoutpg").css("display", "none !important");
                $("#loadcheckoutpg").remove();
                console.log("iframe removed now");
              } else {
                window.top.location.href = parseData.redirecturl;
              }
            }
          } catch (ex) {}
        } else if (JSON.stringify(e.data).indexOf("orderid") !== -1) {
          var parseData = JSON.parse(e.data);
          //sessionStorage.setItem("Orderref", parseData.orderid);
          var KeyID = "embed_" + parseData.orderid;
          var redissetmsg = "{\"GetSet\":\"Set\",\"KeyID\":\"" + KeyID + "\",\"KeyValue\":{\"callfrom\":\"eventzilla_widget\",\"parentUrl\":\"" + encodeURI(window.top.location.href) + "\",\"orderref\":\"" + KeyID + "\"}}";
          asyncPostCall("Set", KeyID, redissetmsg);
        }
        //else if (e.data!="" && e.data!=null && e.data.split('|').length > 1 && e.data.split('|')[0] == "ModernConfirmDisplay" && "Modern" == $("#CPMain_ctl00_hdnHeaderType").val()) {
        //$("#loadcheckoutpg").attr("src", e.data.split('|')[1]);
        //$("#loadcheckoutpg").removeClass("hide").addClass("show");
        //sessionStorage.removeItem("EzConfirmpath_" + guparam("EventID"));
        //}
      }
    }, false);

    function close_accordion_section() {
      jQuery('.SessionSpeakerMDiv .SesSelect').removeClass('active');
      jQuery('.SessionSpeakerMDiv .SessionSpeakerBottomContent').slideUp(300).removeClass('open');
    }
    jQuery('.SesSelect').click(function(e) {
      //jQuery('.SessionSpeakerTop').toggleClass('BGGray');
      // Grab current anchor value
      jQuery('.SessionSpeakerDetail').removeClass("BGGray");
      var currentAttrValue = jQuery(this).attr('href');
      if (jQuery(e.target).is('.NoAction')) {
        jQuery(this).removeClass('active');
      } else {
        if (jQuery(e.target).is('.active')) {
          close_accordion_section();
        } else {
          close_accordion_section();
          // Add active class to section title
          jQuery(this).addClass('active');
          // Open up the hidden content panel
          jQuery('.SessionSpeakerMDiv ' + currentAttrValue).slideDown(300).addClass('open');
          jQuery(this).parent().addClass('BGGray');
        }
      }
      e.preventDefault();
    });
    $("#btnRedirect_url").click(function() {
      window.top.location.href = $("#hfredirect_url").val();
    });
    $("#btnCancelRedirect").click(function() {
      window.top.location.href = window.top.location.href;
    });
    $("#CPMain_ctl00_btnunlockapply").click(function() {
      var unlockCodeNew = $("#CPMain_ctl00_txtunlockcode").val();
      var eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
      $.ajax({
        cache: false,
        dataType: 'json',
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        url: 'https://' + window.location.hostname + '/webcall.aspx?unlockcode=' + unlockCodeNew + "&callfrom=unlockcode&eventid=" + eventid,
        success: function(data) {
          var resCategoryId = data;
          var count = 0;
          //var ticketvalidate = false;
          $(".ticket-type").each(function() {
            var categoryID = $("#CPMain_ctl00_rpCategory_hfCategoryID_" + count).val();
            if (resCategoryId == categoryID) {
              $("#CPMain_ctl00_rpCategory_fade_" + count).removeClass("hide");
              $("#CPMain_ctl00_rpCategory_ticketunlocklockicon_" + count).removeClass("hide");
              $("#CPMain_ctl00_txtunlockcode").val("");
              $("#CPMain_ctl00_pcodeapplied").removeClass("hide");
              $("#divunlockcode").addClass("hide");
              var cookiesval = categoryID + "," + count;
              sessionStorage.setItem("ulock" + eventid, cookiesval);
              $('#CPMain_ctl00_divcostsummary').removeClass('hide');
              $('#CPMain_ctl00_lblerrormsgfornoInviteCode').html('');
              $("<input>").attr({
                name: "hfulocksessiondata",
                id: "hdnunlockdata",
                type: "hidden",
                value: cookiesval
              }).appendTo("form");
              // ticketvalidate = true;
            }
            count++;
          });
        },
        error: function(data) {
          $("#pinvalidcode").removeClass("hide");
          $("#divunlockcode").addClass("hide");
          $("#CPMain_ctl00_txtunlockcode").val("");
        }
      });
    });
    $("#aremove").click(function() {
      var eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
      sessionStorage.setItem("ulock" + eventid, "");
      $("#hdnunlockdata").remove();
      $("#CPMain_ctl00_pcodeapplied").addClass("hide");
      $("#CPMain_ctl00_ahavecode").attr("style", "display:block");
      location.reload();
    });
    $("#atryagain").click(function() {
      $("#pinvalidcode").addClass("hide");
      $("#divunlockcode").removeClass("hide");
    });
    $("#CPMain_ctl00_ahavecode").click(function() {
      $("#divunlockcode").removeClass("hide");
      $("#CPMain_ctl00_ahavecode").attr("style", "display:none");
    });
    $(document).ready(function() {
      $('.js-example-basic-multiple').select2();
      var eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
      var unlockCode = sessionStorage.getItem("ulock" + eventid);
      if (unlockCode != null && unlockCode != "") {
        $("<input>").attr({
          name: "hfulocksessiondata",
          id: "hdnunlockdata",
          type: "hidden",
          value: unlockCode
        }).appendTo("form");
        var unlockCount = unlockCode.split(',')[1];
        $("#CPMain_ctl00_pcodeapplied").removeClass("hide");
        $("#CPMain_ctl00_ahavecode").attr("style", "display:none");
        $("#CPMain_ctl00_rpCategory_fade_" + unlockCount).removeClass("hide");
        $("#CPMain_ctl00_rpCategory_ticketunlocklockicon_" + unlockCount).removeClass("hide");
        $('#CPMain_ctl00_lblerrormsgfornoInviteCode').addClass('hide');
        $('#CPMain_ctl00_divcostsummary').removeClass('hide');
      } else {
        $("#CPMain_ctl00_pcodeapplied").addClass("hide");
      }
      if ($(".wait-btn").html() != undefined) {
        $(".wait-btn").each(function() {
          var url = new URL($(this).attr("href"));
          $(this).attr("href", url.href.replace(url.host, window.location.host));
        });
      }
      //SoldOutcheck();
      //check soldout ticket and release redis
      function SoldOutcheck() {
        var streventid = $("#CPMain_ctl00_hfEncryptEventID").val();
        var CategoryIDList = "";
        var soldOutCount = 0;
        $(".sold-ticket").each(function() {
          var id = $(this).attr("id");
          var sp = id.split('_');
          if (sp.length > 0) {
            if (5 == sp.length) {
              var tktid = "CPMain_ctl00_rpCategory_hfCategoryID_" + sp[sp.length - 1];
              CategoryIDList += $("#" + tktid).val() + ",";
              soldOutCount = parseInt(soldOutCount) + 1;
            }
            if (7 == sp.length) {
              var tktid = "CPMain_ctl00_rpGroupCat_rpCategory_" + sp[4] + "_hfCategoryID_" + sp[sp.length - 1];
              CategoryIDList += $("#" + tktid).val() + ",";
              soldOutCount = parseInt(soldOutCount) + 1;
            }
          }
        });
        CategoryIDList = "{\"CategoryIDList\":\"" + CategoryIDList + "\",\"dateid\":\"" + guparam("dateid") + "\"}";
        if (0 == parseInt(soldOutCount) || streventid == "") {
          return;
        }
        $.ajax({
          cache: false,
          dataType: 'json',
          type: 'POST',
          data: CategoryIDList,
          contentType: 'application/json; charset=utf-8',
          url: 'https://' + window.location.hostname + '/webcall.aspx?callfrom=soldout&eventid=' + streventid,
          success: function(data) {
            if (data.soldout == "False") {
              if (window.location.href.indexOf("preview") > -1) {
                var previewval = guparam("preview");
                //window.location.href = window.location.href.replace("preview=" + previewval, "preview=" + $.now());
              } else if (window.location.href.indexOf("?") > -1) {
                //window.location.href = window.location.href + "&preview=" + $.now();
              } else {
                //window.location.href = window.location.href + "?preview=" + $.now();
              }
            }
          },
          error: function(data) {}
        });
      }
      $(".as").on("keyup", function() {
        var searchTerm = $(this).val();
        fnSearchOnKeyUpTitle(searchTerm);
      });
    });
    $(document).ready(function() {
      var owl = $('.owl-carousel');
      owl.owlCarousel({
        margin: 0,
        nav: false,
        dots: true,
        loop: true,
        autoplay: true,
        autoplayTimeout: 5000,
        items: 1
      })
    });
    jQuery(document).ready(function() {
      function close_accordion_section() {
        jQuery('.AccordionFaqMDiv .AccordionFaqSectionTitle').removeClass('active');
        jQuery('.AccordionFaqMDiv .AccordionFaqSectionContent').slideUp(300).removeClass('open');
      }
      jQuery('.AccordionFaqSectionTitle').click(function(e) {
        // Grab current anchor value
        var currentAttrValue = jQuery(this).attr('href');
        if (jQuery(e.target).is('.active')) {
          close_accordion_section();
        } else {
          close_accordion_section();
          // Add active class to section title
          jQuery(this).addClass('active');
          // Open up the hidden content panel
          jQuery('.AccordionFaqMDiv ' + currentAttrValue).slideDown(300).addClass('open');
        }
        e.preventDefault();
      });
      $('.AccordionFaqSectionContent').first().addClass('open');
      $('.AccordionFaqSectionTitle').first().addClass('active');
      $(".AccordionFaqSectionTitle").each(function(i) {
        $(this).attr("href", "#accordion-" + (i + 1));
      });
      $(".AccordionFaqSectionContent").each(function(i) {
        $(this).attr("id", "accordion-" + (i + 1));
      });
    });
    var receiptid = guparam("r-id");
    if (receiptid != undefined && receiptid != "") {
      var eventid = $("#CPMain_ctl00_hfEncryptEventID").val();
      $("#loaders").show();
      $("#containerHideShow").hide();
      $.ajax({
        cache: false,
        dataType: 'json',
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        url: 'https://' + window.location.hostname + '/webcall.aspx?r-id=' + guparam("r-id") + "&callfrom=sales&EventID=" + eventid,
        error: function(rep) {
          console.log("error:" + rep);
          window.location.replace('/noevent');
        }, //EmailInvite_Recipient
        success: function(rep) {
          /*console.log("success:" + rep);*/
          if (rep.success) {
            $("#loaders").hide();
            $("#containerHideShow").show();
            // $("#CPMain_ctl00_lbl_EInvite_recp").html(rep.response.FirstName);
            $("#lblcatdescription").html(rep.response.Category.Description);
            if (rep.response.Category.Description.trim() == "") {
              $("#ticketDesc").hide();
            }
            $("#spaneventname").html($("#CPMain_ctl00_lblCustomHdrEventName").text());
            $("#lblattendeename").html(rep.response.FirstName);
            $("#lblcategoryname").html(rep.response.Category.CategoryText);
            if (rep.response.Category.Price != 0) {
              $("#lblprice").html(" - " + $("#CPMain_ctl00_hfCurrencySymbol").val() + rep.response.Category.Price);
            }
            var InviteOptions = rep.InviteOptions;
            for (var i = 0; i < InviteOptions.length; i++) {
              var obj = InviteOptions[i];
              var type = obj.type;
              var value = obj.value;
              if (type === "Yes") {
                var acceptobj = value.split("|")[0];
                $("#CPMain_ctl00_btnaccept").val(value.split("|")[1]);
                if (acceptobj != "true") {
                  $("#CPMain_ctl00_btnaccept").addClass("hide");
                }
              } else if (type === "No") {
                var declineobj = value.split("|")[0];
                $("#CPMain_ctl00_btndecline").val(value.split("|")[1]);
                if (declineobj != "true") {
                  $("#CPMain_ctl00_btndecline").addClass("hide");
                }
              } else if (type === "Maybe") {
                var maybeobj = value.split("|")[0];
                $("#CPMain_ctl00_btntentative").val(value.split("|")[1]);
                if (maybeobj != "true") {
                  $("#CPMain_ctl00_btntentative").addClass("hide");
                }
              }
            }
          } else {
            window.location.replace('/noevent');
          }
        }
      });
    }
    //Visited status update
    var invitations = {};
    var Url = "";
    invitations.inviteID = guparam("inviteID");
    invitations.invitation = guparam("invitation");
    invitations.receiptid = guparam("r-id");
    var objInviteRes = guparam("resp");
    var isRecurringEvent = guparam("dateid");
    var errorRes = guparam("err");
    if (guparam("resp") != undefined && guparam("resp") != "" && guparam("callfrom") != undefined && guparam("callfrom") != "") {
      Url = "resp=" + guparam("resp") + "&callfrom=" + guparam("callfrom") + "&eventID=" + eventid + "&status=visited"
    } else if (invitations.receiptid != undefined && invitations.receiptid != "") {
      Url = "r-id=" + guparam("r-id") + "&callfrom=secure&eventID=" + eventid + "&status=visited"
    }
    if ((objInviteRes != "" || invitations.receiptid != "" || guparam("callfrom") != "") && (invitations.inviteID == "" && isRecurringEvent == "" && errorRes == "")) {
      $.ajax({
        cache: false,
        dataType: 'json',
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        url: 'https://' + window.location.hostname + '/webcall.aspx?' + Url,
        error: function(rep) {
          window.location.replace('https://app.eventzilla.net' + '/noevent');
        },
        success: function(data) {
          $("#CPMain_ctl00_ddlEventDate").hide();
        }
      });
    }

    function InviteAjax(actionButton) {
      var servactionButton = $("[id$=" + actionButton + "]").attr("id");
      var btnValue = servactionButton.substr(servactionButton.lastIndexOf("_"));
      var status = "";
      var decswaltitle = "Decline Invitation";
      var decswaltext = "Are you sure you want to decline the invite for this event?";
      var tentswaltitle = "Invitation";
      var tentswaltext = "When you select Maybe, you can choose to change the response later. Do you want to proceed?";
      var refineHostURL = ($("#CPMain_ctl00_hdnCustomdomainSecure").val() == "true" || $("#CPMain_ctl00_hdnSubdomain").val() == "true") ? window.location.protocol + "//" + window.location.hostname : "https://events.eventzilla.net";
      if (btnValue == "_btnaccept") {
        status = "Accepted";
        setCookies("Invite_" + $("#CPMain_ctl00_hfEncryptEventID").val(), "{\"EventID\":\"" + $("#CPMain_ctl00_hfEncryptEventID").val() + "\",\"Status\":\"" + status + "\",\"r-id\":\"" + guparam("r-id") + "\"}", 10000);
        InviteOnlyAccept("Accepted", refineHostURL, "", "");
      } else if (btnValue == "_btndecline") {
        status = "Declined";
        setCookies("Invite_" + $("#CPMain_ctl00_hfEncryptEventID").val(), "{\"EventID\":\"" + $("#CPMain_ctl00_hfEncryptEventID").val() + "\",\"Status\":\"" + status + "\",\"r-id\":\"" + guparam("r-id") + "\"}", 100000);
        InviteOnlyAccept("Declined", "", decswaltitle, decswaltext);
      } else if (btnValue == "_btntentative") {
        status = "Tentative";
        setCookies("Invite_" + $("#CPMain_ctl00_hfEncryptEventID").val(), "{\"EventID\":\"" + $("#CPMain_ctl00_hfEncryptEventID").val() + "\",\"Status\":\"" + status + "\",\"r-id\":\"" + guparam("r-id") + "\"}", 100000);
        InviteOnlyAccept("Tentative", "", tentswaltitle, tentswaltext);
      }
      $.ajax({
        cache: false,
        dataType: 'json',
        type: 'POST',
        contentType: 'application/json; charset=utf-8',
        url: 'https://' + window.location.hostname + '/webcall.aspx?r-id=' + guparam("r-id") + "&callfrom=secure&EventID=" + eventid + "&Status=" + status,
        error: function(rep) {},
        success: function(rep) {
          $("#CPMain_ctl00_lblstatus").removeClass("hide");
          // $("#CPMain_ctl00_lblstatus").html("#TBC");
        }
      });
      return false;
    }
    $(".scrtabs-tabs-movable-container ul li").click(function() {
      //var id = $(this).find("a").attr("class");
      //console.log("Clicked element's ID:", id);
      //$(".st").each(function () {
      //    if ($(this).parent().hasClass("hide")) { $(this).parent().removeClass("hide"); }
      //});
      //fnSearchOnKeyUpTitle($(".as").val())
    });
    $("#CPMain_ctl00_lsbtag").click(function() {
      var flag = false;
      var preHtml = "";
      var choicedata = "";
      var closehtml = "";
      $("#showTagsdiv").show();
      $(".ClearTagBtn").removeClass("hide");
      $(".select2-search-choice").addClass("hide");
      choicedata = $(".select2-choices li:nth-last-child(2) div").text();
      closehtml = "<a class=\"CloseIcon\" onclick=fnRemoveTag(\"" + choicedata.replaceAll(" ", "_") + "\")><span class=\"Icon\" >×</span></a>";
      preHtml = "<span class=\"NewTagBtn\" id=\"" + "Divid_" + choicedata.replaceAll(" ", "_") + "\">" + choicedata + closehtml + " </span>";
      var existingtag = $("#divnewtag .NewTagBtn:visible").text().split("  ");
      if (existingtag != "") {
        existingtag.forEach(function(value) {
          if (value == choicedata + 'x') {
            flag = true
          }
        })
      }
      var datediv = $(".tabpresentation.Pad0.active").find('a').attr('href');
      //Filter for single day events
      if (datediv === undefined) {
        var searchTerm = choicedata;
        $(".st").each(function() {
          if ($(this).text().toLowerCase().indexOf(searchTerm) > -1) {
            $(this).parent().parent().parent().parent().removeClass("hide");
          } else {
            $(this).parent().parent().parent().parent().addClass("hide");
          }
        });
      }
      if (choicedata != "") {
        if (flag === false) {
          // flag = true;
          $("#divnewtag").append(preHtml);
          $(".NewTagBtn").each(function() {
            var searchTerm = $(this).text();
            var searchtag = searchTerm.split(" ").filter(function(i) {
              return i;
            });
            $(".st").each(function() {
              $(datediv).filter(function() {
                var str = searchtag[0].substring(0, searchtag[0].length - 1);
                $(this).toggle($(this).text().toLowerCase().indexOf(str.toLowerCase()) > -1)
              });
            });
          });
        }
      }
      if ($(".select2-choices li:nth-last-child(2) div").text() === "") {
        $("#divnewtag").empty();
        $("#showTagsdiv").hide();
      }
    });

    function fnFilterDiv(value) {
      //To return all the ids
      var spanIds = $(".session-info .smainrow").map(function() {
        return $(this).attr("id");
      }).get();
      //To check which checkboxes are checked and returns its values
      var CheckBox = $("#CPMain_ctl00_AttAns input[type='checkbox']").map(function() {
        return $(this).attr("id");
      }).get();
      var CheckBoxChecked = [];
      CheckBox.forEach(function(val) {
        if ($("#" + val).prop("checked")) {
          val = $("#" + val + " + label").text();
          CheckBoxChecked.push(val);
        }
      });
      var SelectedTagsSameTime = [];
      var SelectedTagsDiffTime = [];
      var DivType = "";
      // var IsMultiDayEvent = false;
      if ($(".session-info").find(".tabg2").length === 1) {
        IsMultiDayEvent = true
      };
      //To check whether the dropdown tag value present or not
      spanIds.forEach(function(val) {
        if (CheckBoxChecked.length > 0) {
          CheckBoxChecked.forEach(function(checkBoxVal) {
            var hasClass = $("#" + val).find("." + checkBoxVal.replaceAll(" ", "_")).length > 0;
            if (hasClass) {
              //Each session of same multi time handling
              $("#" + val).removeClass("hide");
              //Handled for single day event of same time multi session
              //  if (IsMultiDayEvent != true) {
              ////if ($("#" + val + " .sdm.MultiSessionRows > div").length > 1) {
              ////    var divspanids = $("#" + val + " .Column-Style.Column-Two.PopupCursor div").map(function () {
              ////        return $(this).attr("id");
              ////    }).get();
              ////    $("#" + val + " div").removeClass("hide");
              ////    divspanids.forEach(function (divid) {
              ////        if ($("#" + divid).find("." + checkBoxVal.replaceAll(" ", "_")).length > 0) {
              ////            SelectedTagsSameTime.push(divid);
              ////        }
              ////        else {
              ////                $("#" + divid).parent().addClass("hide");
              ////        }
              ////    });
              ////}
              if ($("#" + val + " .sdm.MultiSessionRows > div").length > 0) {
                var divspanids = $("#" + val + " .Column-Style.Column-One.PopupCursor div").map(function() {
                  return $(this).attr("id");
                }).get();
                //For handling multi rows
                if (divspanids.length === 0) {
                  divspanids = $("#" + val + " .Column-Style.Column-Two.PopupCursor div").map(function() {
                    return $(this).attr("id");
                  }).get();
                }
                if (divspanids.length === 0) {
                  divspanids = $("#" + val + " .Column-Style.Column-Three.PopupCursor div").map(function() {
                    return $(this).attr("id");
                  }).get();
                }
                if (divspanids.length === 0) {
                  divspanids = $("#" + val + " .Column-Style.Column-Multi.PopupCursor div").map(function() {
                    return $(this).attr("id");
                  }).get();
                  DivType = "Multi";
                }
                //multi rows ends
                $("#" + val + " div").removeClass("hide");
                divspanids.forEach(function(divid) {
                  if ($("#" + divid).find("." + checkBoxVal.replaceAll(" ", "_")).length > 0) {
                    SelectedTagsSameTime.push(divid);
                  } else {
                    if ($("#" + divid).siblings().hasClass("SSMDiv")) {
                      var getId = $("#" + divid).nextAll(".SSMDiv").first().attr("id");
                      $("#" + getId).addClass("hide");
                    }
                    if ($("#" + divid).siblings().hasClass("SSponsMDiv")) {
                      var getId = $("#" + divid).nextAll(".SSponsMDiv").first().attr("id");
                      $("#" + getId).addClass("hide");
                    }
                    //if (DivType === "Multi") {
                    $("#" + divid).parent().addClass("hide");
                    //}
                    //else {
                    $("#" + divid).addClass("hide");
                    //}
                  }
                });
              } else {
                SelectedTagsDiffTime.push(val);
              }
            } else {
              $("#" + val).addClass("hide");
            }
          });
        } else {
          // Remove the "hide" class from all div and span elements inside the parent-div
          $("#" + val).removeClass("hide");
          $("#" + val + " div").removeClass("hide");
        }
      });
      SelectedTagsSameTime.forEach(function(tags) {
        $("#" + tags + " div").parent().parent().removeClass("hide");
        var id = $("#" + tags).closest("div.smainrow").attr("id");
        $("#" + id).removeClass("hide");
        //to show modern theme speakers
        if ($("#" + tags).siblings().hasClass("SSMDiv")) {
          //var getId = $("#" + tags).siblings().attr("id")
          var getId = $("#" + tags).nextAll(".SSMDiv").first().attr("id");
          $("#" + getId + " div").removeClass("hide"); //
          $("#" + tags).parent().removeClass("hide");
          $("#" + getId).removeClass("hide");
          $("#" + tags).removeClass("hide"); //new add
        } else {
          $("#" + tags).removeClass("hide");
          $("#" + tags).parent().removeClass("hide"); //newly added
        }
        if ($("#" + tags).siblings().hasClass("SSponsMDiv")) {
          var getId = $("#" + tags).nextAll(".SSponsMDiv").first().attr("id");
          $("#" + getId).removeClass("hide");
        }
        //To handle horizontal scroll focus to zero
        if ($("#" + tags).parent().parent().parent().hasClass("Scroll-Width")) {
          $(".Scroll-Width").scrollLeft(0);
        }
        //$("#1time_0 .Column-Style.Column-One.PopupCursor > div:first-child").hasClass("hide");
      });
      SelectedTagsDiffTime.forEach(function(tags) {
        $("#" + tags).removeClass("hide");
      });
      fnHandlePadTopClass(spanIds);
      fnSelectedTag(CheckBoxChecked);
      fnHandleSessionExistOrNot();
    }
    $("#TotalTags").on("keyup", function() {
      var searchTerm = $(this).val();
      $(".AllTagsHeader").filter(function() {
        $(this).toggle($(this).text().toLowerCase().indexOf(searchTerm) > -1);
      });
    });

    function fnSelectedTag(CheckBoxChecked) {
      var flag = false;
      var preHtml = "";
      var closehtml = "";
      if (CheckBoxChecked.length > 0) {
        $("#divnewtag").empty(); //clearing initially
        $("#showTagsdiv").show();
        CheckBoxChecked.forEach(function(choicedata) {
          $(".ClearTagBtn").removeClass("hide");
          closehtml = "<a class=\"CloseIcon\" onclick=fnRemoveTag(\"" + choicedata.replaceAll(" ", "_") + "\")><span class=\"Icon\" >×</span></a>";
          preHtml = "<span class=\"NewTagBtn\" id=\"" + "Divid_" + choicedata.replaceAll(" ", "_") + "\">" + choicedata + closehtml + " </span>";
          var existingtag = $("#divnewtag .NewTagBtn:visible").text().split("  ");
          var datediv = $(".tabpresentation.Pad0.active").find('a').attr('href');
          //Filter for single day events
          if (datediv === undefined) {
            var searchTerm = choicedata;
            //filter search code
          }
          if (choicedata != "") {
            $("#divnewtag").append(preHtml);
            $(".NewTagBtn").each(function() {
              var searchTerm = $(this).text();
              var searchtag = searchTerm.split(" ").filter(function(i) {
                return i;
              });
              //filter search code
            });
          }
        });
      } else {
        $("#divnewtag").empty();
        $(".ClearTagBtn").addClass("hide");
        $("#showTagsdiv").hide();
      }
    }

    function fnHandlePadTopClass(spanIds) {
      //To handle PadTop class
      spanIds.forEach(function(id) {
        var insideDivId = $("#" + id + " .Column-Style > div").map(function() {
          return $(this).attr("id");
        }).get();
        var insideDivClass = $("#" + id + " .Column-Style > div").map(function() {
          return $(this).attr("class");
        }).get();
        //To check whether the div is scrollable or not
        if ($("#" + id + " .MultiSessionRows > span:first-child").hasClass("Arrow Arrow-Left")) {
          //Don't add padtop class
        } else {
          //To handle padtop class in a same time by removing added class --starts
          insideDivId.forEach(function(val) {
            if ($("#" + val).hasClass("nspadtop")) {
              $("#" + val).removeClass("nspadtop");
              if ($("#" + val).hasClass("ColumHover") === false) {
                $("#" + val).addClass("PadTop");
              }
            }
          });
          for (let i = 0; i < insideDivClass.length; i++) {
            if (insideDivClass[i].includes("PadTop") === false && (insideDivClass[i].includes("hide") === true)) {
              $("#" + insideDivId[i + 1]).removeClass("PadTop");
              $("#" + insideDivId[i + 1]).addClass("nspadtop");
            }
          }
          var firstnonHideId = $(".Column-Style .dmy:not(.hide):first").attr("id");
          if ($("#" + firstnonHideId).hasClass("PadTop")) {
            $("#" + firstnonHideId).removeClass("PadTop");
            $("#" + firstnonHideId).addClass("nspadtop");
          }
          //To handle padtop class in a same time by removing added class --ends
          var hasclass = $("#" + id + " .Column-Style > div:first-child").hasClass("hide");
          var insideId = $("#" + id + " .Column-Style > div:first-child").attr("id");
          if (hasclass == true) {
            insideIdLen = $("#" + insideId).siblings().length;
            if (insideIdLen > 0) {
              insideDivId.forEach(function(val, key) {
                if (key !== 0) {
                  $("#" + val).addClass("PadTop");
                }
              });
              var firstNonHideDiv = $("#" + id + " .Column-Style > div:not(.hide)").attr("id");
              $("#" + firstNonHideDiv).removeClass("PadTop");
            }
          } else if ($("#" + id + " .Column-Style").hasClass("Column-Multi")) {
            //Handled for multi column to not add padtop class
          } else {
            insideIdLen = $("#" + insideId).siblings().length;
            if (insideIdLen > 0) {
              insideDivId.forEach(function(val, key) {
                if (key !== 0) {
                  $("#" + val).addClass("PadTop");
                }
              });
            }
          }
          //Height fix 
          $("#" + id + " .Column-Style").css('height', '');
        }
      });
    }

    function fnRemoveTag(tag) {
      $('#s2id_CPMain_ctl00_lsbtag div:contains(' + tag + ')').next('a').click();
      $("#Divid_" + tag).hide();
      var datediv = $(".tabpresentation.Pad0.active").find('a').attr('href');
      $(datediv).filter(function() {
        var str = "";
        $(this).toggle($(this).text().toLowerCase().indexOf(str.toLowerCase()) > -1)
      });
      if ($('#divnewtag').is(':empty')) {
        $(".ClearTagBtn").addClass("hide");
        $("#showTagsdiv").hide();
      } else {
        $(".ClearTagBtn").removeClass("hide");
      }
      //var idValue = $("label:contains(" + tag.replaceAll("_"," ") + ")").prev("input[type='checkbox']").attr("id");
      var tagText = tag.replaceAll("_", " ");
      var idValue = $("label").filter(function() {
        return $(this).text() === tagText;
      }).prev("input[type='checkbox']").attr("id");
      $("#" + idValue).click();
    }
    $(".ClearTagBtn").click(function() {
      $("#divnewtag").empty();
      $("#showTagsdiv").hide();
      $(".select2-search-choice").each(function() {
        $(".select2-search-choice").removeClass("hide");
      });
      $(".select2-search-choice-close").each(function() {
        $(".select2-search-choice-close").click();
      });
      var datediv = $(".tabpresentation.Pad0.active").find('a').attr('href');
      $(datediv).filter(function() {
        var str = "";
        $(this).toggle($(this).text().toLowerCase().indexOf(str.toLowerCase()) > -1)
      });
      $(".ClearTagBtn").addClass("hide");
      //To check which checkboxes are checked and uncheck them
      var CheckBox = $("#CPMain_ctl00_AttAns input[type='checkbox']").map(function() {
        return $(this).attr("id");
      }).get();
      CheckBox.forEach(function(val) {
        if ($("#" + val).prop("checked")) {
          $("#" + val).click();
        }
      });
    });

    function fnSearchOnKeyUpTitle(searchTerm) {
      searchTerm = searchTerm.toLowerCase();
      var spanIds = $(".session-info .smainrow").map(function() {
        return $(this).attr("id");
      }).get();
      var SelectedTagsSameTime = [];
      var SelectedTagsDiffTime = [];
      var DivType = "";
      var DivClass = "";
      spanIds.forEach(function(val) {
        //////Condition to find more than one session at a same time or not and its logics
        ////if ($("#" + val + " .Column-Style.Column-One.PopupCursor > div:not(.SSMDiv)").length > 1) {
        if ($("#" + val + " .sdm.MultiSessionRows > div").length > 0) {
          var divspanids = $("#" + val + " .Column-Style.Column-One.PopupCursor div").map(function() {
            return $(this).attr("id");
          }).get();
          DivClass = " .Column-Style.Column-One.PopupCursor > div:not(.hide)";
          //For handling multi rows
          if (divspanids.length === 0) {
            divspanids = $("#" + val + " .Column-Style.Column-Two.PopupCursor div").map(function() {
              return $(this).attr("id");
            }).get();
            DivClass = " .Column-Style.Column-Two.PopupCursor > div:not(.hide)";
          }
          if (divspanids.length === 0) {
            divspanids = $("#" + val + " .Column-Style.Column-Three.PopupCursor div").map(function() {
              return $(this).attr("id");
            }).get();
            DivClass = " .Column-Style.Column-Three.PopupCursor > div:not(.hide)";
          }
          if (divspanids.length === 0) {
            divspanids = $("#" + val + " .Column-Style.Column-Multi.PopupCursor div").map(function() {
              return $(this).attr("id");
            }).get();
            DivClass = " .Column-Style.Column-Multi.PopupCursor > div:not(.hide)";
            DivType = "Multi";
          }
          //multi rows ends
          $("#" + val + " div").removeClass("hide");
          divspanids.forEach(function(divid) {
            if ($("#" + val).find(".st").length > -1) {
              $("#" + divid + " .st").each(function() {
                if ($(this).text().toLowerCase().indexOf(searchTerm) > -1) {
                  if (divid.includes("SessionModal")) {
                    SelectedTagsSameTime.push(divid);
                  }
                } else {
                  if ($("#" + divid).siblings().hasClass("SSMDiv")) {
                    var getId = $("#" + divid).nextAll(".SSMDiv").first().attr("id");
                    $("#" + getId).addClass("hide");
                  }
                  if ($("#" + divid).siblings().hasClass("SSponsMDiv")) {
                    var getId = $("#" + divid).nextAll(".SSponsMDiv").first().attr("id");
                    $("#" + getId).addClass("hide");
                  }
                  //if (DivType === "Multi") {
                  $("#" + divid).parent().addClass("hide");
                  //} else {
                  $("#" + divid).addClass("hide");
                  //}
                }
              });
            } else {
              if (DivType === "Multi") {
                $("#" + divid).parent().addClass("hide");
              } else {
                $("#" + divid).addClass("hide");
              }
            }
          });
        } else {
          SelectedTagsDiffTime.push(val);
        }
        if ($("#" + val + DivClass).length === 0) {
          $("#" + val).addClass("hide")
        }
      });
      SelectedTagsSameTime.forEach(function(tags) {
        $("#" + tags + " div").parent().parent().removeClass("hide");
        var id = $("#" + tags).closest("div.smainrow").attr("id");
        $("#" + id).removeClass("hide");
        //to show modern theme speakers
        if ($("#" + tags).siblings().hasClass("SSMDiv")) {
          //var getId = $("#" + tags).siblings().attr("id")
          var getId = $("#" + tags).nextAll(".SSMDiv").first().attr("id");
          $("#" + getId + " div").removeClass("hide");
          $("#" + tags).parent().removeClass("hide");
          $("#" + getId).removeClass("hide");
          $("#" + tags).removeClass("hide"); //new add
        } else {
          $("#" + tags).removeClass("hide");
          $("#" + tags).parent().removeClass("hide"); //newly added
        }
        if ($("#" + tags).siblings().hasClass("SSponsMDiv")) {
          var getId = $("#" + tags).nextAll(".SSponsMDiv").first().attr("id");
          $("#" + getId).removeClass("hide");
        }
        //To handle horizontal scroll focus to zero
        if ($("#" + tags).parent().parent().parent().hasClass("Scroll-Width")) {
          $(".Scroll-Width").scrollLeft(0);
        }
      });
      SelectedTagsDiffTime.forEach(function(tags) {
        $("#" + tags).removeClass("hide");
      });
      ////TO handle type search with combination of selected Tags
      //fnFilterDiv('CombinationTag');
      fnHandlePadTopClass(spanIds);
      fnHandleSessionExistOrNot();
    }
    $(document).ready(function() {
      $("#CPMain_ctl00_containerControl").css("display", "none");
      $("#showTagsdiv").css("display", "none");
      if ($("#CPMain_ctl00_containerControl .AllTagsHeader").length === 0) {
        $(".afc").hide()
      }
    });
    $("#ChkBoxToggle").click(function() {
      $("#CPMain_ctl00_containerControl").toggle();
    });

    function SetTagDivHeight(tagid) {
      $("#" + tagid + " .smainrow").each(function() {
        var tagid = $(this).find('a').attr("class");
        var NewHeightid = $(this).attr('id');
        var NewHeight = $("#" + NewHeightid).find('.MultiSessionRows').height();
        $("#" + tagid).find("#" + NewHeightid + ' .MultiSessionRows .Column-Style').css("height", NewHeight);
      });
    }
    $(document).on('click', function(event) {
      // Check if the click event did not originate from within an element with the class "afc"
      if (!$(event.target).closest('.afc').length) {
        // The click occurred outside, so hide the specific div
        $("#CPMain_ctl00_containerControl").hide()
      }
    });

    function fnHandleSessionExistOrNot() {
      var tagid = $('.tabpresentation.active').find('a').attr("class");
      if (tagid == undefined) {
        tagid = "tabg1";
      }
      if ($("#" + tagid + " div:visible").length === 0) {
        // creates a div element
        var $NoContentDiv = $("<div/>").attr("id", "NoSession").addClass("NoSession").html("<div class='NoSession NoSessionClass'>No sessions matched your search. <a id='NoSessionClear' href='#'>Reset</a> and try a broader search</div>");
        $("#" + tagid).append($NoContentDiv);
      } else if ($("#" + tagid + " div:visible").not('.NoSession').length === 0) {} else {
        $(".NoSession").remove();
      }
    }
    $(document).ready(function() {
      $(document).on("click", "#NoSessionClear", function(event) {
        event.preventDefault();
        $(".as").val('');
        $(".as").keyup();
        $(".ClearTagBtn").click();
      });
      if ($("#hfCustomEventLabel").val() != undefined && $("#hfCustomEventLabel").val() != "") {
        CustomLabelBind($("#hfCustomEventLabel").val());
        registration_saleCustomEventLabel($("#hfCustomEventLabel").val());
      }
    });
    $(window).bind("load", function() {
      var AlertHeightPre = $('.PreviewAlertHeight');
      var PreviewHeight = AlertHeightPre.height() + 30;
      $('.PreviewAlertBgHeight').height(PreviewHeight);
    });
    $(document).ready(function() {
      function updateHeight() {
        var SpekImgHeight = $('.SpeakerImageHeight').height();
        $('.SpeakerOverlayHeight').height(SpekImgHeight);
        $('.SpeakerImageHeight').height(SpekImgHeight);
      }
      updateHeight();
      setInterval(updateHeight, 2000);
    });
  </script>
  <input type="hidden" id="hfPageUrl" name="hfPageUrl" value="https://tickets.oregonrotary.org/e/2138778782">
  <script type="text/javascript">
    $("#hfPageUrl").val(window.location.href);
  </script>
  <input type="hidden" name="ctl00$lt_docTitle" id="lt_docTitle" value="true">
  <script type="text/javascript">
    $(document).ready(function() {
      if ("true" == $("#lt_docTitle").val()) {
        var tit = document.title;
        document.title = tit.replace(" - Powered by Eventzilla", "");
        $(".evbrand").addClass("hide");
      } else {
        $(".evbrand").removeClass("hide");
      }
      var t = location.href;
      if (t.indexOf("m4x4axjtrailerfund") > 0) {
        $('.bg-img').addClass("image-full");
      }
      $("#a_reportabuselink").attr('href', 'mailto:help@eventzilla.net?subject=Abuse Report&body=' + $("#hdn_eventurlforabuse").val() + '');
    });
    if ("true" == $("#lt_docTitle").val()) {
      var tit = document.title;
      document.title = tit.replace(" - Powered by Eventzilla", "");
      $(".evbrand").addClass("hide");
    } else {
      $(".evbrand").removeClass("hide");
    }! function(f, b, e, v, n, t, s) {
      if (f.fbq) return;
      n = f.fbq = function() {
        n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
      };
      if (!f._fbq) f._fbq = n;
      n.push = n;
      n.loaded = !0;
      n.version = '2.0';
      n.queue = [];
      t = b.createElement(e);
      t.async = !0;
      t.src = v;
      s = b.getElementsByTagName(e)[0];
      s.parentNode.insertBefore(t, s)
    }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');
    (function() {
      var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
      link.type = 'image/x-icon';
      link.rel = 'shortcut icon';
      link.href = ($("#lt_docTitle").val() == "false") ? "http://www.eventzilla.net/favicon.ico" : "";
      document.getElementsByTagName('head')[0].appendChild(link);
    })();
  </script>
  <script type="text/javascript">
    //<![CDATA[
    $(document).ready(function() {
      $('.TierTitle').addClass('hide')
    }); //]]>
  </script>
</form>

Text Content

FINALIZING YOUR PAYMENT

Please do not close or refresh this window...

This event has ended View Details
 * Find your tickets |
 * Find more events |
 * List your event
   

Eventzilla




OTHER EVENTS BY THIS ORGANIZERMORE BY OREGON ROTARY CLUB




EVENTS YOU MIGHT LIKE



 * Find your tickets |
 * Find more events |
 * List your event
   

Eventzilla



11TH ANNUAL WINE, CHEESE & CHOCOLATE TASTING

Saturday, 18 April 2020 6:00 PM - 8:00 PM CST



Register Now


Register Now
 * 
 * Event Information
 * Location
 * About the Organizer
 * Comments
 * Register Now
   


NaNDays
NaNHours
NaNMinutes
NaNSeconds
This event is currently not on sale. Please contact the organizer at the email
address on the bottom right corner.



REGISTRATION

ACCESS CODE APPLIED SUCCESSFULLY. REMOVE

INVALID ACCESS CODE. TRY AGAIN

HAVE AN ACCESS CODE?


Sale ended



WINE, CHEESE & CHOCOLATE TASTING PARTIAL APPROVAL - $25.00



0 1 2 3 4 5 6 7 8 9 10

Sale ended



SUPPORT OREGON ROTARY WITH AN ADDITIONAL CONTRIBUTION!

Sale ends on 04/18/2020

0 0


ENTER YOUR DISCOUNT CODE

 * Subtotal (excluding fees and discounts) $0.00
 * 
 * Fee$0.00
 * Total amount$0.00
 * 

 * 




1. SELECT SEATS




2. REVIEW AND PROCEED






EVENT INFORMATION

Saturday, 18 April 2020 6:00 PM - 8:00 PM CST



Join us for the 11th Annual Oregon Rotary Artisan Wine & Cheese Tasting on
Saturday, April 18 from 6 PM to 8 PM. You’ll taste 8 best-handcrafted artisan
cheeses and 2 chocolates made in Wisconsin paired with 10 wines, as well as the
unique ambiance of the restored Red Brick Gym at the Gorman Building in downtown
Oregon.

This event is a fundraiser for the Oregon Rotary Club, dedicated to supporting
the Oregon community through projects such as the Oregon Rotary Bike Trail,
Lerner Park prairie restoration, elementary school bike rodeos, scholarships for
local Oregon High School graduates and more.

Tickets at the door will be $30.






LOCATION

GETTING THERE

 * 
 * 
 * 
 * 




ABOUT THE ORGANIZER


OREGON ROTARY CLUB

Oregon Rotary

Contact the Organizer


FREQUENTLY ASKED QUESTIONS


×









SPEAKERS


×




×









SPONSORS


×


SESSIONS

 * Welcome
 * Register
 * Learning
 * Programming
 * Advantages
 * Workshop
 * Managemet
 * Programs
 * test
   * test



Clear all ×




PHOTO GALLERY


COMMENTS


×

ENTER UNLOCK CODE


Close

This event is powered by Eventzilla. List your event today for free

Contact Us Privacy Policy Terms of Service Report abuse
×

ENTER UNLOCK CODE

Please enter below, the secure invite code provided to you by the event
organizer in order to proceed...




×


CONTACT ORGANIZER

Your Name Name is required
Email Address Email is required Please enter a valid email address
Subject Subject is required
Phone Number (Optional) Only Numeric Characters allowed
Enquiry Enquiry is required
Close
×


DUPLICATE TRANSACTION?

Looks like you just purchased a ticket for this event for the same amount using
the same details in the last hour. Are you sure you want to proceed with this
registration?

×


ACCESS DENIED

The IP address of the network that you are using to access this website has been
blacklisted due to potential threats of SPAM and/or other illegitimate activity.
If you believe that your request has been blocked incorrectly, here are some
common suggestions for you to try:
 * Disconnect from a VPN or any other kind of proxy service.
 * Avoid using a public WIFI or network to access this website.

If neither of the above conditions apply to you; then you can send us a request
to have your IP address whitelisted by completing the form below.
Your name * Please enter your name
Your email *

(Please use a genuine email address. It will be used to validate your request)

Please enter your email
Your Phone (Optional)
Your location * Please select your country
Reason for visit * Please enter your reason

×


YOUR ARE INVITED

Email invite functionality features or organizer description details
Your name:

Ticket Price Quantity 1

Ticket
Price
Quantity