Boulder County Services Directory
Departments » Departments N-Z » Public Safety Department » Public Safety Services
Boulder County Services Directory
function shareLink(shareType) { var shareUrl = ""; var shareTitle = document.itemTitle ? encodeURIComponent(document.itemTitle.trim()).replace(/[!'()*]/g, escape) : "Boulder+County+Services+Directory"; switch (shareType) { case "facebook": shareUrl = "https://www.facebook.com/sharer.php?u=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&t=" + shareTitle; break; case "linkedin": shareUrl = "https://www.linkedin.com/shareArticle?mini=true&url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&title=" + shareTitle; break; case "twitter": //Below link works in iOS and other OS shareUrl = "https://twitter.com/intent/tweet?url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&text=Boulder+County+Services+Directory+%7c+"; break; case "delicious": shareUrl = "https://secure.delicious.com/login?noui=yes&v=4&jump=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory%26title%3D" + shareTitle + "%26notes%3D%26tags%3D%26v%3D4%26noui%3D%26share%3Dyes%26jump%3Dclose%26time%3D1239993443"; break; case "myspace": shareUrl = "https://www.myspace.com/Modules/PostTo/Pages/?u=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&t=" + shareTitle + "&c="; break; case "googlebookmark": shareUrl = "https://www.google.com/bookmarks/mark?op=add&bkmk=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&title=" + shareTitle; break; case "stumbleupon": shareUrl = "https://www.stumbleupon.com/submit?url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&title=" + shareTitle; break; case "digg": shareUrl = "https://digg.com/submit/?url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory"; break; case "tumblr": shareUrl = "https://www.tumblr.com/share/link?url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&name=" + shareTitle; break; case "reddit": shareUrl = "https://www.reddit.com/submit?url=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory&title=" + shareTitle; break; } if (shareUrl.length > 0) window.open(shareUrl, "_blank"); }
$(function () { var widgetContext = "widget_7_0_817";
//start VISPP-4466 var useDesignThemFontSizeCss = window.visionOptions.useDesignThemFontSizeCss; var folderPath = useDesignThemFontSizeCss == true ? window.visionOptions.currentDesignFolderPath : window.visionOptions.mainFolderPath; if (!folderPath) folderPath = window.visionOptions.mainFolderPath; var resizeTimer; var resizeFaqTabs = function () { $(".faq_widget").each(function () { var tabheight = $(this).find(".faq_tab_nav").height(); $(this).find(".faqtab_section").attr("style", "min-height: " + (tabheight - 42) + "px"); }); }; var SetFontSize = function (fontsize) { $("#active_font").attr("href", folderPath + fontsize).attr("data-css", fontsize); var url = window.location.origin + visionOptions.virtualApplicationPath + "Shared/ChangeFontSizeCookie"; var cookieValue = fontsize ? fontsize : "small.css"; var cookieInt; switch(cookieValue){ case("xx-small.css"): cookieInt=1; break; case ("x-small.css"): cookieInt = 2; break; case ("small.css"): default: cookieInt = 3; break; case("medium.css"): cookieInt=4; break; case ("large.css"): cookieInt = 5; break; } $.frontendAjax({ url: url, type: 'POST', contentType: 'application/json', data: JSON.stringify({ cookieValue: cookieInt}), success: function (data, textStatus, jqXHR) { if (data && data.success) { $("#active_font").attr("href", window.visionOptions.mainFolderPath + cookieValue).attr("data-css", cookieValue); } } }); if ($(".faq_tab_nav").length > 0) { clearTimeout(resizeTimer); resizeTimer = setTimeout(function () { resizeFaqTabs(); }, 200); } };
$(".font_larger").on("click", function () { switch ($("#active_font").attr("data-css")) { case "medium.css": SetFontSize("large.css"); break; case "small.css": SetFontSize("medium.css"); break; case "x-small.css": SetFontSize("small.css"); break; case "xx-small.css": SetFontSize("x-small.css"); break; } return false; });
$(".font_smaller").on("click", function () { switch ($("#active_font").attr("data-css")) { case "large.css": SetFontSize("medium.css"); break; case "medium.css": SetFontSize("small.css"); break; case "small.css": SetFontSize("x-small.css"); break; case "x-small.css": SetFontSize("xx-small.css"); break; } return false; }); $(".text_size").on("click", function () { SetFontSize("x-small.css"); return false; }); //end VISPP-4466
$("#" + widgetContext + " #share").click(function () { if (!$("#" + widgetContext + " div#share").hasClass("click-active")) $("#" + widgetContext + " div#share").find("ul").show(); else $("#" + widgetContext + " div#share").find("ul").hide(); });
$("div").click(function () { if ($("#" + widgetContext + " div#share").hasClass("click-active")) { $("#" + widgetContext + " div#share").find("ul").hide(); } });
$(document).click(function (e) { if (!$(e.target).closest("#share").length > 0) { $("#" + widgetContext + " div#share").removeClass("click-active"); $("#" + widgetContext + " div#share").find("ul").hide(); } });
var shareContainerTimeout = null; $("#" + widgetContext + " #share").bind('mouseover', function () { //If not relate to click event if (shareContainerTimeout) { clearTimeout(shareContainerTimeout); shareContainerTimeout = null; } shareContainerTimeout = setTimeout(function () { if (!$("#" + widgetContext + " div#share").hasClass("click-active")) $("#" + widgetContext + " div#share").find("ul").show(); }, 100); });
$("#" + widgetContext + " #share").bind('mouseleave', function () { //If not relate to click event if (shareContainerTimeout) { clearTimeout(shareContainerTimeout); shareContainerTimeout = null; } shareContainerTimeout = setTimeout(function () { if (!$("#" + widgetContext + " div#share").hasClass("click-active")) $("#" + widgetContext + " div#share").find("ul").hide(); }, 200); });
$("header#" + widgetContext + " a.feedback_link").click(function () { var windowHeight = 485; if (window.innerWidth <= 648) { windowHeight = 545; } var opts = { title: "Feedback", url: "/Template/GetFeedbackPartial?feedbackUrl=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory", useFrame: true, height: windowHeight, onClosed: function (result) { if (result != undefined && result.IsOk == true) { $.refreshTempMessage(result.Message); } $("header#" + widgetContext + " a.feedback_link").focus(); }, skin: 'viClientDialog feedback_lightbox', fixed: false }; $.viClientDialog(opts).open(); }); //Safari iOS: No click event $("header#" + widgetContext + " a.send_share_email").bind("click touchstart", function () { var shareEmailTitle = document.itemTitle ? encodeURIComponent(document.itemTitle.trim()).replace(/[!'()*]/g, escape) : "Boulder+County+Services+Directory"; var opts = { title: "Click to submit an email online", url: "/Template/GetShareEmailPartial?shareUrl=https%3a%2f%2fwww.longmontcolorado.gov%2fdepartments%2fdepartments-n-z%2fpublic-safety-department%2fpublic-safety-services%2fboulder-county-services-directory" + "&shareTitle=" + shareEmailTitle, useFrame: true, height: 485, onClosed: function (result) { if (result != undefined && result.IsOk == true) { $.refreshTempMessage(result.Message); } $("header#" + widgetContext + " a.send_share_email").focus(); }, skin: 'viClientDialog send_share_email_lightbox', fixed: false }; $.viClientDialog(opts).open(); }); });
The Boulder County Resource Directory (Boulder County Help) provides parents, youth, educators, counselors and others with referral information to assist in times of need.