<script type="text/javascript">
/******************************************
* Scrollable content script II- © Dynamic Drive ([url=http://www.dynamicdrive.com]Dynamic Drive DHTML(dynamic html) & JavaScript code library[/url])
* Visit [url=http://www.dynamicdrive.com/]Dynamic Drive DHTML(dynamic html) & JavaScript code library[/url] for full source code
* This notice must stay intact for use
******************************************/
iens6=document.all||document.getElementById
ns4=document.layers
//specify speed of scroll (greater=faster)
var speed=5
if (iens6){
document.write('<div id="holder" style="position:relative;width:175px;height:160px;border:1px solid black;overflow:hidden">')
document.write('<div id="ims" style="position:absolute;width:240px;left:0;top:0">')
}
</script>
<ilayer name="nscontainer" width=175 height=160 clip="0,0,175,160">
<layer name="nscontent" width=240 height=160 visibility=hidden>
<!--INSERT CONTENT HERE-->
<p><font size="2" face="Arial">-</font><font size="2" face="Arial"> DHTML is the
combination of HTML, JavaScript, and CSS</font></p>
<p><font size="2" face="Arial">- DOM stands for Document Object Model</font></p>
<p><font size="2" face="Arial">-</font><font size="2" face="Arial"> DHTML allows
content on a page to change on the fly, without reloading the page</font></p>
<p><font size="2" face="Arial">- CSS allows for the separation between content
definition and formatting</font></p>
<p><font size="2" face="Arial">- CSS stands for Cascading style sheet</font></p>
<p><font size="2" face="Arial">- </font><font size="2" face="Arial"><a href="http://www.dynamicdrive.com">Dynamic
Drive</a> provides free, cut and paste DHTML scripts</font></p>
<!--END CONTENT-->
</layer>
</ilayer>
<script language="JavaScript1.2">
if (iens6)
document.write('</div></div>')
</script>
<table width="175px"><td><p align="right">
<a href="#" onMouseover="left()" onMouseout="pause()">left</a> <a href="#" onMouseover="right()" onMouseout="pause()">right</a></p></td>
</table>
<script language="JavaScript1.2">
if (iens6){
var crossobj=document.getElementById? document.getElementById("ims") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}
function right(){
if(!document.getElementById("ims").style.marginLeft){ marg = 0; } else {
marg = parseInt(document.getElementById("ims").style.marginLeft); }
marg -= 1;
if(parseInt(width+marg)>parseInt(document.getElementById("holder").style.width)){
document.getElementById("ims").style.marginLeft = marg; }
tout = setTimeout("right()",0);
}
function left(){
if(!document.getElementById("ims").style.marginLeft){ marg = 0; } else {
marg = parseInt(document.getElementById("ims").style.marginLeft); }
if(marg < 0){
marg += 1;
document.getElementById("ims").style.marginLeft = marg;
tout = setTimeout("left()",0);
}
}function pause(){
clearTimeout(tout)
}
function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height
</script>