If you have moderation turned on at all (I don't think it runs the queries if it's DISABLED) try adding this code to the TOP of CheckForUnmoderatedPosts... oh course test all my examples before putting them in production... :-)
'don't need to know this unless I'm a moderator
if (chkUser(strDBNTUserName,Request.Cookies(strUniqueID & "User")("Pword"))<3) then
CheckForUnmoderatedPosts=0
exit function
end if
Another speed up for users not logged in... no need to check for unmoderated posts... I'm sort of going about updates a little backwards... default.asp should probably be rewritten to eliminate all these calls (and sounds like it is in 3.4) but I find it easier to eliminate them inside the functions, not to mention this provides speed ups for ALL pages that use the functions at once...