10 function randomElement(array) {
11 return array[Math.floor(Math.random() * array.length)];
15 return (typeof window.orientation !== 'undefined');
21 image: "http://ddragon.leagueoflegends.com/cdn/img/champion/" + (getType() ? "loading/" : "splash/") + randomElement(redSkins) + ".jpg",
30 regions: [ "EUW", "NA" ],
33 { text: "No.", name: "no" },
34 { text: "Queue", name: "qu" },
35 { text: "Champion", name: "ch" },
36 { text: "Result", name: "rs" },
37 { text: "Duration", name: "du" },
38 { text: "Date", name: "da" }
42 showNextPanel: function() {
43 start.visible = false;