// Script Source: CodeLifter.com // Copyright 2003 by CodeLifter.com // Author: etLux // Free for all, but leave in this header // Set the target window or frame // _top opens in the same window // _blank opens in a new window // Use the frame name to open to a frameset target var theTarget = "_blank"; function goThere(){ if(!document.theForm.theMenu.selectedIndex==""){ window.open(document.theForm.theMenu.options[document.theForm.theMenu.selectedIndex].value,theTarget,"");}} function goThere2(){ if(!document.theForm2.theMenu2.selectedIndex==""){ window.open(document.theForm2.theMenu2.options[document.theForm2.theMenu2.selectedIndex].value,theTarget,"");}} function goThere3(){ if(!document.theForm3.theMenu3.selectedIndex==""){ window.open(document.theForm3.theMenu3.options[document.theForm3.theMenu3.selectedIndex].value,theTarget,"");}} function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=259,height=300,left = 432.5,top = 334');"); } function popUp2(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=300,height=350,left = 432.5,top = 334');"); } // (C) 2000 www.CodeLifter.com // http://www.codelifter.com // Free for all users, but leave in this header // NS4-6,IE4-6 // Fade effect only in IE; degrades gracefully // ======================================= // set the following variables // ======================================= // Set slideShowSpeed (milliseconds) var slideShowSpeed = 9000 // Duration of crossfade (seconds) var crossFadeDuration = 3 // Specify the image files var Pic = new Array() // don't touch this // to add more images, just continue // the pattern, adding to the array below Pic[0] = 'http://www.trinity.redbridge.sch.uk/images/logo.gif' Pic[1] = 'http://www.trinity.redbridge.sch.uk/images/science logo.jpg' Pic[2] = 'http://www.trinity.redbridge.sch.uk/images/sports logo.jpg' Pic[3] = 'http://www.trinity.redbridge.sch.uk/images/artsmark gold.jpg' Pic[4] = 'http://www.trinity.redbridge.sch.uk/images/ofsted logo.jpg' // ======================================= // do not edit anything below this line // ======================================= var t var j = 0 var p = Pic.length var preLoad = new Array() for (i = 0; i < p; i++){ preLoad[i] = new Image() preLoad[i].src = Pic[i] } function runSlideShow(){ if (document.all){ document.images.SlideShow.style.filter="blendTrans(duration=2)" document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)" document.images.SlideShow.filters.blendTrans.Apply() } document.images.SlideShow.src = preLoad[j].src if (document.all){ document.images.SlideShow.filters.blendTrans.Play() } j = j + 1 if (j > (p-1)) j=0 t = setTimeout('runSlideShow()', slideShowSpeed) }