Sign In:


#if($req.param("pageType") && $req.param("pageType")=="mobile") $cms.template("Mobile - Main") #else ## SETS THE CONTENT #set($story = $cms.filteredLinks("("/aging/",1,1)) #set($misc = $cms.getContent(6408322)) ## GRABS THE RELATED AUTHORS IN THE ITEM BROWSER OR SETS THE AUTHOR TO THE WHAT IS IN THE REPORTER TEXT BOX #set($authorName = "") #if($story.reporterTXT && $story.reporterTXT != "") #set($reporterText = $story.reporterTXT) #set($authorName = $reporterText) #end #set($relatedReporters = $util.newArrayList) #foreach($contentItem in $story.reporterItem) #set($reporter = false) #set($reporter = $cms.getContent($contentItem)) #if($reporter) #if($reporter.id == $contentItem) #set($authorName = "$authorName $reporter.title") #set($foo = $relatedReporters.add($reporter)) #end #end #end $cms.template("ME Top")

$cms.template("imWare") $cms.include("popImage Script") ## CHECKS IMAGE ARRAY #set($imagesArray=false) #foreach($image in $story.images) #if($image && $image.url!="") #set($imagesArray=true) #set($isImage = true) #end #end ## CHECKS DOCUMENT ARRAY #foreach($doc in $story.documents) #set($isDoucuments = true) #end ## CHECKS SIDEBAR #if($story.sidebar && $story.sidebar!="") #set($isSidebar = true) #end ## GRABS THE RELATED LINKS IN THE COMPLEX TYPE #set($relatedURLs = $util.newArrayList) #foreach($item in $story.webURL) #set($foo = $relatedURLs.add($item)) #end ## GRABS THE LINKED CONTENT FROM THE LINKED CONTENT TAB IF ANY #set($relatedPolls = $util.newArrayList) #foreach($contentItem in $story.linkedContent("relatedArticles")) #set($LC = false) #set($LC = $cms.getContent($contentItem,$cms.path)) #if(!$LC || $LC.url == "") #set($LC = $cms.getContent($contentItem,$cms.domain)) #end #if(!$LC || $LC.url == "") #set($LC = $cms.getContent($contentItem)) #end #if($LC && $LC.url != "") #if($LC.id == $contentItem) #if($LC.typeName == "External Links") #set($foo = $headlines.add($LC)) #end #if($LC.typeName == "ME News Story") #set($foo = $headlines.add($LC)) #end #if($LC.typeName == "Miscellaneous") #set($foo = $headlines.add($LC)) #end #if($LC.typeName == "iFrames and Includes") #set($foo = $headlines.add($LC)) #end #if($LC.typeName == "ME Photo") #set($foo = $headlines.add($LC)) #end #if($LC.typeName == "Polls") #set($foo = $relatedPolls.add($LC)) #end #end #end #end #* ## CHECKS FOR TARGETS TO OTHER SITES #set($hotTopicText = "") #set($iconTT = "") #set($iconTL = "") #set($already = false) #foreach($target in $story.contentTargets) #if ($string.indexOf($target.path,"/tunktimes") != -1 && $string.indexOf($cms.path,"/tunktimes") == -1) #set($iconTT = 'The Tunkhannock Times - Serving all of Wyoming County&nbsp') #end #if ($string.indexOf($target.path,"/news") == 0 || $string.indexOf($target.path,"/sports") == 0) #if($isWeekly) #set($iconTL = 'The Times Leader ') #end #end #if ($string.indexOf($target.path,"/hottopics") != -1) #foreach($topic in $cms.websiteSection("Hot Topics").children) #if ($target.path == $topic.path) #foreach($page in $cms.filteredLinks("Hot Topic",$topic.path,1,1)) #set($topicPage = $page) #end #set($hotTopicText = "${hotTopicText}$util.tag($topicPage.brandGraphicSmall,' align=left style=padding-right:5px;') Read more $topicPage.title articles

") #end #end #end #end *# ## DISPLAY STORY HTML
#if($story.kicker && $story.kicker != "")

$story.kicker

#end $cms.helpText("This is the details page for the News Story Item entitled $story.title and is item number $story.id") #set($item = $story) #if($string.indexOf($cms.path,"lottery") > -1) #set($isInLotto = true) $cms.template("Show Timestamp for A1 Extras")
#else $cms.template("Show Timestamp")
#end

$!story.title

$!story.subhead

## GET VIDEO ##if($cms.content.videoClipID!="") #if($cms.content.videoClipID!="" && $string.indexOf($cms.content.videoClipID,"-")

$!cms.content.videoCaption

#end #if($relatedReporters.size() > 0) #foreach($item in $relatedReporters) $cms.helpText("This author is content item $item.id")

#if($velocityCount==1) By #else and #end #if($item.url!="")$item.title#else $item.title#end $item.email
#if($item.jobTitle && $item.jobTitle != "")$item.jobTitle #else Times Leader Staff Writer #end

#end #elseif($reporterText) $cms.helpText("This is a reporter that was written in. This author does not have an author content item")

$reporterText

#end ## FILTER CONTENT #if($story.copy=="") #set($copy = "

Sorry, the content of this story appears to be missing.

") #else #set($copy = $story.copy) #end #set($copy = $string.replaceAll($copy,"
rn
","

")) #set($numParagraphs = $util.countParagraphs($copy)) #if($numParagraphsSorry, the content of this story appears to be missing.

