Here is the code that I have.

var strEventType = new Array();
var strType = new Array();
var strTimeGenerated = new Array();
var strSourceName = new Array();
var strMessage = new Array();
var strInsertionStrings = new Array();

function updateText(val)
{
//process the information from the onchange() function in the ShowLog() function.
var obj = document.getElementById("dynTxt");

switch(val){
case "Application":
strXMLTagName = 'application_events';
for(a = 0; a < 100; a++){
strEventType[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'eventtype', a);
switch (parseInt(strEventType[a]))
{
case 1: // Error
case 5: // Security audit failure
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_critical16.gif">';
break;
case 2: // Warning
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_warning16.gif">';
break;
case 3: // Information
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_informational16.gif">';
break;
case 4: // Security audit success
default: // anything else that may show up
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/blank.gif" width="16">';
break;
}
strType[a] = GetXMLValue('xmlNTEventLog',strXMLTagName + '.event', 'type',a);
strTimeGenerated[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'timegenerated', a);
strSourceName[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'sourcename', a);
strMessage[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'message', a);
strInsertionStrings[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'insertionstrings', a);

}
obj.innerHTML=displayTable(1);

break;
case "Security":
strXMLTagName = 'security_events';
for(a = 0; a < 100; a++){
strEventType[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'eventtype', a);
switch (parseInt(strEventType[a]))
{
case 1: // Error
case 5: // Security audit failure
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_critical16.gif">';
break;
case 2: // Warning
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_warning16.gif">';
break;
case 3: // Information
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_informational16.gif">';
break;
case 4: // Security audit success
default: // anything else that may show up
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/blank.gif" width="16">';
break;
}
strType[a] = GetXMLValue('xmlNTEventLog',strXMLTagName + '.event', 'type',a);
strTimeGenerated[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'timegenerated', a);
strSourceName[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'sourcename', a);
strMessage[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'message', a);
strInsertionStrings[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'insertionstrings', a);
}
obj.innerHTML=displayTable(1);
break;
case "System":
strXMLTagName = 'system_events';
for(a = 0; a < 100; a++){
strEventType[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'eventtype', a);
switch (parseInt(strEventType[a]))
{
case 1: // Error
case 5: // Security audit failure
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_critical16.gif">';
break;
case 2: // Warning
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_warning16.gif">';
break;
case 3: // Information
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/severity_informational16.gif">';
break;
case 4: // Security audit success
default: // anything else that may show up
strEventType[a] = '<img align="absmiddle" border="0" src="/common/media/blank.gif" width="16">';
break;
}
strType[a] = GetXMLValue('xmlNTEventLog',strXMLTagName + '.event', 'type',a);
strTimeGenerated[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'timegenerated', a);
strSourceName[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'sourcename', a);
strMessage[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'message', a);
strInsertionStrings[a] = GetXMLValue('xmlNTEventLog', strXMLTagName + '.event', 'insertionstrings', a);

}
obj.innerHTML=displayTable(1);
break;
default:
obj.innerHTML = "";
break;
}
}

var displayPerPage=10;

