//Creates a random displaying image

imgs = new Array("/images/graffiti/graffiti-38million.gif","UCLA is owned by the people of California. All 38 million. HERE. NOW.", "/images/graffiti/graffiti-createit.gif","They do more than pass out knowledge around here. They create it. HERE. NOW.", "/images/graffiti/graffiti-future.gif","You think the future’s exciting? Wait ‘til you see what we did today. HERE. NOW.", "/images/graffiti/graffiti-typical.gif","There is no typical UCLA student or faculty member. The only common deominator is an appetite for excellence. HERE. NOW.", "/images/graffiti/graffiti-nobody.gif","Nobody at UCLA keeps score on who you are. They just want to see what you do. HERE. NOW.")
function randNum(num) {
var now = new Date();
var rand = Math.round(num * Math.cos(now.getTime()));
if (rand < 0) rand = - rand; if (rand == 0) rand++;
return (rand-1);
}
var n = randNum(imgs.length/2);
n += ""
var directory = imgs[n*2];
var caption = imgs[n*2 +1];
var graffiti = "";
graffiti += '<img src="' + directory + '" alt="' + caption + '" width="580" height="83" border="0" />';

document.write(graffiti);











