function writeTrailerLog(trailerID,lessonID){bereichID=2
themaID=0
trailerLog="http://www.galileocomputing.de/trailer/trailerLog"+'?GalileoSession=24921753A4.y6i-YTxY'+'&bereichID='+bereichID+'&themaID='+themaID+'&trailerID='+trailerID+'&lessonID='+lessonID;top.frames.iframeWriteTrailerLog.document.location.href=trailerLog;}
function change_screen_trailer(pfad,breite,hoehe,scroll,windowName){if(screen.width<=800){if((breite+10)>screen.availWidth){breite=screen.availWidth-10;};if((hoehe+29)>screen.availHeight){hoehe=screen.availHeight-29;};screen_width=(screen.availWidth-breite-10)/2;screen_height=(screen.availHeight-hoehe-29)/2;screen_trailer=window.open(pfad,windowName,"width="+breite+", height="+hoehe+", top="+screen_height+", left="+screen_width+", scrollbars="+scroll);screen_trailer.focus();}
if(screen.width>800){screen_width=(screen.availWidth-breite-10)/2;screen_height=(screen.availHeight-hoehe-29)/2;screen_trailer=window.open(pfad,windowName,"width="+breite+", height="+hoehe+", top="+screen_height+", left="+screen_width+", scrollbars="+scroll);screen_trailer.focus();}}
function change_screen_trainerintro(pfad,breite,hoehe,scroll,windowName){screen_width=(screen.availWidth-breite-10)/2;screen_height=(screen.availHeight-hoehe-29)/2;screen_trailer=window.open(pfad,windowName,"width="+breite+", height="+hoehe+", top="+screen_height+", left="+screen_width+", scrollbars="+scroll);screen_trailer.focus();}