function displayTable(num){
var startIndex = (num*displayPerPage)-displayPerPage;
var index=startIndex;
var endIndex = startIndex+displayPerPage-1;

var strHTML='<table class="lsmStyleWithColor" width="100%"><tr>\n';
strHTML += '<th class="lsmStyleWithRightAlign" colspan="100%">';
//prev button
if (typeof strEventType[startIndex-1] != 'undefined'){
strHTML += '<a href="JavaScript:void(0);" onClick="displayTable('+ (num-1) +');" class="whitenormal">';
strHTML += '<str id="strLogPrevButton" convert="$codesafe;"></a>';
strHTML += '&nbsp;|&nbsp;';
}else{
strHTML+='&nbsp;';
}
//next button
if (typeof strEventType[index] != 'undefined'){
strHTML += '<a href="JavaScript:void(0);" onClick="displayTable(' + (num+1) + ');" class="whitenormal">';
strHTML += '<str id="strLogNextButton" convert="$codesafe;"></a>';
}else{
strHTML += '&nbsp';
}
strHTML += '</th></tr>';
strHTML += '<tr><td class="lsmSubHeader lsmGrid" valign="top">Type</td>';
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">Date</td>';
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">Source</td>';
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">Description</td></tr>';

while (typeof strEventType[index]!='undefined' && index<=endIndex){

strHTML += '<tr><td class="lsmSubHeader lsmGrid" valign="top">' + strEventType[index] + '&nbsp;' + strType[index] + '</td>';
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">' + strTimeGenerated[index] + '</td>';
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">' + strSourceName[index] + '</td>';

if(null != strMessage[index] && '' != strMessage[index]){
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">' + strMessage[index] + '</td>';
}else if(null != strInsertionStrings[index] && '' != strInsertionStrings[index]){
strHTML += '<td class="lsmSubHeader lsmGrid" valign="top">' + strInsertionStrings[index] + '</td>';
}else{
strHTML = '<td class="lsmSubHeader lsmGrid">&nbsp;</td>';
}

strHTML += '</tr>';

index++;
}
strHTML += '<th class="lsmStyleWithRightAlign" colspan="100%">';
//prev button
if (typeof strEventType[startIndex-1] != 'undefined'){
strHTML += '<a href="JavaScript:void(0);" onClick="displayTable('+ (num-1) +');" class="whitenormal">';
strHTML += '<str id="strLogPrevButton" convert="$codesafe;"></a>';
strHTML += '&nbsp;|&nbsp;';
}else{
strHTML+='&nbsp;';
}
//next button
if (typeof strEventType[index] != 'undefined'){
strHTML += '<a href="JavaScript:void(0);" onClick="displayTable(' + (num+1) + ');" class="whitenormal">';
strHTML += '<str id="strLogNextButton" convert="$codesafe;"></a>';
}else{
strHTML += '&nbsp';
}
strHTML += '</th></table>';

return strHTML;


}

</script>

#ifdef INCLUDE_IN_TPC
<div class="lsmPageTitle"><nobr><str id="titleNTEventLog"><br><img align="top" class="lsmWidth" height="5" src="/common/media/rule.gif"><img align="top" src="/common/media/ruleend.gif"></nobr></div>
#else
<div class="lsmSectionTitle"><nobr><str id="titleNTEventLog"></nobr></div>
#endif
<br>

<table class="lsmWidthNoPadding">
<tr><td class="toolbarouterline">&nbsp;</td></tr>
<tr><td class="toolbarinnerline">&nbsp;</td></tr>
<tr><td class="toolbarline">&nbsp;&nbsp;
<span class = "lsmSubHeader"><label for="Filter"><str id="strView" convert="$codesafe"><str id="colonSeparator" convert="$codesafe">&nbsp;</label>&nbsp;</span>

<select id="LogFiles" name="LogFiles" onChange = "updateText(this.value);" align = "absmiddle">
<option value = "">-- Select Log File --</option>
<option value = "<str id='titleNTApplicationEventLog' convert='$codesafe;'>"><str id="titleNTApplicationEventLog" convert="$codesafe;"></option>
<option value = "<str id='titleNTSecurityEventLog' convert='$codesafe;'>"><str id="titleNTSecurityEventLog" convert="$codesafe;"></option>
<option value = "<str id='titleNTSystemEventLog' convert='$codesafe;'>"><str id="titleNTSystemEventLog" convert="$codesafe;"></option>
</select>

</td></tr><tr><td class="toolbarinnerline">&nbsp;</td></tr>
<tr><td class="toolbarouterline">&nbsp;</td></tr>
</table><br>
<div id="dynTxt">

</div>



What I need to occur is when someone clicks the next or previous link, I need it to load the next 10 items, this is not happening. anyone know why nothing happens when I click the next or previous link nothing happens?