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/7422a9e04f6847e7a5f0040484e85f23.jpg';");
document.writeln("image_link[0] = 'http://www.digibook.cn/0112ZBN001100100/BookDetail.shtml';");
document.writeln("");
document.writeln("roll_image[1] = 'http://pic1.digibook.cn/images/ad/4bee833873e842d19d16de1e9686a029.jpg';");
document.writeln("image_link[1] = 'http://www.digibook.cn/0112ZBN000500100/BookDetail.shtml';");
document.writeln("");
document.writeln("roll_image[2] = 'http://pic1.digibook.cn/images/ad/53301b1e776a46e9b611865d566856ea.jpg';");
document.writeln("image_link[2] = 'http://www.digibook.cn/0103JDC001300110/BookDetail.shtml';");
document.writeln("");
document.writeln("roll_image[3] = 'http://pic1.digibook.cn/images/ad/37bcd51946c74ae380b2f468141b880a.jpg';");
document.writeln("image_link[3] = 'http://www.digibook.cn/0103JDC000500100/BookDetail.shtml';");
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(" rotate();");