var plpix = new Array(); var pllinx = new Array();
plpix[0] = '/images/10_fallchildren.jpg'; pllinx[0] = '/youth/kids/whats_happening.htm ';
plpix[1] = '/images/10_fall_teens.jpg'; pllinx[1] = '/youth/teens/whats_happening.htm';
plpix[2] = '/images/compclasses.jpg'; pllinx[2] = '/reading_resources/classes.htm';
plpix[3] = '/images/10_volunteen.jpg'; pllinx[3] = '/youth/teens/get_involved.htm#Library';
var pl = new Array(); for (i = 0; i < plpix.length; i++) {pl[i] = new Image(); pl[i].src = plpix[i];} var x = 1; var y = 8000; var z = 1; var tid; var lxn = pllinx[0]; function slide() {if (plpix.length > 1) {var hx = document.images.home_1; if (document.all){hx.style.filter='blendTrans(duration=' + z + ')'; hx.filters.blendTrans.Apply();} hx.src = pl[x].src; if (document.all){hx.filters.blendTrans.Play();} lxn = pllinx[x]; x += 1; if (x > (plpix.length-1)) {x=0;} tid = setTimeout('slide()', y);}} function golxn() {top.window.location = lxn;} function slideprev() {if (plpix.length > 1) {clearTimeout(tid); x -= 1; if (x < 0) {x = plpix.length-1;} x -= 1; if (x < 0) {x = plpix.length-1;} slide();}} function slidenext() {if (plpix.length > 1) {clearTimeout(tid); slide();}}