function create() { this.width = '' this.height = '' this.src = '' this.href = '' this.border = '' this.mouseover = '' this.sponsor = '' } ads = new Array() for(var i=1; i<=8; i++) { ads[i] = new create() } ads[1].width = "550" ads[1].height = "400" ads[1].src = "http://urbanaffairs.unlv.edu/Advising/rotator/classroom2.jpg" ads[1].href = "#" ads[1].border = "0" ads[1].mouseover = "College of Urban Affairs Advising" ads[2].width = "550" ads[2].height = "400" ads[2].src = "http://urbanaffairs.unlv.edu/Advising/rotator/msu3.jpg" ads[2].href = "#" ads[2].border = "0" ads[2].mouseover = "College of Urban Affairs Advising" ads[3].width = "550" ads[3].height = "400" ads[3].src = "http://urbanaffairs.unlv.edu/Advising/rotator/classroom4.jpg" ads[3].href = "#" ads[3].border = "0" ads[3].mouseover = "College of Urban Affairs Advising" ads[4].width = "550" ads[4].height = "400" ads[4].src = "http://urbanaffairs.unlv.edu/Advising/rotator/library2.jpg" ads[4].href = "#" ads[4].border = "0" ads[4].mouseover = "College of Urban Affairs Advising" ads[5].width = "550" ads[5].height = "400" ads[5].src = "http://urbanaffairs.unlv.edu/Advising/rotator/classroom14.jpg" ads[5].href = "#" ads[5].border = "0" ads[5].mouseover = "College of Urban Affairs Advising" ads[6].width = "550" ads[6].height = "400" ads[6].src = "http://urbanaffairs.unlv.edu/Advising/rotator/classroom11.jpg" ads[6].href = "#" ads[6].border = "0" ads[6].mouseover = "College of Urban Affairs Advising" ads[7].width = "550" ads[7].height = "400" ads[7].src = "http://urbanaffairs.unlv.edu/Advising/rotator/sidewalk1.jpg" ads[7].href = "#" ads[7].border = "0" ads[7].mouseover = "College of Urban Affairs Advising" ads[8].width = "547" ads[8].height = "410" ads[8].src = "http://urbanaffairs.unlv.edu/Advising/rotator/advisinggroup.jpg" ads[8].href = "#" ads[8].border = "0" ads[8].mouseover = "College of Urban Affairs Advising" var n = Math.random() + '' n = parseInt(n.charAt(8)) if(n >8) { n = n - 8 } else if(n==0) { n = n + 8 } n += "" var image = ads[n] var ad = "" ad += ' \n' ad += '