<div id="4" style="position:center;width:1000px; height:85px; <img src="r1.png" > <img src="r1.png" > <script> function rotateImgs(obj) { var imgs = ['http://localhost/1s.png', 'http://localhost/11.png', 'http://localhost/21.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/11.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/2s.png', 'http://localhost/12.png', 'http://localhost/22.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/12.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/3s.png', 'http://localhost/13.png', 'http://localhost/23.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/13.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/4s.png', 'http://localhost/14.png', 'http://localhost/24.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/14.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/5s.png', 'http://localhost/15.png', 'http://localhost/25.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/15.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/6s.png', 'http://localhost/16.png', 'http://localhost/26.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/16.png" onclick="rotateImgs(this)" /> <script> function rotateImgs(obj) { var imgs = ['http://localhost/7s.png', 'http://localhost/17.png', 'http://localhost/27.png']; if (!obj.clicksCount) obj.clicksCount = 0; obj.src = imgs[++obj.clicksCount % imgs.length] } </script> <img src="http://localhost/17.png" onclick="rotateImgs(this)" /> и вот во всех это 17.png появляется( вот приблизительно http://93.78.121.16/ смотрите 1й ряд, через оперу лучше просматривать