var image_Pic = new Array(); var image_link = new Array(); var image_title = new Array(); var small_img = new Array(); image_Pic[0] = 'attachments/month_0805/20080508_d523dd203b33739483f6uPCEaXOeI2Ta.jpg'; image_link[0] = 'viewthread.php?tid=299'; image_title[0] = '清香多彩丝——神奇的小小豆芽,让减肥加速度:)'; image_Pic[1] = 'attachments/month_0805/20080512_2838b3966f911325ca15FHZuVXLx1Fl7.jpg'; image_link[1] = 'viewthread.php?tid=359'; image_title[1] = '深夜还是晨爱,性生活要掌握做爱时间'; image_Pic[2] = 'attachments/month_0805/20080508_702905c71835e31e0dc5UHcWXZ8oijgt.jpg'; image_link[2] = 'viewthread.php?tid=296'; image_title[2] = '翟华:日本80后网民用什么新词汇'; image_Pic[3] = 'attachments/month_0805/20080507_47ba7c31b8c509241600vr74XeqE4riC.jpg'; image_link[3] = 'viewthread.php?tid=284'; image_title[3] = '母亲节到了,大声说妈妈我爱你'; image_Pic[4] = 'attachments/month_0805/20080507_0d64b8fbc68edce788beSEZ2N01uN7nh.jpg'; image_link[4] = 'viewthread.php?tid=278'; image_title[4] = '李湘被疑搭上身价过亿年轻富商'; var slideShowSpeed = 4000; var t; var j = 0; var p = image_Pic.length; var preLoad = new Array(); var preLoadlink = new Array(); var preLoadtitle = new Array(); for (i = 0; i < p; i++) { preLoad[i] = new Image(); preLoadlink[i] = new Image(); preLoad[i].src = image_Pic[i]; preLoad[i].title = image_title[i]; preLoadlink[i] = image_link[i]; } function SetImgSize(o) { o.removeAttribute('width'); o.height=250; if(o.width < 304) {o.removeAttribute('height');o.width=304;} } function tupian(cvv) { for (var z = 0; z < p; z++) {document.getElementById('num_img'+z).className='';} document.getElementById('num_img'+cvv).className='c'; } function click_simg(no){ if (document.all) { img.style.filter="blendTrans(duration=2)"; img.filters.blendTrans.Apply(); } document.getElementById('imglink').href=preLoadlink[no]; img.src = preLoad[no].src; img.title = preLoad[no].title; img.alt = preLoad[no].title; SetImgSize(img); tupian(no); if (document.all) img.filters.blendTrans.Play(); j=no+1; if (j > (p - 1)) j = 0; clearTimeout(t); t = setTimeout('runSlideShow()', slideShowSpeed); } function runSlideShow(){ if (document.all) { img.style.filter="blendTrans(duration=2)"; img.filters.blendTrans.Apply(); } img.src = preLoad[j].src; img.title = preLoad[j].title; img.alt = preLoad[j].title; SetImgSize(img); document.getElementById('imglink').href=preLoadlink[j]; tupian(j); if (document.all) img.filters.blendTrans.Play(); j = j + 1; if (j > (p - 1)) j = 0; t = setTimeout('runSlideShow()', slideShowSpeed); } document.write( "
"); for (i = 0; i < p; i++) {document.write("
  • "+(i+1)+"
  • ");} document.write('
    '); var img=document.images.SlideShow; runSlideShow();