<%@page import="java.util.Random"%> <% String logo=""; String menu=""; String mobile=""; String music=""; Random x = new Random(); switch(x.nextInt(5)) { case 0: logo="/img/home1.jpg"; break; case 1: logo="/img/home2.jpg"; break; case 2: logo="/img/home3.jpg"; break; case 3: logo="/img/home4.jpg"; break; case 4: logo="/img/home5.jpg"; break; } Random y = new Random(); switch(y.nextInt(3)) { case 0: menu="/img/nav1home_sr.jpg"; break; case 1: menu="/img/nav2home_sr.jpg"; break; case 2: menu="/img/nav3home_sr.jpg"; break; } Random m = new Random(); switch(m.nextInt(3)) { case 0: mobile="/img/mobile1txt.jpg"; break; case 1: mobile="/img/mobile2txt.jpg"; break; case 2: mobile="/img/mobile3txt.jpg"; break; } Random n = new Random(); switch(n.nextInt(4)) { case 0: music="/img/music1txt.jpg"; break; case 1: music="/img/music2txt.jpg"; break; case 2: music="/img/music3txt.jpg"; break; case 3: music="/img/music4txt.jpg"; break; } %> :: GINGER ::
Ginger RCA, Terazije 12/2, 11000 Beograd, SCG, t: 381 11 3618 983; f: 381 11 2 685 970, e: office@ginger.rs