
if(PG==undefined)var PG={};PG=Object.extend(PG,{Help:{helpTopics:{discover_pgnow:"Discover post-gazetteNOW<br/><br/>As post-gazetteNOW evolves, we continue to respond to reader feedback. We have integrated Help icons throughout our Web site in an effort to ease you through this transition. Simply click on these icons where they appear for quick clarification of what you are viewing.",pgnow_box:"Within this area of our homepage you will find what we refer to as widgets. Each widget represents a shortcut to a unique piece of information or interactive feature that resides elsewhere on post-gazetteNOW. By using widgets, we are able to concisely assemble these great attributes within the convenient area that you see below. This list of widgets will continue to grow.",tab_box:"This row of tabs allows you to view featured content from various sections of post-gazetteNOW. Clicking on these tabs enables you to alternate the featured content that appears in the area below based upon the section tab you choose to select.",obits_widget:"Here you will find a list of today's obituaries. The area below displays only ten names per frame. Clicking through the numbers at the top of this area will enable you to advance through the complete listing of today's obituaries. By clicking a name, you can proceed directly to the deceased's obituary.",font_sizes:"Clicking on the text size indicators allows you to change the size of article titles and content throughout post-gazetteNOW.",posted_widget:"The photos below are the most recent and/or popular photos uploaded to our photo sharing site at posted.post-gazette.com.  Click a photo to see it enlarged or to view other photos in the gallery."},setupHelp:function(){$H(PG.Help.helpTopics).keys().each(function(item){if($(item)){Event.observe($(item),'click',function(e){PG.Help.showHelp(e);});}});},showHelp:function(e){var clicked=Event.element(e);if(clicked.ancestors()[0].hasClassName('help_button')){clicked=clicked.ancestors()[0];}
var topic=clicked.id;var startX=Event.pointerY(e);var startY=Event.pointerX(e);PG.Help.showHelpBox(topic,startX,startY);},showHelpBox:function(topic,x,y){var helpDisplayId=topic+"_detail";var helpDiv;if($(helpDisplayId)){helpDiv=$(helpDisplayId);helpDiv.setStyle({top:(x-3)+'px',left:(y-75)+'px',display:'inline'});helpDiv.setStyle({display:'none'});Effect.Appear(helpDiv,{duration:.2});}else{helpDiv=document.createElement("div");$(helpDiv);helpDiv.addClassName('help_popup_box');helpDiv.id=helpDisplayId;helpDiv.innerHTML=PG.Help.helpTopics[topic];document.getElementsByTagName('body')[0].appendChild(helpDiv);helpDiv.setStyle({top:(x-3)+'px',left:(y-75)+'px',display:'none'});Effect.Appear(helpDiv,{duration:.2});}
var to=setTimeout("PG.Help.hidePopup('"+helpDisplayId+"');",5000);Event.observe(helpDiv,'click',function(){PG.Help.hidePopup(helpDisplayId);});Event.observe(helpDiv,'mouseover',function(){clearTimeout(to);Event.observe(helpDiv,'mouseout',function(){PG.Help.hidePopup(helpDisplayId);});});},hidePopup:function(popupId){Event.stopObserving($(popupId),'click',function(){PG.Help.hidePopup(helpDisplayId);});Event.stopObserving($(popupId),'mouseover',function(){clearTimeout(to);Event.stopObserving($(popupId),'mouseout',function(){PG.Help.hidePopup(helpDisplayId);});});Effect.Fade($(popupId),{duration:.2});}}});