There are total 64 pages. Sending request for (int)(Math.random() * 64 th page. Thats all... Back ground color is also generating with random function. Good attempt to study the basics of web programming...
Then what about Karl max? I think there is no google doodle for him till now. And also I told because they don't have any doodle yesterday. so they can put one.