<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!--
var item = 0;
function change_url() {
if (document.img.complete) {
if (item==0) {
document.img.src = "http://www.bunjin.com/img/lg_bun.gif";
}
if (item==1) {
document.img.src = "http://www.bunjin.com/java/lg_java.gif";
}
if (item==2) {
document.img.src = "http://img.yahoo.co.jp/images/main6.gif";
}
if (item==3) {
document.img.src = "http://www.infoseek.co.jp/images/isj00/common/infoseekw_140x36.gif";
}
}
item += 1;
if (item>3) item = 0;
setTimeout("change_url()",5000);
}
function open_win() {
if (item==1) {
window.open("http://www.bunjin.com/");
}
if (item==2) {
window.open("http://www.bunjin.com/index2.html");
}
if (item==3) {
window.open("http://img.yahoo.co.jp/");
}
if (item==0) {
window.open("http://www.infoseek.co.jp/");
}
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="change_url();">
<center>
<a href="#" onclick="open_win()">
<img src="http://www.bunjin.com/img/lg_bun.gif" border=0 NAME="img">
</A>
</BODY>
</HTML>
|