$(document).ready(function() {
   $('#top').bgImageTween([
'./pic/top/05.jpg',
'./pic/top/01.jpg',
'./pic/top/07.jpg',
'./pic/top/08.jpg',
'./pic/top/13.jpg',
'./pic/top/15.jpg',
'./pic/top/23.jpg',
'./pic/top/30.jpg',
'./pic/top/31.jpg',
'./pic/top/35.jpg',
'./pic/top/41.jpg'
], 3000, 2000);
            });


function abc(id) {
 for (i=1; i<5; i++) {
  id2='o'+i;
  if (id2==id && document.all(id).style.display =='none') document.all(id).style.display = "";
  else document.all(id2).style.display = "none";
 }
}

startList = function() {
  if (document.all&&document.getElementById) {
    navRoot = document.getElementById("nav");
    for (i=0; i<navRoot.childNodes.length; i++) {
      node = navRoot.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function(){
          this.className+=" over";
        }
        node.onmouseout=function() {
          this.className=this.className.replace(" over", "");
        }
      }
    }
  }
}
window.onload=startList;

s1= new Array('05','01','07','08','13','15','23','30','31','35','41');

//for(i=4; i<=7; i++){
// s[i]=new Image();
// s[i].url='url("/pic/style/top'+i+'.jpg")';
//}

/*
s=new Image();
s.url='url("/pic/top/'+s1[0]+'.jpg")';
time1=setTimeout("ch_pic(0)",5000);

function ch_pic(j){
//alert(j);
  document.all['top'].style.backgroundImage =s.url;
  if (j==s1.length-1) j=0;
  else j=j+1;
  s=new Image();
  s.url='url("/pic/top/'+s1[j]+'.jpg")';
  r="ch_pic("+j+')';
  time1=setTimeout(r,5000);
}

*/
