<HEAD><TITLE>Oversttelse 2</TITLE> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <META content="Oversttelse 2" name=DC.Title> <META content="" name=DC.Creator> <META content="" name=DC.Subject> <META content="" name=DC.Description> <META content="VUC Roskilde Amt" name=DC.Publisher> <META content=15-09-2007 name=DC.Date> <META content=text/html name=DC.Format> <META content=dk name=DC.Language> <META content="" name=DC.Relation> <META content="Copyright 2007 VUC Roskilde Amt" name=DC.Rights><LINK href="css/skablet.css" type=text/css rel=STYLESHEET> <META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD> <BODY style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <TABLE style="FONT-SIZE: 10pt" width=600 align=center> <TBODY> <TR> <TD> <H3>Oversttelse&nbsp;3 </H3> <P>Du skal ikke stte nogen tegn i denne velse, men husk at starte hver stning med stort bogstav - ellers fr du fejl. Der er ogs andre ord, der skal med stort. </P> <FORM name=Indsaet action="">Jeg kber blomster <INPUT type=hidden value="Ich kaufe Blumen" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=16 name=Tekst0><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Hvornr kommer de <INPUT type=hidden value="Wann kommen sie" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=15 name=Tekst1><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Jeg arbejder ikke <INPUT type=hidden value="Ich arbeite nicht" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=17 name=Tekst2><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Mit fornavn er Anita <INPUT type=hidden value="Mein Vorname ist Anita" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=22 name=Tekst3><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>God morgen <INPUT type=hidden value="Guten Morgen" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=12 name=Tekst4><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Vi bor i Bremen <INPUT type=hidden value="Wir wohnen in Bremen" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" name=Tekst5><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Bor du i Frankfurt <INPUT type=hidden value="Wohnst du in Frankfurt" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=22 name=Tekst6><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Hvor gammel er De <INPUT type=hidden value="Wie alt sind Sie" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=16 name=Tekst7><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Klokken er 5 <INPUT type=hidden value="Es ist 5 Uhr" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=12 name=Tekst8><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR><BR>Hvem er det <INPUT type=hidden value="Wer ist das" name=RigtigtSvar><INPUT style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" size=11 name=Tekst9><SPAN>&nbsp;&nbsp;&nbsp;</SPAN> <BR></FORM> <P><BUTTON id=check onclick="Rettelse();return false;">KONTROLLIEREN</BUTTON> <SPAN id=smiley style="VISIBILITY: hidden">J</SPAN> </P></TD></TR></TBODY></TABLE> <SCRIPT type=text/javascript> var PPoint=0; var total="10" function Rettelse() { var e=0; PPoint=0; var tegn = document.forms["Indsaet"].getElementsByTagName("span"); var inputs = document.getElementsByTagName("input"); for (var i=0;i<inputs.length;i++) if ( inputs.item(i).type=="text") { if (isEqualValues(trim(inputs.item(i).value),inputs.item(i-1).value)) { (tegn.item(e)).style.fontSize="20"; (tegn.item(e)).style.color="#008000"; (tegn.item(e)).innerHTML="<font face=Wingdings>\u00FC</font>"; inputs.item(i).title = ""; PPoint++; } else if (inputs.item(i).value != "") { (tegn.item(e)).style.fontSize="20"; (tegn.item(e)).style.color="#FF0000"; inputs.item(i).value="";(tegn.item(e)).innerHTML="<font face=Wingdings>\u00FB</font>"; inputs.item(i).title = inputs.item(i-1).value; }; e++; } PPoint=Math.round(100*PPoint/total) if (PPoint==100) sml = "J" else sml = "L" document.getElementById("smiley").style.visibility="visible"; document.getElementById("smiley").innerHTML= "<font face='Wingdings' size='6'>" + sml + "<\/font>"; } function isEqualValues(v1,v2){ var nv1=v1.replace(/,/g, "."); var nv2=v2.replace(/,/g, "."); if(isFinite(nv1)) return parseFloat(nv1)==parseFloat(nv2) else return v1==v2; } function trim(s){ return s.replace(/^\s+/,'').replace(/\s+$/,''); } </SCRIPT> </BODY>