var browser=false;

if((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>=3))

browser=true;



if (browser){

var object=new Array();



object[1]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 1 ||");

object[2]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 2 ||");

object[3]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 3 ||");

object[4]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 4 ||");

object[5]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 5 ||");

object[6]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 6 ||");

object[7]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 7 ||");

object[8]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 8 ||");

object[9]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 9 ||");

object[10]= new
objectdata(40,40,"correct.gif","incorrec.gif","|| Question 10 ||");


//

}


function objectdata(hsize,vsize,isTrueImg,isFalseImg,mess)

{if(browser) 

{                this.mess=mess;
                        this.simg=new Image(hsize,vsize);
                        this.simg.src=isTrueImg;
                        this.rimg=new Image(hsize,vsize);
                        this.rimg.src=isFalseImg;     }}

function makeTrue(questionNum)
{if(browser) 
{window.status=object[questionNum].mess;
document[questionNum].src=object[questionNum].simg.src;}} 

function makeFalse(questionNum)
{if(browser) 
{window.status=object[questionNum].mess;
document[questionNum].src=object[questionNum].rimg.src;}} 


// End of JavaScript -->

<!-- 

// JavaScript for Quiz and Quiz Scoring


var ans = new Array;
var done = new Array;
var score = 0;


// 

ans[1] = "c";
ans[2] = "d";
ans[3] = "b";
ans[4] = "a";
ans[5] = "d";
ans[6] = "d";
ans[7] = "d";
ans[8] = "a";
ans[9] = "d";
ans[10] = "a";


function Engine(question, answer) {

        if (answer != ans[question]) {
                if (!done[question]) {
                        done[question] = -1;
                        makeFalse(question);
                        }
                else {
                        alert("Du hast nur eine Chance!");
                        }
                }
        else {
                if (!done[question]) {
                        done[question] = -1;
                        score++;
                        makeTrue(question);
                        }
                else {          
                        alert("Du hast schon geantwortet!");
                        }
                }
}

function display() {
      
       if (score==10) {
       alert("10! Alles richtig!!") }

       else if (score==0) {
       alert("0 Punkte! So nicht!") }

       else if ((score < 5) && (score!=0)) {
       alert("Du kannst doch mehr als" + score + " Punkte!");}

        else if ((score >=5) && (score!=10)) {
        alert("Ganz gut mit " + score + " Punkten");}

}
        

function reloadIt() {
       history.go(0)}

//-->
    


