function getNewQuiz() {
//macit();
do {
rptcheck=0;
if (level==1){
scr=Math.floor((22) * Math.random() + 350);
}
else if (level==2) {
scr=Math.floor((26) * Math.random() + 380);
}
else {
scr=Math.floor((16) * Math.random() + 410);
}
for (x=0; x<10; x++) {
if (parseInt(repeater[x])==parseInt(scr)){
rptcheck=1;
}
}
} while (rptcheck==1);
repeater[rptcount]=scr;
if (rptcount==9){
rptcount=0;
}
else {
rptcount++;
}
var myurl="sets/geometry" + scr.toString() +".php";
myRand = parseInt(Math.random()*999999999999999);
var modurl = myurl+"?rand="+myRand;
modurl = modurl+"&level="+level;
http.open("GET", modurl, true);
http.onreadystatechange = useHttpResponse;
http.send(null);
}