Allow show_page_heading to use global

Modifications to let show_page_heading to be either JGLOBAL_USE_GLOBAL, JYES or JNO.