document.writeln(""); document.writeln(""); document.writeln("var roll_image = new Array;"); document.writeln("var image_link = new Array;"); document.writeln("var small_img = new Array;"); document.writeln(""); document.writeln("roll_image[0] = 'http://pic1.digibook.cn/images/ad/4d3869da976e433e910217e272c6f0fa.jpg';"); document.writeln("image_link[0] = '/0102JTS000600000/BookDetail.shtml';"); document.writeln(""); document.writeln("roll_image[1] = 'http://pic1.digibook.cn/images/ad/9aaed761346a4f13bb5a5c2a139e7475.jpg';"); document.writeln("image_link[1] = '/0103JTS001000000/BookDetail.shtml';"); document.writeln(""); document.writeln("roll_image[2] = 'http://pic1.digibook.cn/images/ad/45889a14214048bc9c193319d38a08a5.jpg';"); document.writeln("image_link[2] = 'http://www.digibook.cn/webPromotion/jwhz/index.phtml';"); document.writeln(""); document.writeln("roll_image[3] = 'http://pic1.digibook.cn/images/ad/ab2b2ad3de4c40978d1f91c6614d3b82.jpg';"); document.writeln("image_link[3] = 'http://www.digibook.cn/Article/ArticleDetail.aspx?ArticleID=2609';"); document.writeln(""); document.writeln("var cliImg = '';"); document.writeln("var cliImgSrc = '';"); document.writeln("var imgNo = Math.round(Math.random() * 4);"); document.writeln(""); document.writeln("var interval = 3000;"); document.writeln("var setTime = '';"); document.writeln(""); document.writeln("function click_simg(ci, no){"); document.writeln(" var pImg = document.all.bigimg;"); document.writeln(" var pLink = document.all.imglink;"); document.writeln(" pLink.target='_blank';"); document.writeln(""); document.writeln(" if(cliImg == '') {"); document.writeln(" cliImg = ci;"); document.writeln(" cliImgSrc = ci.src;"); document.writeln(" imgNo=no;"); document.writeln(" pImg.src =roll_image[no];"); document.writeln(" pLink.href = image_link[no];"); document.writeln(" } else if(cliImg != ci) {"); document.writeln(" cliImg.src = cliImgSrc;"); document.writeln(" cliImg = ci;"); document.writeln(" cliImgSrc = ci.src;"); document.writeln(" ci.src = small_img[no];"); document.writeln(" imgNo=no;"); document.writeln(" pImg.src =roll_image[no];"); document.writeln(" pLink.href = image_link[no];"); document.writeln(" }"); document.writeln(" clearTimeout(setTime);"); document.writeln(" setTime=setTimeout(\"rotate()\",interval);"); document.writeln("}"); document.writeln(""); document.writeln("function rotate(){"); document.writeln(" imgNo = (imgNo >= 3) ? 0 : imgNo+1;"); document.writeln(" var ci = eval('document.all.num_img'+imgNo);"); document.writeln(""); document.writeln(" document.all.bigimg.filters.blendTrans.apply();"); document.writeln(" document.all.imglink.href=image_link[imgNo];"); document.writeln(" document.all.bigimg.src=roll_image[imgNo];"); document.writeln(" document.all.bigimg.filters.blendTrans.play();"); document.writeln(""); document.writeln(" if(cliImg == '') {"); document.writeln(" cliImg = ci;"); document.writeln(" cliImgSrc = ci.src;"); document.writeln(" } else if(cliImg != ci) {"); document.writeln(" cliImg.src = cliImgSrc;"); document.writeln(" cliImg = ci;"); document.writeln(" cliImgSrc = ci.src;"); document.writeln(" }"); document.writeln(" "); document.writeln(" setTime=setTimeout(\"rotate()\",interval);"); document.writeln("}"); document.writeln(""); document.writeln("//-->"); document.writeln(""); document.writeln(""); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln("
"); document.writeln("
"); document.writeln(" rotate();");