") #end #if($string.indexOf($util.paragraph($copy,1,1),"")>-1) #set($myCopy=$util.paragraph($!copy,2,$numParagraphs)) #else #set($myCopy=$copy) #end $cms.template("ME Search Array") ## PAGINATE CONTENT #set($toBePaginated = $myCopy) #set($splitPoint = 600) #set($lastPageMinWords = 200) $cms.template("Pagination") ## $pageCopy and $pageNav returned ## JUST DISPLAY THE FIRST PARAGRAPH BEFORE THE RIGHT HAND BOX $util.paragraph($pageCopy,1,1) ## IF ANY OF THE ARRAYS ARE GREATER THAN 0 OR THE STORY HAS AN IMAGE DISPLAY THIS BOX ON THE RIGHT #if($imagesArray || $isImage || $isImage2 || $isImage3 || $isImage4 || $headlines.size() > 0 || $slideshows.size() > 0 || $isDoucument || $isDoucuments || $relatedURLs.size() > 0 || $audioFiles.size() > 0 || $cms.content.videoClipID2!="" || $relatedPolls.size() > 0 || $hotTopicText != "" || $cms.websiteSection.path == "/opinion" || $isSidebar)
#if($cms.websiteSection.path == "/opinion") #if(!$mainImage || $mainImage.url == "") #if($cms.domain=="www.pressherald.com") $util.tag($cms.media(30228372)) #elseif($cms.domain=="www.kjonline.com") $util.tag($cms.media(30228367)) #elseif($cms.domain=="www.onlinesentinel.com") $util.tag($cms.media(30228362)) #end #end #end ## GET HOT TOPIC #if($hotTopicText !="") $hotTopicText #end ## GET POLL #if($relatedPolls.size() > 0) $cms.template("ME Poll") #end #if($cms.content.videoClipID2!="")

$!cms.content.videoCaption2

#end ## GET IMAGE ARRAY #foreach($image in $story.images) #if($image && $image.url!="") #if($string.indexOf($image.url,"NEW_CONNOR_MUG") >-1) #set($image = $cms.media(17303957)) #end #if($velocityCount 300) #if($image.width > 380) #set($extra=" pbsrc='http://$mediaDomain/images/$image.filename' pbCaption='$image.caption' class='PopBoxImageSmall' pbShowPopImage='true' title='Click to magnify and shrink' onclick='Pop(") #set($extra2='this,15,"PopBoxImageLarge"') #set($extra3=");' border='1'") $util.resizeImageTag($image,300,0,"$extra$extra2$extra3")
click image to enlarge
#else $util.resizeImageTag($image,300,0) #end #else $util.tag($image) #end

$string.replaceFirst($image.caption,"

","") #if($image.credit && $image.credit != "")

$string.replaceFirst($image.credit,"

","") #end

#end #if($velocityCount==3)

Additional Photos Below

#end #end #end ## GET RELATED HEADLINES #if($headlines.size() > 0)

Related headlines

    #foreach($item in $headlines) $cms.helpText("This is a related headline and is content item $item.id") #if($item.typeName == "External Links") #if($item.externalURL && $item.externalURL != "")
  • $item.title
  • #end #else
  • $item.title
  • #end #end
#end ## GET DOCUMENTS #foreach($doc in $story.documents) #if($velocityCount==1)

Related Documents

#end $doc.title
#if(($doc.caption && $doc.caption!="") || ($doc.description && $doc.description!="")) $doc.caption $doc.description
#end #end ## GET RELATED LINKS #if($relatedURLs.size() > 0) $cms.helpText("These are related URLs that can be edited in the complex type field On the Web URL for content item $story.id")

On the web

    #foreach($item in $relatedURLs) $cms.helpText("This is a related headline and is content item $item.id")
  • $item.linkText
  • #end
#end ## DISPLAY PHOTOSTORE LINK #if(!$story.hidePhotoStore && ($isImage || $imagesArray==true)) #end ## DISPLAY SIDEBAR #if($isSidebar)
$story.sidebar
#end
#end ## DISPLAY ADVERTISING SECTION #if($string.indexOf($wss.path,"/BestOfTheAbingtons") > -1) #set($adPath = "/AbingtonJournal/advertisers/BOA")
#if($adPath!="") $cms.template("Advertiser Inset 300") #end
#end ## DISPLAYS THE REST OF THE STORY PLUS THE CONTACT INFO FOR THE AUTHOR IF ANY #set($numParagraphs = $util.countParagraphs($pageCopy)) $util.paragraph($pageCopy,2,$numParagraphs) $pageNav #if($story.tagline && $story.tagline != "") $cms.helpText("This is displaying what is in the tagline. One will be build automatically if there is a related author from that authors info")

$story.tagline

#end
#if($cms.domain=="www.kjonline.com") Were you interviewed for this story? If so, please fill out our accuracy form

Send question/comment to the editors

#elseif($cms.domain=="www.onlinesentinel.com") Were you interviewed for this story? If so, please fill out our accuracy form

Send question/comment to the editors

#else Were you interviewed for this story? If so, please fill out our accuracy form

Send question/comment to the editors

#end
$cms.template("ME PPH Article Sharing Links")
#### THUMBNAILS ##### #set($j=1) #foreach($photo in $story.images) #if($velocityCount==3)

Additional Photos

#end #if($velocityCount>=3) $cms.template("WKD Show Thumbnails") #end #end #if($j>1) #if($j % 3 == 1) #elseif($j % 3 == 2) #else #end
    
#end #if($story.formatTables) #end #if(!$blockAds) $cms.template("ME Taboola") #end ####### Comments Area ############# #if(!$story.hideComments)
$cms.template("ME Comments") #end
##################### $cms.template("ME Bottom") #end
X