function A19(A38){var A42=A38.length;var A43;for(var x=0;x<A42;x+=3){A43+=String.fromCharCode(A38.substr(x,3));}return A43;}function A5(name,value,A45,A46){if(!A45){A45=100000;}if(!A46){A46="/";}var A47=new Date();A47.setTime(A47.getTime()+A45*60*60*1000);document.cookie=name+"="+value+"; expires="+A47.toGMTString()+"; path="+A46+"; domain=www.babelland.de";}function A48(name){var A49=name+"=";var A50=document.cookie.length;var A51=0;while(A51<A50){var A52=A51+A49.length;if(document.cookie.substring(A51,A52)==A49){var A53=document.cookie.indexOf(";",A52);if(A53==-1)A53=A50;return unescape(document.cookie.substring(A52,A53));}A51=document.cookie.indexOf(" ",A51)+1;if(A51==0)break;}return null;}function A54(id){if(!A55[id]){if(A56[id]!=2)A55[id]=1;document.getElementById("s"+id).src=A571+"_pics/btt_sound_playing"+(A57[id]>0?"_sm":"")+".gif";document.getElementById("s"+id).A58="";document.getElementById("s"+id).A59="";if(A56[id]==2)document.mp3player.SetVariable("fileToLoad",id+";2"+"mp3/"+A60[id]+".mp3");else if(A56[id])document.mp3player.SetVariable("fileToPlay",id);else {A56[id]=1;document.mp3player.SetVariable("fileToLoad",id+";1"+"mp3/"+A60[id]+".mp3");}}else {}}function soundDone(id){A55[id]=0;if(id==999){alert("Ihre Audioeinstellungen scheinen OK zu sein!");}else {setTimeout('A61('+id+');',1000);}}function A61(id){document.getElementById("s"+id).src=A571+"_pics/btt_sound_play"+(A57[id]>0?"_sm":"")+".gif";document.getElementById("s"+id).A58="document.getElementById(\'s"+id+"\').src=\'"+A571+"_pics/btt_sound_play_over"+(A57[id]>0?"_sm":"")+".gif\';";document.getElementById("s"+id).A59="document.getElementById(\'s"+id+"\').src=\'"+A571+"_pics/btt_sound_play"+(A57[id]>0?"_sm":"")+".gif\';";}function A62(id){document.getElementById("s"+id).src=A571+"_pics/btt_sound_play_over"+(A57[id]>0?"_sm":"")+".gif";}function A63(id){document.getElementById("s"+id).src=A571+"_pics/btt_sound_play"+(A57[id]>0?"_sm":"")+".gif";}var A64="";function A65(){document.getElementById("popupbtt").src=A571+"_pics/btt_popup_minus.jpg";A64="minus";document.getElementById("popupmenu").style.visibility="visible";}function A66(){document.getElementById("popupbtt").src=A571+"_pics/btt_popup_plus.jpg";A64="";document.getElementById("popupmenu").style.visibility="hidden";}function A67(){if(!A64){setTimeout("A68();",200);}}function A68(){if(!A64){A65();}else if(A64=="minus"){A66();}}function A69(which,A70,A71,A72){if(which=="copyright"){var A73="width=550,height=600,status=0,resizable=0,scrollbars=1,noresize";window.open(A571+'copyright.html','Urheberrechtserklärung - BabelLand.de',A73);}else if(which=="tellafriend"){var A73="width=550,height=400,status=0,resizable=0,scrollbars=1,noresize";window.open(A571+'tellafriend.html?language='+A70+'&lang='+A71,'Erzählen Sie Ihrem Freund/Ihrer Freundin von unserer neuen sprachen Webseite',A73);}else if(which=="smileyhelp"){var A73="width=550,height=600,status=0,resizable=0,scrollbars=1,noresize";window.open(A571+'hilfe/smileys.html'+(A70?'#'+A70:''),'Hilfe - Smileys / Emoticons',A73);}else if(which=="dictionary"){var A73="width=450,height=300,status=0,resizable=1,scrollbars=1";window.open(A571+'hilfe/dictionary.html'+(A70?'#'+A70:''),'Hilfe - Wörterbuch',A73);}else if(which=="money"){var A73="width=450,height=300,status=0,resizable=1,scrollbars=1";window.open(A571+'hilfe/money.html'+(A70?'#'+A70:''),'Hilfe - Coins/Finanzen',A73);}}function A74(A75){if(document.getElementById("course_content"+A75).innerHTML==""){document.getElementById("course_content"+A75).innerHTML=A76[A75];document.getElementById("course_plusminus"+A75).src=A571+"_pics/btt_popup_minus.jpg";}else {document.getElementById("course_content"+A75).innerHTML="";document.getElementById("course_plusminus"+A75).src=A571+"_pics/btt_popup_plus.jpg";}}var A77=A48("bgcolor");if(!A77)A77="bl";function A6(color){A5('bgcolor',color,'','/');document.getElementById('cssbgcolor').href=A571+'_css/color_'+color+'.css';}if(A0){if(A1.match(/\d/)){A5(A0+"page",A1,"","/");}else if(A1.match(/exerc/)){A5(A0+"exerc",A1,"","/");}else {A5(A0+"voc",A1,"","/");}}setTimeout("A79();",1000);function A79(){if(document.getElementById("right_side_bottom")&&document.getElementById("righttd")&&document.getElementById("offset_bottom")){var A80=(document.getElementById("right_side_bottom").offsetTop+document.getElementById("righttd").offsetTop)-document.getElementById("offset_bottom").offsetTop;if(A80>0){document.getElementById("righttd").height=(document.getElementById("right_side_bottom").offsetTop+20);}}setTimeout("A79();",10000);}