Hi,
I want to crete a text rotater.
The exact function of an image rotater but here instead of the image the text should rotate randomly.

All I want is, only one question should appear at a time and stay for 5 seconds and then randomly replaced by another text.
But if any text is clicked upon then it should show the answer below the question(I have given this code as an example) stay for another 5 seconds and again replaced by another question.


<HTML><HEAD><TITLE>FAQ Rotater</TITLE>
<META http-equiv=content-type content=text/html;CHARSET=ISO-8859-1>
<style type="text/css">
.FAQAnswer {
FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana
}
.FAQQuestion {
FONT-WEIGHT: bold; FONT-SIZE: 11px; cursor:hand; COLOR: #333399; FONT-FAMILY: Verdana; TEXT-DECORATION: underline
}

</style>
<script language="javascript">
function c_FaqClick(){
var srcId;
var srcElement;
var targetElement;
var sClassName;
if(!window.event)
return;
srcElement=window.event.srcElement;
sClassName=srcElement.className.toUpperCase();
if((sClassName=="FAQBUTTON")||(sClassName=="FAQQUESTION")){
srcID = srcElement.id.substr(0, srcElement.id.length-1);
targetElement = document.all(srcID + "s");
srcElement = document.all(srcID + "i");
if(targetElement.style.display=="none")
targetElement.style.display="";
else
targetElement.style.display="none";
}
}
document.onclick=c_FaqClick;
</script>
<body>
<table cellSpacing=0 cellPadding=10 width=500 border=1>
<caption align="left">FAQ</caption>
<TR>
<TD vAlign=top><A class=FAQQuestion id=FAQ01t>Can I use html tags anywhere in my posts? How Would I go about it? </A>
<DIV id=FAQ01s style="DISPLAY: none"><span
class=FAQAnswer>No. You can not use html tags in any field: your words are used for hidden META tags.</span></DIV></TD></TR>
<TR>
<TD vAlign=top><A class=FAQQuestion id=FAQ02t>Why didn't my post show up?</A>
<DIV id=FAQ02s style="DISPLAY: none"><span
class=FAQAnswer>Your post most likely did not show up, because your browser did not reload the page, it simply pulled it out of cache. Please reload your browser and it should then appear</span></DIV></TD></TR>
<TR>
<TD vAlign=top><A class=FAQQuestion id=FAQ03t>What if I don't have a way to get a picture on-line?</A>
<DIV id=FAQ03s style="DISPLAY: none"><span
class=FAQAnswer>If the picture is on your computer, you can upload it using only your browser (either IE or Netscape), and you can post it imediately, for free; just <a href="index.htm#All other categories">pick a category,</a> place an ad, and our script will guide you through uploading your picture! Note: The picture must be 750 pixels, low resolution, or smaller: if not, resize first!</span></DIV></TD></TR>

</table>
</body>
</HTML>

Can anyone has any idea as to hoe to do this?
Any sort of help would be greatly appreciated.

Thanks very much,