“;
items += “”;
items += “”;
items += “”;
if(val[‘subtitle’]){
items += “”;
}
items += ”
“;
if ((val[‘showpublishdate’] !== 0 && showPublishDateHeadlineSetting) || showPublishCityHeadlineSetting) {
items += ”;
if (val[‘publishcity’] && showPublishCityHeadlineSetting) {
items += ” + val[‘publishcity’] + ‘
‘;
}
if (val[‘showpublishdate’] !== 0 && showPublishDateHeadlineSetting) {
items += “”;
items += “” + date_month + ”
“;
items += “” + date_day + ”
,”;
items += “” + date_year + ”
“;
items += ”;
items += ‘|’;
items += ” + val[‘publish_time’] + ”;
items += ‘America/Los_Angeles’;
items += ‘
‘;
items += ‘
‘;
}
items += ‘
‘;
}
items += “” + val[‘message’] + ”
“;
items += “”;
items += ”
“;
items += “”;
items += tags_items;
items += multimedia_count;
items += ”
“;
}
});
items +=”
“;
if (1 > 1) {
pp_jquery(“.pp_blockheadlines_items-7532197”).append(items);
} else {
pp_jquery(“.pp_blockheadlines_items-7532197 .pp-headline-block”).hide().css(“opacity”,”0″);
pp_jquery(“.pp_blockheadlines_items-7532197”).append(items);
pp_jquery(“.pp-headline-block:visible”).animate({“opacity”:”1″},300);
}
});
}
pp_jquery(window).on(‘load’, function() {
/**
* targets calcEqualHeights function (modules_v2h.js)
* calculates consistent height for all visible items per block module
*/
pp_jquery(‘.pp_blockheadlines_items-7532197 .pp-headline-block’).each( function() {
PP_MODULES.calcEqualHeights(this);
});
});
pp_jquery(document).ajaxComplete(function() {
/**
* when using block item nav button calcEqualHeights
* function (modules_v2h.js) will be executed
*/
pp_jquery(‘.pp_blockheadlines_items-7532197 .pp-headline-block’).each( function() {
PP_MODULES.calcEqualHeights(this);
});
});


