Text4Baby
We are very proud to be a member of text4baby, a free mobile information service designed to promote healthy moms, pregnancies and babies. This program provides pregnant women and new moms with information to take care of their health and give their babies the best possible start in life through text messages sent about three times each week. Moms learn health and safety advice and information based on the due date or birth date of the child.
To sign-up, text the word BABY (or BEBE for Spanish) to 511411 or for information visit the text4baby website.
");
}
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(".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").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(i>2)
{
jq213('.cust_category_list').append('
'+jq213(this).text()+' ');
}
else{
if(i>0)
{
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("
");
}
})