function tu1(num){
var arr = new Array("images/j1.jpg","images/j2.jpg","images/j3.jpg","images/j4.jpg","images/j5.jpg","images/j6.jpg");
document.getElementById("w1").src=arr[num];
}
</script>
</head>
<body>
<div id="box1">
<img src="images/j1.jpg" id="w1" />
<div id="box2">
<div class="q" onclick="tu1(0)">1</div>
<div class="q" onclick="tu1(1)">2</div>
<div class="q" onclick="tu1(2)">3</div>
<div class="q" onclick="tu1(3)">4</div>
<div class="q" onclick="tu1(4)">5</div>
<div class="q" onclick="tu1(5)">6</div>
</div>
<div id="lb" onclick=""><</div>
<div id="rb" onclick="">></div>
</div>
var arr = new Array("images/j1.jpg","images/j2.jpg","images/j3.jpg","images/j4.jpg","images/j5.jpg","images/j6.jpg");
document.getElementById("w1").src=arr[num];
}
</script>
</head>
<body>
<div id="box1">
<img src="images/j1.jpg" id="w1" />
<div id="box2">
<div class="q" onclick="tu1(0)">1</div>
<div class="q" onclick="tu1(1)">2</div>
<div class="q" onclick="tu1(2)">3</div>
<div class="q" onclick="tu1(3)">4</div>
<div class="q" onclick="tu1(4)">5</div>
<div class="q" onclick="tu1(5)">6</div>
</div>
<div id="lb" onclick=""><</div>
<div id="rb" onclick="">></div>
</div>