BLOG ARCHIVE
February 10, 2016
As parents, we all know the typical safety questions you ask when your kids go on play dates, such as “Do you have a dog?”
READ MORE
August 24, 2015
You want to do what is best for your children. You know about the importance of car seats, baby gates and other ways to keep them safe. But did you know that one of the best ways to protect your children is to make sure they have all of their vaccinations?
READ MORE
Pages
");
jq213(".news-block:eq(2)").wrap("
");
if(window.location.href.indexOf("/blog") > -1 || window.location.href.indexOf("/news-events") > -1)
{
jq213(".page-title").wrap("
");
}
if(window.location.href.indexOf("/news/") > -1)
{
jq213(".header_sp").css("display","block");
jq213(".views-row-1").insertAfter(".header_sp");
jq213(".cust_dp_tags").html(jq213(".field-name-field-news-category .field-items").html());
jq213(".field-name-field-tags").wrap("
");
jq213(".vocabulary-author .field-name-field-image-author .field-item").append("
CLICK TO SEE MORE ARTICLES FROM THIS AUTHOR
");
if(jq213(".vocabulary-author h2 a").text() != "None")
{
jq213(".vocabulary-author h2 a").html("ABOUT THE AUTHOR");
}
else
{
jq213(".vocabulary-author ").remove();
}
setTimeout( function(){
//jq213(".shareicons").html('
' + jq213(".sharethis-buttons").html() + '
');
jq213(".sharethis-buttons").appendTo(".shareicons");
//jq213(".sharethis-buttons").remove();
}, 1500);
jq213(".pager-for-content-type").parent().prepend("
BACK TO BLOG ARCHIVE ");
jq213(".item-list").insertBefore(jq213(".wrap_tags"));
jq213(".field-name-field-relatedpost, .field-name-field-select-author").wrapAll("
");
jq213(".cust_dp_tags a").each(function(){
if(jq213(this).attr('href') == "/news-category/blog"){
jq213(this).parent().remove();
}
if(jq213(this).attr('href') == "/news-category/news-events"){
jq213(this).parent().remove();
}
})
}
else
{
jq213(".sharethis-buttons").remove();
}
//alert(jq213("#comments .title:nth-child(1)").html());
if(jq213("#comments .title:nth-child(1)").html() == "Comments")
{
jq213("#comments .title:nth-child(1)").html(jq213(".page-title").html());
}
if(window.location.href.indexOf("/blog") > -1)
{
//jq213(".news-block .form-item-field-category-tid").prepend("
FILTER BLOGS
");
jq213(".news-block .views-exposed-form").prepend("
FILTER BLOGS
");
jq213('.news-block #edit-field-news-category-tid option:eq(0)').text("ALL STORIES");
//jq213('.news-block #edit-tid-1 option:eq(0)').text("ALL STORIES");
jq213('.news-block #edit-field-select-author-tid option:eq(0)').text("BY AUTHOR");
var i=0;
jq213('.news-block #edit-field-news-category-tid option').each(
function() {
if(jq213.trim(jq213(this).text()) != "Blog" && jq213.trim(jq213(this).text()) != "News & events")
{
jq213('.cust_category_list').append('
'+jq213(this).text()+' ');
}
else{
//if(i>0)
if(jq213.trim(jq213(this).text()) == "Blog" || jq213.trim(jq213(this).text()) == "News & events")
{
jq213(this).remove();
}
}
i++;
}
);
jq213(".select_cat").click(function(){
var cat = jq213(this).attr("id");
jq213("#edit-field-news-category-tid").val(cat);
jq213("#views-exposed-form-latest-block-5").submit();
});
}
if(window.location.href.indexOf("/news-events") > -1)
{
jq213(".news-block .views-exposed-form").prepend("
FILTER NEWS
");
jq213('.news-block #edit-tid-1 option:eq(0)').text("ALL STORIES");
jq213('.info').each(function(){
jq213(this).append(jq213(this).siblings(".file").html());
jq213(this).siblings(".file").remove();
})
var i=0;
jq213('.news-block #edit-field-news-category-tid option').each(
function() {
if(i>2)
{
}
else{
if(i>0)
{
jq213(this).remove();
}
}
i++;
}
);
}
if(window.location.href.indexOf("/author/") > -1)
{
jq213("body").addClass("author_pg");
}
if(window.location.href.indexOf("?destination=media-kit") > -1)
{
jq213("body").addClass("cst_container");
jq213(".tabs").remove();
jq213("#content").prepend("
MEDIA KIT ACCESS
");
jq213("#content #edit-name").attr('placeholder',"Username");
jq213("#content #edit-pass").attr('placeholder',"Password");
jq213(".openid-links").remove();
jq213("
If you do not have a user name and password please call 775.624.7116 to attain your access information.
").insertAfter(jq213("#edit-actions"));
}
jq213(".cst_category_listview a").each(function(){
if(jq213(this).attr('href') == "/news-category/blog"){
jq213(this).remove();
}
if(jq213(this).attr('href') == "/news-category/news-events"){
jq213(this).remove();
}
})
jq213(".readmore a").text("READ MORE");
/*if(window.location.href.indexOf("/staffview") > -1)
{
jq213("#content").prepend("
");
}*/
if(jq213("#webform-client-form-222").length > 0)
{
jq213("#webform-client-form-222 #edit-submit").attr("onclick","handleOutboundLinkClicks(event,true)");
}
})