Bulls "Paint the Town" to tip-off 2008.09 season

var width = 600; var height = 400; var imgAr1 = new Array(); var rImg1 = new Array();

for(var j = 0; j < imgAr1.length; j++) { rImg1[j] = new Image(); rImg1[j].src = imgAr1[j]; }

document.onload = setting();

var slide; function setting() { slide = document.getElementById('pic'); slide.src = imgAr1[0]; slide.setAttribute("width",width); slide.setAttribute("height",height); }

//Image or picture slide show using java script //slideshow function var picture = 0; function slideshow(){ if(picture 0 ){ picture=picture-1; slide.src = imgAr1[picture]; } }

function start(){ slide.src = imgAr1[0]; picture = 0; }

function end(){ slide.src = imgAr1[imgAr1.length-1]; picture = imgAr1.length-1 } // Photograph fade-in script // Written by:https://brainerror.net/scripts/javascript/blendtrans/ function opacity(id, opacStart, opacEnd, millisec) { //speed for each frame var speed = Math.round(millisec / 100); var timer = 0;

//determine the direction for the blending, if start and end are the same nothing happens if(opacStart > opacEnd) { for(i = opacStart; i >= opacEnd; i--) { setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; } } else if(opacStart < opacEnd) { for(i = opacStart; i <= opacEnd; i++) { setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); timer++; } } }

//change the opacity for different browsers function changeOpac(opacity, id) { var object = document.getElementById(id).style; object.opacity = (opacity / 100); object.MozOpacity = (opacity / 100); object.KhtmlOpacity = (opacity / 100); object.filter = "alpha(opacity=" + opacity + ")"; }