//<![CDATA[
<!-- Included from Sermons.php via PHP variable $JScriptLocal and Header1.php -->
<!-- Copyright© Adam's Computing® . Web designer: Hal Adam -->
<!-- NO, this web page did NOT evolve over eons of time from -->
<!-- some suposed primodial alphabet soup, it took a designer.  :) -->
<!-- Comment out for Browsers which do NOT support Scripting 
// set global initial assending Sort order 
SermonAudioSwitch = true;
SpeakerSwitch = true;
TopicSwitch = true;

function ForewardPage()
// use nextPage method of Object on ID DynamicTable
	{DynamicTable.nextPage();}

function BackPage()
	{DynamicTable.previousPage();}

function TopPage()
      {DynamicTable.firstPage();}

function BottomPage()
      {DynamicTable.lastPage();}

// access ActiveX object with id Audio in SermonsBody.php
function SortAudioDate()
  {if (SermonAudioSwitch) {
   Audio.SortColumn = "SermonDate";
   Audio.Reset();
   SermonAudioSwitch = false;
                          }
   else {
   Audio.SortColumn = "-SermonDate";
   Audio.Reset();
   SermonAudioSwitch = true;
        }	
  }

function SortSpeaker()
  {if (SpeakerSwitch) {
   Audio.SortColumn = "Speaker";
   Audio.Reset();
   SpeakerSwitch = false;
                      }
   else {
   Audio.SortColumn = "-Speaker";
   Audio.Reset();
   SpeakerSwitch = true;
        }	
  }

function SortTopic()
  {if (TopicSwitch) {
   Audio.SortColumn = "Topic";
   Audio.Reset();
   TopicSwitch = false;
                      }
   else {
   Audio.SortColumn = "-Topic";
   Audio.Reset();
   TopicSwitch = true;
        }	
  }

// End of JScript commenting for Non-Scripting enabled Browsers -->
//]]>

