var Pic = new Array(); // picture file name var PicW = new Array(); // picture width var PicH = new Array(); // picture height var PicC = new Array(); // picture comment var preLoad = new Array(); Pic[0] = 'photos/20100806_desaru/IMG_8006.JPG'; PicW[0] = 640; PicH[0] = 480; PicC[0] = ' '; preLoad[0] = new Image(); Pic[1] = 'photos/20100806_desaru/IMG_8007.JPG'; PicW[1] = 640; PicH[1] = 480; PicC[1] = ' '; preLoad[1] = new Image(); Pic[2] = 'photos/20100806_desaru/IMG_8008.JPG'; PicW[2] = 640; PicH[2] = 480; PicC[2] = ' '; preLoad[2] = new Image(); Pic[3] = 'photos/20100806_desaru/IMG_8009.JPG'; PicW[3] = 640; PicH[3] = 480; PicC[3] = ' '; preLoad[3] = new Image(); Pic[4] = 'photos/20100806_desaru/IMG_8010.JPG'; PicW[4] = 640; PicH[4] = 480; PicC[4] = ' '; preLoad[4] = new Image(); Pic[5] = 'photos/20100806_desaru/IMG_8011.JPG'; PicW[5] = 640; PicH[5] = 480; PicC[5] = ' '; preLoad[5] = new Image(); Pic[6] = 'photos/20100806_desaru/IMG_8012.JPG'; PicW[6] = 640; PicH[6] = 480; PicC[6] = ' '; preLoad[6] = new Image(); Pic[7] = 'photos/20100806_desaru/IMG_8013.JPG'; PicW[7] = 640; PicH[7] = 480; PicC[7] = ' '; preLoad[7] = new Image(); Pic[8] = 'photos/20100806_desaru/IMG_8014.JPG'; PicW[8] = 640; PicH[8] = 480; PicC[8] = ' '; preLoad[8] = new Image(); Pic[9] = 'photos/20100806_desaru/IMG_8015.JPG'; PicW[9] = 640; PicH[9] = 480; PicC[9] = ' '; preLoad[9] = new Image(); Pic[10] = 'photos/20100806_desaru/IMG_8016.JPG'; PicW[10] = 640; PicH[10] = 480; PicC[10] = ' '; preLoad[10] = new Image(); Pic[11] = 'photos/20100806_desaru/IMG_8017.JPG'; PicW[11] = 640; PicH[11] = 480; PicC[11] = ' '; preLoad[11] = new Image(); Pic[12] = 'photos/20100806_desaru/IMG_8018.JPG'; PicW[12] = 640; PicH[12] = 480; PicC[12] = ' '; preLoad[12] = new Image(); Pic[13] = 'photos/20100806_desaru/IMG_8019.JPG'; PicW[13] = 640; PicH[13] = 480; PicC[13] = ' '; preLoad[13] = new Image(); Pic[14] = 'photos/20100806_desaru/IMG_8020.JPG'; PicW[14] = 640; PicH[14] = 480; PicC[14] = ' '; preLoad[14] = new Image(); Pic[15] = 'photos/20100806_desaru/IMG_8021.JPG'; PicW[15] = 640; PicH[15] = 480; PicC[15] = ' '; preLoad[15] = new Image(); Pic[16] = 'photos/20100806_desaru/IMG_8023.JPG'; PicW[16] = 640; PicH[16] = 480; PicC[16] = ' '; preLoad[16] = new Image(); Pic[17] = 'photos/20100806_desaru/IMG_8024.JPG'; PicW[17] = 640; PicH[17] = 480; PicC[17] = ' '; preLoad[17] = new Image(); Pic[18] = 'photos/20100806_desaru/IMG_8026.JPG'; PicW[18] = 640; PicH[18] = 480; PicC[18] = ' '; preLoad[18] = new Image(); Pic[19] = 'photos/20100806_desaru/IMG_8027.JPG'; PicW[19] = 640; PicH[19] = 480; PicC[19] = ' '; preLoad[19] = new Image(); Pic[20] = 'photos/20100806_desaru/IMG_8028.JPG'; PicW[20] = 640; PicH[20] = 480; PicC[20] = ' '; preLoad[20] = new Image(); Pic[21] = 'photos/20100806_desaru/IMG_8031.JPG'; PicW[21] = 640; PicH[21] = 480; PicC[21] = ' '; preLoad[21] = new Image(); Pic[22] = 'photos/20100806_desaru/IMG_8032.JPG'; PicW[22] = 640; PicH[22] = 480; PicC[22] = ' '; preLoad[22] = new Image(); Pic[23] = 'photos/20100806_desaru/IMG_8033.JPG'; PicW[23] = 640; PicH[23] = 480; PicC[23] = ' '; preLoad[23] = new Image(); Pic[24] = 'photos/20100806_desaru/IMG_8034.JPG'; PicW[24] = 480; PicH[24] = 640; PicC[24] = ' '; preLoad[24] = new Image(); Pic[25] = 'photos/20100806_desaru/IMG_8035.JPG'; PicW[25] = 640; PicH[25] = 480; PicC[25] = ' '; preLoad[25] = new Image(); Pic[26] = 'photos/20100806_desaru/IMG_8036.JPG'; PicW[26] = 640; PicH[26] = 480; PicC[26] = ' '; preLoad[26] = new Image(); Pic[27] = 'photos/20100806_desaru/IMG_8037.JPG'; PicW[27] = 640; PicH[27] = 480; PicC[27] = ' '; preLoad[27] = new Image(); Pic[28] = 'photos/20100806_desaru/IMG_8039.JPG'; PicW[28] = 480; PicH[28] = 640; PicC[28] = ' '; preLoad[28] = new Image(); Pic[29] = 'photos/20100806_desaru/IMG_8040.JPG'; PicW[29] = 480; PicH[29] = 640; PicC[29] = ' '; preLoad[29] = new Image(); Pic[30] = 'photos/20100806_desaru/IMG_8041.JPG'; PicW[30] = 640; PicH[30] = 480; PicC[30] = ' '; preLoad[30] = new Image(); Pic[31] = 'photos/20100806_desaru/IMG_8042.JPG'; PicW[31] = 640; PicH[31] = 480; PicC[31] = ' '; preLoad[31] = new Image(); Pic[32] = 'photos/20100806_desaru/IMG_8043.JPG'; PicW[32] = 640; PicH[32] = 480; PicC[32] = ' '; preLoad[32] = new Image(); Pic[33] = 'photos/20100806_desaru/IMG_8044.JPG'; PicW[33] = 640; PicH[33] = 480; PicC[33] = ' '; preLoad[33] = new Image(); Pic[34] = 'photos/20100806_desaru/IMG_8045.JPG'; PicW[34] = 640; PicH[34] = 480; PicC[34] = ' '; preLoad[34] = new Image(); Pic[35] = 'photos/20100806_desaru/IMG_8046.JPG'; PicW[35] = 640; PicH[35] = 480; PicC[35] = ' '; preLoad[35] = new Image(); Pic[36] = 'photos/20100806_desaru/IMG_8047.JPG'; PicW[36] = 640; PicH[36] = 480; PicC[36] = ' '; preLoad[36] = new Image(); Pic[37] = 'photos/20100806_desaru/IMG_8048.JPG'; PicW[37] = 640; PicH[37] = 480; PicC[37] = ' '; preLoad[37] = new Image(); Pic[38] = 'photos/20100806_desaru/IMG_8049.JPG'; PicW[38] = 640; PicH[38] = 480; PicC[38] = ' '; preLoad[38] = new Image(); Pic[39] = 'photos/20100806_desaru/IMG_8050.JPG'; PicW[39] = 640; PicH[39] = 480; PicC[39] = ' '; preLoad[39] = new Image(); Pic[40] = 'photos/20100806_desaru/IMG_8051.JPG'; PicW[40] = 480; PicH[40] = 640; PicC[40] = ' '; preLoad[40] = new Image(); Pic[41] = 'photos/20100806_desaru/IMG_8052.JPG'; PicW[41] = 480; PicH[41] = 640; PicC[41] = ' '; preLoad[41] = new Image(); Pic[42] = 'photos/20100806_desaru/IMG_8053.JPG'; PicW[42] = 480; PicH[42] = 640; PicC[42] = ' '; preLoad[42] = new Image(); Pic[43] = 'photos/20100806_desaru/IMG_8054.JPG'; PicW[43] = 480; PicH[43] = 640; PicC[43] = ' '; preLoad[43] = new Image(); Pic[44] = 'photos/20100806_desaru/IMG_8055.JPG'; PicW[44] = 480; PicH[44] = 640; PicC[44] = ' '; preLoad[44] = new Image(); Pic[45] = 'photos/20100806_desaru/IMG_8056.JPG'; PicW[45] = 480; PicH[45] = 640; PicC[45] = ' '; preLoad[45] = new Image(); Pic[46] = 'photos/20100806_desaru/IMG_8057.JPG'; PicW[46] = 640; PicH[46] = 480; PicC[46] = ' '; preLoad[46] = new Image(); Pic[47] = 'photos/20100806_desaru/IMG_8058.JPG'; PicW[47] = 480; PicH[47] = 640; PicC[47] = ' '; preLoad[47] = new Image(); Pic[48] = 'photos/20100806_desaru/IMG_8060.JPG'; PicW[48] = 640; PicH[48] = 480; PicC[48] = ' '; preLoad[48] = new Image(); Pic[49] = 'photos/20100806_desaru/IMG_8061.JPG'; PicW[49] = 480; PicH[49] = 640; PicC[49] = ' '; preLoad[49] = new Image(); Pic[50] = 'photos/20100806_desaru/IMG_8062.JPG'; PicW[50] = 480; PicH[50] = 640; PicC[50] = ' '; preLoad[50] = new Image(); Pic[51] = 'photos/20100806_desaru/IMG_8063.JPG'; PicW[51] = 480; PicH[51] = 640; PicC[51] = ' '; preLoad[51] = new Image(); Pic[52] = 'photos/20100806_desaru/IMG_8064.JPG'; PicW[52] = 640; PicH[52] = 480; PicC[52] = ' '; preLoad[52] = new Image(); Pic[53] = 'photos/20100806_desaru/IMG_8065.JPG'; PicW[53] = 640; PicH[53] = 480; PicC[53] = ' '; preLoad[53] = new Image(); Pic[54] = 'photos/20100806_desaru/IMG_8066.JPG'; PicW[54] = 640; PicH[54] = 480; PicC[54] = ' '; preLoad[54] = new Image(); Pic[55] = 'photos/20100806_desaru/IMG_8067.JPG'; PicW[55] = 640; PicH[55] = 480; PicC[55] = ' '; preLoad[55] = new Image(); Pic[56] = 'photos/20100806_desaru/IMG_8068.JPG'; PicW[56] = 640; PicH[56] = 480; PicC[56] = ' '; preLoad[56] = new Image(); Pic[57] = 'photos/20100806_desaru/IMG_8069.JPG'; PicW[57] = 640; PicH[57] = 480; PicC[57] = ' '; preLoad[57] = new Image(); Pic[58] = 'photos/20100806_desaru/IMG_8070.JPG'; PicW[58] = 480; PicH[58] = 640; PicC[58] = ' '; preLoad[58] = new Image(); Pic[59] = 'photos/20100806_desaru/IMG_8071.JPG'; PicW[59] = 480; PicH[59] = 640; PicC[59] = ' '; preLoad[59] = new Image(); Pic[60] = 'photos/20100806_desaru/IMG_8072.JPG'; PicW[60] = 480; PicH[60] = 640; PicC[60] = ' '; preLoad[60] = new Image(); Pic[61] = 'photos/20100806_desaru/IMG_8073.JPG'; PicW[61] = 640; PicH[61] = 480; PicC[61] = ' '; preLoad[61] = new Image(); Pic[62] = 'photos/20100806_desaru/IMG_8074.JPG'; PicW[62] = 480; PicH[62] = 640; PicC[62] = ' '; preLoad[62] = new Image(); Pic[63] = 'photos/20100806_desaru/IMG_8075.JPG'; PicW[63] = 480; PicH[63] = 640; PicC[63] = ' '; preLoad[63] = new Image(); Pic[64] = 'photos/20100806_desaru/IMG_8076.JPG'; PicW[64] = 640; PicH[64] = 480; PicC[64] = ' '; preLoad[64] = new Image(); Pic[65] = 'photos/20100806_desaru/IMG_8077.JPG'; PicW[65] = 640; PicH[65] = 480; PicC[65] = ' '; preLoad[65] = new Image(); Pic[66] = 'photos/20100806_desaru/IMG_8078.JPG'; PicW[66] = 640; PicH[66] = 480; PicC[66] = ' '; preLoad[66] = new Image(); Pic[67] = 'photos/20100806_desaru/IMG_8079.JPG'; PicW[67] = 480; PicH[67] = 640; PicC[67] = ' '; preLoad[67] = new Image(); Pic[68] = 'photos/20100806_desaru/IMG_8080.JPG'; PicW[68] = 480; PicH[68] = 640; PicC[68] = ' '; preLoad[68] = new Image(); Pic[69] = 'photos/20100806_desaru/IMG_8081.JPG'; PicW[69] = 640; PicH[69] = 480; PicC[69] = ' '; preLoad[69] = new Image(); Pic[70] = 'photos/20100806_desaru/IMG_8082.JPG'; PicW[70] = 480; PicH[70] = 640; PicC[70] = ' '; preLoad[70] = new Image(); Pic[71] = 'photos/20100806_desaru/IMG_8083.JPG'; PicW[71] = 640; PicH[71] = 480; PicC[71] = ' '; preLoad[71] = new Image(); Pic[72] = 'photos/20100806_desaru/IMG_8084.JPG'; PicW[72] = 640; PicH[72] = 480; PicC[72] = ' '; preLoad[72] = new Image(); Pic[73] = 'photos/20100806_desaru/IMG_8085.JPG'; PicW[73] = 640; PicH[73] = 480; PicC[73] = ' '; preLoad[73] = new Image(); Pic[74] = 'photos/20100806_desaru/IMG_8086.JPG'; PicW[74] = 480; PicH[74] = 640; PicC[74] = ' '; preLoad[74] = new Image(); Pic[75] = 'photos/20100806_desaru/IMG_8087.JPG'; PicW[75] = 480; PicH[75] = 640; PicC[75] = ' '; preLoad[75] = new Image(); Pic[76] = 'photos/20100806_desaru/IMG_8088.JPG'; PicW[76] = 480; PicH[76] = 640; PicC[76] = ' '; preLoad[76] = new Image(); Pic[77] = 'photos/20100806_desaru/IMG_8089.JPG'; PicW[77] = 640; PicH[77] = 480; PicC[77] = ' '; preLoad[77] = new Image(); Pic[78] = 'photos/20100806_desaru/IMG_8090.JPG'; PicW[78] = 640; PicH[78] = 480; PicC[78] = ' '; preLoad[78] = new Image(); Pic[79] = 'photos/20100806_desaru/IMG_8091.JPG'; PicW[79] = 640; PicH[79] = 480; PicC[79] = ' '; preLoad[79] = new Image(); Pic[80] = 'photos/20100806_desaru/IMG_8092.JPG'; PicW[80] = 640; PicH[80] = 480; PicC[80] = ' '; preLoad[80] = new Image(); Pic[81] = 'photos/20100806_desaru/IMG_8093.JPG'; PicW[81] = 640; PicH[81] = 480; PicC[81] = ' '; preLoad[81] = new Image(); Pic[82] = 'photos/20100806_desaru/IMG_8094.JPG'; PicW[82] = 640; PicH[82] = 480; PicC[82] = ' '; preLoad[82] = new Image(); Pic[83] = 'photos/20100806_desaru/IMG_8095.JPG'; PicW[83] = 640; PicH[83] = 480; PicC[83] = ' '; preLoad[83] = new Image(); Pic[84] = 'photos/20100806_desaru/IMG_8096.JPG'; PicW[84] = 640; PicH[84] = 480; PicC[84] = ' '; preLoad[84] = new Image(); Pic[85] = 'photos/20100806_desaru/IMG_8097.JPG'; PicW[85] = 480; PicH[85] = 640; PicC[85] = ' '; preLoad[85] = new Image(); Pic[86] = 'photos/20100806_desaru/IMG_8098.JPG'; PicW[86] = 480; PicH[86] = 640; PicC[86] = ' '; preLoad[86] = new Image(); Pic[87] = 'photos/20100806_desaru/IMG_8099.JPG'; PicW[87] = 640; PicH[87] = 480; PicC[87] = ' '; preLoad[87] = new Image(); Pic[88] = 'photos/20100806_desaru/IMG_8100.JPG'; PicW[88] = 640; PicH[88] = 480; PicC[88] = ' '; preLoad[88] = new Image(); Pic[89] = 'photos/20100806_desaru/IMG_8101.JPG'; PicW[89] = 480; PicH[89] = 640; PicC[89] = ' '; preLoad[89] = new Image(); Pic[90] = 'photos/20100806_desaru/IMG_8102.JPG'; PicW[90] = 480; PicH[90] = 640; PicC[90] = ' '; preLoad[90] = new Image(); Pic[91] = 'photos/20100806_desaru/IMG_8103.JPG'; PicW[91] = 640; PicH[91] = 480; PicC[91] = ' '; preLoad[91] = new Image(); Pic[92] = 'photos/20100806_desaru/IMG_8104.JPG'; PicW[92] = 640; PicH[92] = 480; PicC[92] = ' '; preLoad[92] = new Image(); Pic[93] = 'photos/20100806_desaru/IMG_8105.JPG'; PicW[93] = 640; PicH[93] = 480; PicC[93] = ' '; preLoad[93] = new Image(); Pic[94] = 'photos/20100806_desaru/IMG_8106.JPG'; PicW[94] = 640; PicH[94] = 480; PicC[94] = ' '; preLoad[94] = new Image(); Pic[95] = 'photos/20100806_desaru/IMG_8107.JPG'; PicW[95] = 640; PicH[95] = 480; PicC[95] = ' '; preLoad[95] = new Image(); Pic[96] = 'photos/20100806_desaru/IMG_8108.JPG'; PicW[96] = 640; PicH[96] = 480; PicC[96] = ' '; preLoad[96] = new Image(); Pic[97] = 'photos/20100806_desaru/IMG_8109.JPG'; PicW[97] = 480; PicH[97] = 640; PicC[97] = ' '; preLoad[97] = new Image(); Pic[98] = 'photos/20100806_desaru/IMG_8110.JPG'; PicW[98] = 640; PicH[98] = 480; PicC[98] = ' '; preLoad[98] = new Image(); Pic[99] = 'photos/20100806_desaru/IMG_8111.JPG'; PicW[99] = 480; PicH[99] = 640; PicC[99] = ' '; preLoad[99] = new Image(); Pic[100] = 'photos/20100806_desaru/IMG_8112.JPG'; PicW[100] = 480; PicH[100] = 640; PicC[100] = ' '; preLoad[100] = new Image(); Pic[101] = 'photos/20100806_desaru/IMG_8113.JPG'; PicW[101] = 640; PicH[101] = 480; PicC[101] = ' '; preLoad[101] = new Image(); Pic[102] = 'photos/20100806_desaru/IMG_8114.JPG'; PicW[102] = 640; PicH[102] = 480; PicC[102] = ' '; preLoad[102] = new Image(); Pic[103] = 'photos/20100806_desaru/IMG_8115.JPG'; PicW[103] = 640; PicH[103] = 480; PicC[103] = ' '; preLoad[103] = new Image(); Pic[104] = 'photos/20100806_desaru/IMG_8116.JPG'; PicW[104] = 640; PicH[104] = 480; PicC[104] = ' '; preLoad[104] = new Image(); Pic[105] = 'photos/20100806_desaru/IMG_8118.JPG'; PicW[105] = 640; PicH[105] = 480; PicC[105] = ' '; preLoad[105] = new Image(); Pic[106] = 'photos/20100806_desaru/IMG_8119.JPG'; PicW[106] = 640; PicH[106] = 480; PicC[106] = ' '; preLoad[106] = new Image(); Pic[107] = 'photos/20100806_desaru/IMG_8120.JPG'; PicW[107] = 640; PicH[107] = 480; PicC[107] = ' '; preLoad[107] = new Image(); Pic[108] = 'photos/20100806_desaru/IMG_8121.JPG'; PicW[108] = 640; PicH[108] = 480; PicC[108] = ' '; preLoad[108] = new Image(); Pic[109] = 'photos/20100806_desaru/IMG_8122.JPG'; PicW[109] = 640; PicH[109] = 480; PicC[109] = ' '; preLoad[109] = new Image(); Pic[110] = 'photos/20100806_desaru/IMG_8123.JPG'; PicW[110] = 640; PicH[110] = 480; PicC[110] = ' '; preLoad[110] = new Image(); Pic[111] = 'photos/20100806_desaru/IMG_8126.JPG'; PicW[111] = 640; PicH[111] = 480; PicC[111] = ' '; preLoad[111] = new Image(); Pic[112] = 'photos/20100806_desaru/IMG_8127.JPG'; PicW[112] = 640; PicH[112] = 480; PicC[112] = ' '; preLoad[112] = new Image(); Pic[113] = 'photos/20100806_desaru/IMG_8128.JPG'; PicW[113] = 640; PicH[113] = 480; PicC[113] = ' '; preLoad[113] = new Image(); Pic[114] = 'photos/20100806_desaru/IMG_8133.JPG'; PicW[114] = 640; PicH[114] = 480; PicC[114] = ' '; preLoad[114] = new Image(); Pic[115] = 'photos/20100806_desaru/IMG_8136.JPG'; PicW[115] = 640; PicH[115] = 480; PicC[115] = ' '; preLoad[115] = new Image(); // alert("111 preLoadPic ix = "+0+":::"+preLoad[0].name); // Set slideShowSpeed (milliseconds) var slideShowSpeed = 5000 // Agent sniffer shamelessly 'stolen' from the excellent X library from cross-browser.com var xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase(); if(window.opera){ xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1); if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1); } else if(document.layers) xNN4=true; else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;} // Duration of crossfade (seconds) var crossFadeDuration = 1 // Specify the image files var t = -1; var pos = 0; var posNext = 0; var status_slideshow = 0; var count_entry = 0; var html; function preLoadPic(index) { if (index >= 0 && index < Pic.length) { if (preLoad[index].src == "") { preLoad[index].src = "albums/"+Pic[index]; // alert("preLoadPic ix = "+index); // alert("preLoadPic"); } } else { Alert("Error : invalid index."); } } function startSlideShow() { if (Pic.length == 0) { // No picture to start slide show. Alert("Error : Pic.length is less than or equal to 0."); } else if (t == -1) { // Only when the slide show has not been started, // then start it. posNext = pos; if ((posNext+1) < Pic.length) { // Can increment var pos. Thus increment. posNext++; } else if ((posNext +1) >= Pic.length) { // Cannot increment var pos. Thus restart from beginning. posNext = 0; } status_slideshow = 1; count_entry = 0; playSlideShow(); window.status='Starting Slide Show ... '+window.status; } } function playSlideShow() { if (Pic.length <= 0) { endSlideShow(); Alert("Error : Pic.length is less than or equal to 0."); return; } if (preLoad[posNext].src == "") { endSlideShow(); Alert("Error : preLoad[posNext].src is empty"); return; } if (! preLoad[posNext].complete) { // The next picture is not completely loaded. if (count_entry == 3) { // Already attempted 3 times. Abort. endSlideShow(); window.status='Slide show halted. Connection speed is too slow.'; Alert("Error : Connection speed is too slow for slide show."); } else { window.status='Loading Picture '+(posNext+1)+' of '+Pic.length+', '+Pic[posNext]; if (count_entry > 0) { window.status = window.status + ', '+count_entry; } if (t == -1) { t = window.setInterval('playSlideShow();', 3000); // alert("timer started"); } } count_entry++; } else { // The next picture has been completely loaded. // Show the next picture pos = posNext; count_entry = 0; changeSlide(); window.status='Showing Picture '+(pos+1)+' of '+Pic.length; if (status_slideshow != 0 && (posNext+1) < Pic.length) { // Slide show is being played. // Preload the next picture. posNext++; preLoadPic(posNext); if (t == -1) { // Although it is now in the slide show mode, but // the timer has not been started. Thus, start it. t = window.setInterval('playSlideShow();', 3000); } } else { // Slide show is not being played OR slide show has ended. if (status_slideshow != 0) { window.status=window.status+', '+'Slide Show Ended.'; } endSlideShow(); } if (status_slideshow == 0) { // Not in slide show mode. // Also preload the next and the prev photo if ((pos+1) < Pic.length) preLoadPic(pos+1); if (pos > 0) preLoadPic(pos-1); } } } function endSlideShow() { if (t != -1) { window.clearInterval(t); t = -1; } // window.status=''; status_slideshow = 0; } function changeSlide() { if (xIE4Up) { if (document.all) { //document.images.SlideShow.style.filter= "blendTrans(duration=crossFadeDuration)" document.all.SlideShow.style.filter="blendTrans(duration=1)"; document.all.SlideShow.filters.blendTrans.Apply(); } } writeInnerHTML(); if (xIE4Up) { if (document.all) { document.all.SlideShow.filters.blendTrans.Play(); } } displayComment(); return true; } function writeInnerHTML() { html = ""; html += "
\n";
html += " | \n";
html += "