сейчас на сайте:
Лучшие сказки мира
Детектив и фантастика
Песни прошлых лет
Для досуга
function keyHit(evt) { var myPix = new Array("http://www.03www.su/00002.jpg","http://www.03www.su/00003.jpg","http://www.03www.su/00004.jpg","http://www.03www.su/00005.jpg"); var imgCt = myPix.length-1; var ltArrow = 37; var rtArrow = 39;var thisKey = (evt) ? evt.which : window.event.keyCode; if (thisKey == ltArrow) { chgSlide(-1); } else if (thisKey == rtArrow) { chgSlide(1); } return false; function chgSlide(direction) { thisPic = thisPic + direction; if (thisPic > imgCt) { thisPic = 0; } if (thisPic < 0) { thisPic = imgCt; } document.getElementById("myPicture").src = myPix[thisPic]; }} </script> </head> <body bgcolor="#FFFFFF"> <h3 align="center"> <img src="http://www.03www.su/00001.jpg" id="myPicture" width="400" height="600" alt="Slideshow" /><br /> </h3> </body> </html>