cmsPrefs

#glossary
  "cheesecake"
  :-)
  ;-)
  :-(
  :-|
  <%useBootstrap%>
      <link href="<%cssUrl%>" rel="stylesheet" />
  <%useBootstrap3%>
  <%useFontAwesome%>
  <%useJQuery%>
  <%customStylesScripts%>
  <%outlineEmbedCode%>
        .divTrexEmbeddedOutlineContainer {
          margin-bottom: 20px;
          }
        .divTrexEmbeddedOutlineContainer .divTrexEmbeddedOutliner {
          min-height: 10em;
          max-height: 30em;
          border:1px solid gainsboro;
          border-top-width: 0;
          border-bottom-width: 0;
          overflow-y: auto;
          background-color: white;
          padding: 6px;
          }
        .divTrexEmbeddedOutlineContainer .divAboveOutlineInfo {
          min-height: 1.5em;
          border:1px solid gainsboro;
          background-color: whitesmoke;
          padding: 4px;
          font-family: "Arial";
          font-size: .9em;
          }
        .divTrexEmbeddedOutlineContainer .divInfoRight {
          float: right;
          }
        .divTrexEmbeddedOutlineContainer .divBelowOutlineInfo {
          min-height: 1.5em;
          border:1px solid gainsboro;
          background-color: whitesmoke;
          padding: 4px;
          font-family: "Arial";
          font-size: .9em;
          }
        .divTrexEmbeddedOutlineContainer .divAboveOutlineInfo a {
          font-family: "Arial";
          font-size: .9em;
          color: #0088cc;
          }
        .divTrexEmbeddedOutlineContainer .divAboveOutlineInfo a:visited {
          font-family: "Arial";
          font-size: .9em;
          color: #0088cc;
          }
        .divTrexEmbeddedOutlineContainer .divBelowOutlineInfo a {
          font-family: "Arial";
          font-size: .9em;
          color: #0088cc;
          }
        .divTrexEmbeddedOutlineContainer .divBelowOutlineInfo a:visited {
          font-family: "Arial";
          font-size: .9em;
          color: #0088cc;
          }
        .divTrexEmbeddedOutlineContainer .divOutlineTitle {
          font-weight: bold;
          }
            Fargo
        var font = "<%font%>", fontSize = <%fontSize%>, lineHeight = <%lineHeight%>;
        var opmlUrl = "<%opmlUrl%>";
        function opKeystrokeCallback () {
          }
        function setPrefs () {
          $("#idTrexEmbeddedOutliner").concord ({
            "prefs": {
              "outlineFont": font,
              "outlineFontSize": fontSize,
              "outlineLineHeight": lineHeight,
              "renderMode": true,
              "readonly": true,
              "typeIcons": appTypeIcons
              },
            "callbacks": {
              "opExpand": opExpandCallback,
              "opKeystroke": opKeystrokeCallback
              }
            });
          }
        function getOutline (opmlUrl) {
          var jxhr = $.ajax ({
            url: opmlUrl,
            dataType: "text",
            timeout: 30000
            })
          .success (function (data, status, xhr) {
            if (xhr.status==200) {
              var title;
              $("#idTrexEmbeddedOutliner").concord ().op.xmlToOutline (data, false);
              title = $("#idTrexEmbeddedOutliner").concord ().op.getTitle ();
              $("#idOutlineTitle").html (title);
              $("#idViewSource").html ("view source");
              }
            })
          .error (function (status, textStatus, errorThrown) {
            console.log ("checkOutline: error == " + errorThrown + ", status == " + textStatus);
            });
          }
        $(document).ready (function () {
          setPrefs ();
          getOutline (opmlUrl);
          });
  <%useSmallPictStyles%>
        var pagetable = <%pagetableInJSON ()%>; //12/12/13 by DW
      .container { margin: 5px auto 5px !important; }.divFargoOutlineBody {margin-top:40px;} .divFargoMarkdown p {font-family: Georgia; font-size: 18px; line-height: 140%;}
  ::responsiveMenu::
              Toggle navv
            Well if you ask me...
                Blog
                Faith
                Family
                Freedom
                Fun
                Reviews
                Books
                Movies
#menus
  default
    <%menuTitle%>
      Made with Fargo
        What is Fargo?
        -
        Blogging with Fargo
        Outliner howto
        -
        Scripting News
      <%icon ("rss")%>
  bsoistMenu
    <%menuTitle%>
      <%icon("user")%>
      <%icon("link")%>
          Faith
          Family
          Freedom
          Fun
          Reviews
          Books
          Movies
      <%icon("fa-book")%>
      <%icon("fa-film")%>
      <%icon("github-alt")%>
      <%icon("stack-overflow")%>
      <%icon("flickr")%>
      <%icon("tumblr")%>
      <%icon("linkedin")%>
#templates
  outline
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
        <%useBootstrap%>
        <%useSmallPictStyles%>
          @media only screen
          and (min-device-width : 320px)
          and (max-device-width : 480px) {
            .navbar .nav>li {
              display: none;
              height: 0;
              }
            .divFargoSocialMediaLinks {
              display: none;
              }
            .container {
              margin-top: 10px;
              width: 90%;
              }
            .divFargoMarkdown p {
              font-size: 17px;
              line-height: 140%;
              }
            h2 {
              font-size: 24px;
              line-height: 140%;
              }
            .divHeadlineUnit {
              margin-bottom: 5px;
              }
            .divPrevNext {
              font-size: 1.2em;
              float: none;
              }
            .divBreadcrumbs {
              display: none;
              font-size: 15px;
              }
            .breadcrumb>li>.divider {
              padding: 0;
              padding-left: 1px;
              }
            .spSlogan {
              display: none;
              }
            }
          .divOutlineImage {
            height: 100%;
            width: 100%;
            position: absolute;
            right: 0;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
            opacity: 1;
            }
          .divTextInFrontOfImage {
            background-color: white;
            opacity: .90;
            padding: 1.5em;
            border:2px solid whitesmoke;
            }
          .spSlogan {
            display: none;
            }
          .divOutlineNoMarkdown {
            font-size: 20px;
            line-height: 150%;
            }
          .divOutlineNoMarkdown li {
            line-height: 150%;
            }
          .divOutlineNoMarkdown li {
            }
          .divOutlineNoMarkdown .ulOutlineList {
            padding: 0;
            margin: 0;
            }
          .divOutlineNoMarkdown .liOutline {
            list-style-type: none;
            margin-bottom: .5em;
            }
          .divOutlineNoMarkdown .divOutlineHead {
            font-weight: bold;
            margin-top: 13px;
            margin-bottom: 13px;
            }
          .divOutlineNoMarkdown .liHasSubs ul {
            }
          .divOutlineNoMarkdown .liNoSubs {
            }
          .divOutlineNoMarkdown .spOutlineIcon {
            margin-right: -11px;
            }
          .divOutlineNoMarkdown .aOutlineWedgeLink {
            color: black;
            }
          .divOutlineNoMarkdown .aOutlineWedgeLink i {
            color: black;
            cursor: pointer;
            position: relative;
            width: .5em;
            left: -1em;
            }
          .divOutlineNoMarkdown .aOutlineTextLink {
            cursor: pointer;
            color: black;
            text-decoration: none;
            }
          .divOutlineNoMarkdown .spPermalink {
            }
          .divOutlineNoMarkdown .spPermalink a {
            text-decoration: none;
            color: purple;
            font-size: 10px;
            font-weight: normal;
            vertical-align: top;
            margin-left: 3px;
            }
          .divOutlineNoMarkdown code {
            display: inline;
            border: none;
            color: black;
            font-size: .85em;
            }
        <%customStylesScripts%>
        <%userStyles ()%>
          function ecOutline (idnum) { //7/12/14 by DW
            var c = document.getElementById ("idOutlineWedge" + idnum), idUL = "#idOutlineLevel" + idnum;
            if (c.className == "fa fa-caret-down") {
              c.className = "fa fa-caret-right";
              c.style.color = "black";
              $(idUL).slideUp (75);
              }
            else {
              c.className = "fa fa-caret-down";
              c.style.color = "silver";
              $(idUL).slideDown (75);
              }
            }
          function startupOutlineTemplate () {
            if ((pagetable.backgroundImage != undefined) && (pagetable.backgroundImage.length > 0)) {
              var textInFront = document.getElementById ("idTextInFrontOfImage");
              textInFront.className = "divTextInFrontOfImage";
              var outlineImage = document.getElementById ("idOutlineImage");
              outlineImage.className = "divOutlineImage";
              outlineImage.style.backgroundImage = "url(\"" + pagetable.backgroundImage + "\")";
              }
            }
        ::responsiveMenu::
                <%prevNextLinks ()%>
                <%breadcrumbs ()%>
                <%text%>
                <%bodytext%>
                Last built: <%formatDate (pagetable.now, "%a, %b %e, %Y at %l:%M %p")%>
                <%disqusComments ()%>
                By <%byline ()%>, <%formatDate (pagetable.created)%>. <%slogan ()%>
          startupFargoPlatform ();
          startupOutlineTemplate ();
  bloghome
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
        <%useBootstrap%>
        <%useSmallPictStyles%>
          @media only screen
          and (min-device-width : 320px)
          and (max-device-width : 480px) {
            .navbar .nav>li {
              display: none;
              height: 0;
              }
            .divFargoSocialMediaLinks {
              display: none;
              }
            .container {
              margin-top: 10px;
              width: 90%;
              }
            .divFargoMarkdown p {
              font-size: 17px;
              line-height: 140%;
              }
            h2 {
              font-size: 24px;
              line-height: 140%;
              }
            .divHeadlineUnit {
              margin-bottom: 5px;
              }
            .divPrevNext {
              float: none;
              }
            .divBreadcrumbs {
              display: none;
              font-size: 15px;
              }
            .breadcrumb>li>.divider {
              padding: 0;
              padding-left: 1px;
              }
            .spSlogan {
              display: none;
              }
            }
        <%customStylesScripts%>
        <%userStyles ()%>
        ::responsiveMenu::
                <%breadcrumbs ()%>
              <%text%>
              <%opmlDescription%>
            <%bodytext%>
              Last built: <%formatDate (pagetable.now, "%a, %b %e, %Y at %l:%M %p")%>
              By <%byline ()%>, <%formatDate (pagetable.created)%>.
          startupFargoPlatform ();
  html
    <%bodytext%>
  markdown
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
        <%useBootstrap%>
        <%useSmallPictStyles%>
        <%customStylesScripts%>
        <%userStyles ()%>
        ::responsiveMenu::
          <%bodytext%>
  stream
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
        <%useBootstrap3%>
        <%useSmallPictStyles%>
        <meta property="og:url" content="<%url%>" />
        <meta property="og:title" content="<%text%>" />
        <meta property="og:description" content="<%description%>" />
        <meta property="og:image" content="<%backgroundImage%>" />
        <meta property="og:site_name" content="<%opmlLongTitle%>" />
        <meta name="twitter:title" content="<%text%>" />
        <meta name="twitter:url" content="<%url%>" />
        <meta name="twitter:description" content="<%description%>" />
        <meta name="twitter:image" content="<%backgroundImage%>"/>
        <meta name="twitter:site" value="<%authorTwitterAccount%>">
          body {
            background-color: whitesmoke;
            }
          .divPageContainer {
            }
          .navbar {
            font-size: 17px;
            line-height: 140%;
            }
          .navbar-inner {
            min-height: 60px;
            }
          .navbar .nav > li > a {
            padding-top: 17px;
            }
          .navbar .brand {
            padding-top: 13px;
            padding-left: 25px;
            }
          .navbar-container {
            width: 1000px !important;
            }
          .divFargoStreamBody {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            }
          .divBodyText {
            padding-top: 7.5%;
            }
          .divStreamTopSpacer {
            height: 60px;
            }
          .divStreamDay {
            position: relative;
            width: 100%;
            height: 100%;
            margin-left: 0;
            margin-top: 0;
            border-top: 1px solid silver;
            z-index: 0;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            }
          .divStreamDayText {
            font-family: 'Vollkorn', serif;
            font-size: 24px;
            line-height: 145%;
            padding-top: 5%;
            padding-bottom: 10%;
            width: 700px;
            margin-left: auto;
            margin-right: auto;
            vertical-align: top;
            height: 100%;
            margin-top: 30px;
            }
          .divStreamDayHead {
            font-family: 'Ubuntu', sans-serif;
            font-size: 36px;
            font-weight: bold;
            margin-top: .1em;
            -webkit-margin-after: .75em;
            }
          .divStreamDayImage {
            height: 100%;
            width: 100%;
            position: absolute;
            right: 0;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: -1;
            opacity: 1;
            }
          .divMapCanvas {
            height: 100%;
            width: 100%;
            position: absolute;
            right: 0;
            z-index: -10;
            }
          .divTextInFrontOfImage {
            background-color: whitesmoke;
            opacity: .85;
            padding: 1.5em;
            border:2px solid gainsboro;
            }
          .spStreamArrows {
            font-size: .8em;
            color: silver;
            margin-right: 15px;
            }
          .divStreamDay p {
            margin-bottom: .3em;
            }
          .divTextContainer {
            padding: 0;
            }
          .divBanner {
            margin-bottom: -1px;
            }
          .divLevel {
            margin-left: 20px;
            display: none;
            }
          h4 {
            font-family: "Georgia";
            font-size: 18px;
            -webkit-margin-after: 5px;
            }
          .divStreamSectionHead {
            font-family: Ubuntu;
            margin-top: 5px;
            font-weight: bold;
            -webkit-margin-after: 5px;
            }
          .spPermalink {
            margin-left: 3px;
            }
          .spPermalink a {
            text-decoration: none;
            color: purple;
            font-size: 13px;
            font-weight: none !important;
            }
          .divDaySeparator {
            height: 0;
            }
          .aStreamWedgeLink {
            color: black;
            }
          .aStreamWedgeLink i {
            font-size: .85em;
            color: black;
            cursor: pointer;
            }
          .aStreamDayLink {
            color: black !important;
            cursor: pointer;
            text-decoration: none;
            }
          .aStreamDayLink a:link, .aStreamDayLink a:visited {
            color: black !important;
            cursor: pointer;
            text-decoration: none;
            }
          .divStreamIcon {
            float: left;
            width: 20px;
            margin-left: -20px;
            margin-right: 0;
            }
          .spStreamArrows {
            float: left;
            width: 36px;
            margin-left: -36px;
            margin-right: 0;
            display: none;
            }
          .aStreamArrowsLink {
            font-size: .75em;
            color: black !important;
            cursor: pointer;
            text-decoration: none;
            }
          .divFargoStreamFooter {
            font-family: "Arial";
            font-family: 'Ubuntu', sans-serif;
            line-height: 200%;
            height: 400px;
            background-color: whitesmoke;
            border-top: 1px solid silver;
            text-align: center;
            padding-top: 15px;
            }
          .divFargoSocialMediaLinks {
            position: fixed;
            z-index: 1;
            }
          .divNavSocialMediaLinks {
            margin-top: 17px;
            margin-left: 1em;
            font-size: .9em;
            }
          .divNavSocialMediaLinks .nav>li>a {
            display: inline;
            }
          .divNavSocialMediaLinks .aSocialMediaLink {
            letter-spacing: 14px;
            }
          .aStreamTextLink {
            cursor: pointer;
            color: black;
            text-decoration: none;
            }
          .aStreamTextLink a:link, .aStreamTextLink a:visited, .aStreamTextLink a:hover, .aStreamTextLink a:active {
            cursor: pointer;
            color: black;
            text-decoration: none;
            }
          .divFargoStreamComments {
            width: 700px;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 400px;
            margin-top: 10px;
            }
          .divDisqusComments {
            margin-top: 5px !important;
            }
        /* styles for phone */
          @media only screen
          and (min-device-width : 320px)
          and (max-device-width : 480px) {
            .divPageContainer {
              }
            .navbar {
              display: none;
              }
            .divBodyText {
              padding-top: 0;
              }
            .divTextContainer {
              margin-top: -40px;
              }
            .divStreamTopSpacer {
              display: none;
              }
            .divFargoSocialMediaLinks {
              display: none;
              }
            .divStreamDayHead {
              font-size: 22px;
              }
            .divStreamSectionHead {
              margin-top: 8px;
              -webkit-margin-after: 8px;
              }
            .divStreamDayText {
              font-size: 17px;
              padding-left: 8%;
              padding-right: 7%;
              width: 85%;
              }
            .aStreamWedgeLink i {
              font-size: 1.1em;
              }
            .divStreamIcon {
              width: 14px;
              margin-left: -14px;
              }
            .spPermalink {
              display: none;
              }
            .divFargoStreamFooter {
              font-size: 15px;
              line-height: 170%;
              }
            .divTextInFrontOfImage {
              width: 80% !important;
              margin-left: auto;
              margin-right: auto;
              }
            .spDateYearPart {
              display: none;
              }
            .divPictureViewer .modal {
              left: auto;
              width: auto;
              margin-left: auto;
              margin-right: auto;
              }
            .divLevel {
              margin-left: 0;
              }
            }
        /* styles for tablet */
          @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
            .divPageContainer {
              }
            .navbar .nav > li > a {
              padding-right: 7px;
              }
            }
          var flSetupDisqusThread = false;
          var flSetupPictureViewer = false;
          var colorsArray = [
            "white",
            "whitesmoke",
            "ghostwhite",
            "gainsboro"
            ];
          function closeDisqusThread () {
            $("#idDisqusDialog").modal ("hide");
            }
          function openDisqusThread () {
            function getCommentHtml () {
              var id = "", hidingCode = "", visibleStyle = "";
              if (pagetable.opmlUrl != undefined) {
                id += pagetable.opmlUrl;
                }
              if (pagetable.created != undefined) {
                id += pagetable.created;
                }
              if (id.length > 0) {
                id = "<script>var disqus_identifier = \"" + id + "\";</script>";
                }
              var code = id + hidingCode + "<div class=\"divDisqusComments\" id=\"idDisqusComments\"" + visibleStyle + "><div id=\"disqus_thread\"></div></div><script type=\"text/javascript\" src=\"http://disqus.com/forums/" + pagetable.disqusGroupName + "/embed.js\"></script></div>";
              return (code.replace (/</g,'<'));
              }
            if (!flSetupDisqusThread) {

              var s = "

              Close

              ";

              $("body").prepend (s)
              flSetupDisqusThread = true;
              }
            $("#idDisqusCode").html (getCommentHtml ());
            $("#idDisqusDialog").on ('shown', function () {
              $("#idDisqusDialog").scrollTop (0);
              });
            $("#idDisqusDialog").modal ("show");
            }
          function hidePictureViewer () {
            $("#idPictureViewer").modal ("hide");
            }
          function openPictureViewer (urlPic, title) {
            if (!flSetupPictureViewer) {
              var s =

                "

                Close

                "

              $("body").prepend (s)
              flSetupPictureViewer = true;
              }
            if (title == undefined) {
              title = "Yo mama is fine.";
              }
            $("#idPictureViewerTitle").html (title);
            $("#idPictureViewerPicture").html ("");
            $("#idPictureViewer").modal ("show");
            }
          function getdaynum (theDate) {
            var year = theDate.getFullYear ();
            var onejan = new Date (year, 0, 1);
            return (Math.ceil ((theDate - onejan) / 86400000));
            }
          function ecStream (idnum) {
            var c = document.getElementById ("idStreamWedge" + idnum), idUL = "#idStreamLevel" + idnum;
            if (c.className == "fa fa-caret-down") {
              c.className = "fa fa-caret-right";
              $(idUL).slideUp (75);
              }
            else {
              c.className = "fa fa-caret-down";
              $(idUL).slideDown (75);
              }
            }
          function initMap (idmap, maplat, maplong, maptype, mapzoom) {
            var mapCanvas = document.getElementById (idmap);
            if (mapCanvas != null) {
              var mapOptions = {
                center: new google.maps.LatLng (maplat, maplong),
                zoom: Number (mapzoom),
                panControl: false,
                zoomControl: false,
                mapTypeControl: false,
                scaleControl: false,
                streetViewControl :false,
                overviewMapControl: false,
                rotateControl: false,
                mapTypeId: maptype
                };
              var map = new google.maps.Map (mapCanvas, mapOptions);
              }
            }
          function turnOffImages () { //5/18/14 by DW
            $(".divStreamDayImage").css ("background-image", "");
            localStorage.flTurnImagesOff = "true";
            }
          function turnOffImagesCommand () {
            confirmDialog ("Turn off images?", function () {
              localStorage.flTurnImagesOff = "true";
              location.reload (true);
              });
            }
          function turnOnImagesCommand () {
            confirmDialog ("Turn images on?", function () {
              localStorage.flTurnImagesOff = "false";
              location.reload (true);
              });
            }
          function startup () {
            Changes
              6/2/14; 9:31:30 AM by DW
                I decided it's wrong for images to default to being off. This is how I changed that preference.
                If localStorage.flImagesOff is defined I remove it.
                localStorage.removeItem ("flImagesOff")
                If localStorage.flTurnImagesOff is not defined I initialize it to false.
                From now on we use the localStorage.flTurnImagesOff value to determine whether or not images are off.
            var streamVersion = 1; //5/20/14 by DW
            var flPlainOutline; //5/20/14 by DW
            var hightlightcolor = pagetable.streamHighlightColor; //5/4/14 by DW
            var highlightedtitle = undefined; //5/11/14 by DW -- if this gets defined, use it as the title of the page
            //set streamVersion -- 5/20/14 by DW
              if (pagetable.streamVersion != undefined) {
                var x = parseInt (pagetable.streamVersion);
                if (!isNaN (x)) {
                streamVersion = x;
                }
                }
            //set flPlainOutline, initialize localStorage.flTurnImagesOff -- 5/20/14 by DW
              if (localStorage.flImagesOff != undefined) { //6/2/14 by DW
                localStorage.removeItem ("flImagesOff")
                }
              if (localStorage.flTurnImagesOff == undefined) {
                if (streamVersion > 1) {
                localStorage.flTurnImagesOff = "false";
                }
                }
              flPlainOutline = getBoolean (localStorage.flTurnImagesOff);
            //every day gets a background color, image, map or -- ??
              if (!flPlainOutline) {
                var ixcolorarray = 0, ctmaps = 0;
                $("#idTextContainer").children ("div").each (function () { //look at each divStreamDay
                var flSetColor = true;
                if (getBoolean ($(this).data ("flmapbackground"))) { //it's a map!
                var idmap = "idFargoMap" + ctmaps++, maplat, maplong, maptype, mapzoom;
                flSetColor = false;
                this.style.backgroundColor = "orange";

                $(this).prepend ("

                ");

                //set up map parameters
                maplat = $(this).data ("maplatitude");
                if (maplat == undefined) {
                maplat = pagetable.mapLatitude;
                }
                maplong = $(this).data ("maplongitude");
                if (maplong == undefined) {
                maplong = pagetable.mapLongitude;
                }
                maptype = $(this).data ("maptype");
                if (maptype == undefined) {
                maptype = pagetable.mapType;
                }
                mapzoom = $(this).data ("mapzoom");
                if (mapzoom == undefined) {
                mapzoom = pagetable.mapZoom;
                }
                initMap (idmap, maplat, maplong, maptype, mapzoom);
                }
                else {
                $(this).children ("div").each (function () {
                if (this.className == "divStreamDayImage") {
                flSetColor = false;
                }
                });
                }
                if (flSetColor) {
                this.style.backgroundColor = colorsArray [ixcolorarray++ % colorsArray.length];
                }
                else {
                $(this).children ("div").each (function () {
                if (this.className == "divStreamDayText") {
                var flset = false;
                $(this).children ("div").each (function () {
                if (!flset) {
                this.className = "divTextInFrontOfImage"; //set classname of first child element
                }
                flset = true;
                });
                }
                });
                }
                });
                }
            //highlight and expand the #hashed element, if present
              var hash = window.location.hash;
              if (hash.length > 0) {
                $("#idTextContainer").find ("span").each (function () { //look at every span at every level in textcontainer
                $(this).children ("a").each (function () { //look at first-level children that are anchors
                if (string.endsWith (this.href, window.location.hash)) { //it points to something that ends with this hash
                $(this).parents ("div").css ("display", "block"); //make all parents visible
                $(this).parents ("p").css ("background-color", hightlightcolor);
                highlightedtitle = $(this).parent ().parent ().find (".aStreamTextLink").text (); //5/11/14 by DW -- a section of the page is highlighted, use this in the title
                $(this).parents ("p").css ("border", "1px solid gainsboro");
                $(this).parents ("p").css ("font-weight", "bold");
                var flexpand = true;
                $(this).parents ("div").each (function () {
                if (flexpand) {
                $(this).children ("a").each (function () {
                $(this).css ("background-color", hightlightcolor);
                $(this).css ("border", "1px solid gainsboro");
                $(this).css ("font-weight", "bold");
                $(this).prev ().find ("i").each (function () {
                if ($(this).attr ("class") == "fa fa-caret-right") { //3/20/14 by DW
                $(this).attr ("class", "fa fa-caret-down");
                }
                });
                $(this).find ("i").each (function () {
                console.log ("this.class == " + $(this).attr ("class"));
                if ($(this).attr ("class") == "fa fa-caret-right") { //3/20/14 by DW
                $(this).attr ("class", "fa fa-caret-down");
                }
                });
                });
                $(this).next ("div").css ("display", "block"); //the divLevel item
                $(this).next ("div").css ("background-color", hightlightcolor); //the divLevel item
                flexpand = false;
                }
                });
                }
                });
                });
                }
            //handle fixed menu
              if (getBoolean (pagetable.flFixedMenu)) {
                var flhavenav = $("#idFargoNavbar").css ("display") == "block";
                if (flhavenav) {
                document.body.style.paddingTop = "60px";
                if (hash.length > 0) {
                $(document).one ("scroll", function () {
                var $el = $(this), top = $el.scrollTop ();
                $el.scrollTop (top - 125);
                });
                }
                }
                }
            //set the site title -- 3/23/14 by DW
              if (pagetable.menuTitle != undefined) {
                var pagename;
                if (highlightedtitle != undefined) { //5/11/14 by DW
                pagename = highlightedtitle;
                }
                else {
                if (pagetable.path.length == 0) {
                pagename = "Home";
                }
                else {
                pagename = pagetable.text;
                }
                }
                document.title = pagetable.menuTitle + ": [" + pagename + "]";
                }
            //set the color of each text frame -- 5/11/14 by DW
              $(".divTextInFrontOfImage").each (function () {
                $(this).css ("border", "2px solid " + pagetable.streamTextFrameColor);
                });
            //turn on images for v2 or greater -- 5/20/14 by DW
              if (streamVersion > 1) {
                if (flPlainOutline) {
                $(".aStreamDayLink").each (function () {
                $(this).css ("font-size", "28px");
                });
                $(".divStreamDay").each (function () {
                $(this).css ("border-top", "0");
                $(this).css ("margin-top", "70px");
                });
                $(".divStreamDayText").each (function () {
                $(this).css ("padding", "0");
                });
                $(".divTextContainer").each (function () {
                $(this).css ("margin-bottom", "125px");
                });
                }
                else {
                $(".divStreamDay").each (function () {
                var url = $(this).data ("backgroundimage");
                if (url != undefined) {
                $(this).css ("background-image", "url('" + url + "')");
                }
                $(this).children (".divStreamDayText").children ().each (function () {
                this.className = "divTextInFrontOfImage";
                });
                });
                }
                }
            //version 1, turn off images if indicated by flPlainOutline -- 5/18/14 by DW
              if (streamVersion == 1) {
                if (flPlainOutline) {
                turnOffImages ();
                $(".divStreamDay").each (function () {
                $(this).css ("border-top", "0");
                });
                }
                }
            }
        <%customStylesScripts%>
        <%userStyles ()%>
        ::responsiveMenu::
            <%bodytext%>
            <%copyright%>
            Last update: <%formatDate (pagetable.now, "%a, %b %e, %Y at %l:%M %p")%>.
            <%slogan ()%>
            <%socialMediaLinks ()%>
          $("#idBannerImage").load (function () {
            console.log ("image loaded");
            document.getElementById ("idFargoStreamBody").style.visibility = "visible";
            });
          startup ();
          startupFargoPlatform ();
          // fix links
          jQuery(".aStreamDayLink").each(function() { this.href = this.href.split('/').slice(0,3).join('/') + "/" + pagetable.path + "/" + this.href.split('/').slice(3).join('/'); });
          jQuery(".spPermalink").each(function() {this.children[0].href = this.children[0].href.split('/').slice(0,3).join('/') + "/" + pagetable.path + "/" + this.children[0].href.split('/').slice(-1).join('/'); });
          function expandNoteLink() {
            var urlparts = window.location.href.split('/');
            var lastpart = urlparts.pop();
            var nextpart = urlparts.pop();
            if(lastpart[0]=='#' && nextpart == 'notes') {
              var thisidnum = jQuery('a[name=' + lastpart.split('#').pop() + ']').siblings()[1].onclick.toString().split('ecStream (').pop().split(')')[0];
              }
            var thisc = document.getElementById ("idStreamWedge" + thisidnum), thisidUL = "#idStreamLevel" + thisidnum;
            thisc.className = "fa fa-caret-down";
            $(thisidUL).slideDown (75);
            }
  presentation
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
          // If the query includes 'print-pdf' we'll use the PDF print sheet
            document.write( '' );
        <%useSmallPictStyles%>
          li {
            margin-top: 10px;
            margin-bottom: 15px;
            }
        <%customStylesScripts%>
        <%userStyles ()%>
            <%bodytext%>
            ◄
            ►
            ▲
            ▼
          Reveal.initialize ({
            controls: true,
            progress: true,
            history: true,
            keyboard: true,
            overview: true,
            loop: false,
            autoSlide: 0,
            mouseWheel: true,
            rollingLinks: false,
            theme: '<%theme%>', // available themes are in /css/theme
            transition: '<%transition%>', // default/cube/page/concave/linear(2d)
            dependencies: [
              { src: 'http://static.opml.org/opmlEditor/reveal/lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
              { src: 'http://static.opml.org/opmlEditor/reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
              { src: 'http://static.opml.org/opmlEditor/reveal/lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
              { src: 'http://static.opml.org/opmlEditor/reveal/lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
              { src: 'http://static.opml.org/opmlEditor/reveal/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
              { src: 'http://static.opml.org/opmlEditor/reveal/plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
              ]
            });
          startupFargoPlatform ();
  medium
        <%text%>
        <%rssLink ()%>
        <%googleAnalytics ()%>
        <%useBootstrap%>
        <%useSmallPictStyles%>
        <%customStylesScripts%>
        <meta property="og:url" content="<%url%>" />
        <meta property="og:title" content="<%text%>" />
        <meta property="og:description" content="<%description%>" />
        <meta property="og:image" content="<%backgroundImage%>" />
        <meta property="og:site_name" content="<%opmlLongTitle%>" />
        <meta name="twitter:title" content="<%text%>" />
        <meta name="twitter:url" content="<%url%>" />
        <meta name="twitter:description" content="<%description%>" />
        <meta name="twitter:image" content="<%backgroundImage%>"/>
        <meta name="twitter:site" value="<%authorTwitterAccount%>">
          .divWholePage {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
            background-position: center;
            max-height: 400px;
            background-repeat: no-repeat;
            }
          .divMapCanvas {
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 400px;
            z-index: -10;
            }
          .divPageTopText {
            width: 70%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 190px;
            }
          .h1PostTitle {
            font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,Verdana, sans-serif;
            letter-spacing: -0.02em;
            font-weight: 700;
            font-style: normal;
            letter-spacing: -0.04em;
            font-size: 50px;
            line-height: 1.1;
            margin-bottom: 8px;
            color: white;
            text-shadow: 1px 1px #000000;
            }
          .h2PostDescription {
            font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
            letter-spacing: -0.02em;
            font-weight: 300;
            font-style: normal;
            font-size: 30px;
            line-height: 1.1;
            color: silver;
            margin: 0;
            text-shadow: 1px 1px #000000;
            }
          .divBodyText {
            font-family: Georgia, Cambria, "Times New Roman", Times, serif;
            letter-spacing: .01rem;
            font-weight: 400;
            font-style: normal;
            font-size: 22px;
            line-height: 1.5;
            display: block;
            width: 55%;
            position: relative;
            margin-top: 150px;
            margin-bottom: 0;
            margin-left: auto;
            margin-right: auto;
            }
          .divFooter {
            font-family: Arial;
            font-size: 13px;
            width: 55%;
            margin-left: auto;
            margin-right: auto;
            margin-top: 80px;
            min-height: 300px;
            line-height: 130%;
            }
          .divComments {
            width: 55%;
            margin-left: auto;
            margin-right: auto;
            }
          function startup () {
            startupFargoPlatform ();
            }
            <%menuAsList ()%>
              <%bodytext%>
              By <%byline ()%>, <%formatDate (pagetable.created)%>. Last built on <%formatDate (pagetable.now, "%a, %b %e, %Y at %l:%M %p")%>. <%slogan ()%>
              <%socialMediaLinks ()%>
          var flSnapperOpen = false;
          var snapper = new Snap ({
            element: document.getElementById ("idSnapContent")
            });
          document.getElementById ("open-left").addEventListener ("click", function () {
            if (flSnapperOpen) {
              snapper.close ("left");
              }
            else {
              snapper.open ("left");
              }
            flSnapperOpen = !flSnapperOpen;
            });
          startup ();
#bootstrapTheme "flatly"
#disqusGroupName "wellifyouaskme"
#siteTimeZone "-5"
#dateFormat "%A, %B %e, %Y at %l:%M %p"
#menuname "bsoistMenu"
#ctLevelsOnIndexPage "1"
#storyDateFormat "%D; %r"
#titleColor "white"
#subheadColor "white"
#flMapHeader "false"
#mapLatitude "40.774295"
#mapLongitude "-73.970833"
#mapType "roadmap"
#mapZoom "14"
#flSnapEnabled "true"
#flHideByline "false"
#type "blogHome"
#flFixedMenu "false"
#maxStreamDays "365"
#backgroundImage ""
#streamHighlightColor "yellow"
#streamTextFrameColor "whitesmoke"
#streamVersion "1"
#flEmojify "true"