/* var mov_win_wdth = "920"; var mov_win_hght_bg = "675"; var mov_win_hght_sml = "445"; var player_pageURL = "player_final.html"; var player_URL = "cyber_player.html"; var width_man = "1024"; var height_man = "676"; */ var mov_win_wdth = screen.width; var mov_win_hght_bg = screen.height; var mov_win_hght_sml = screen.height; var player_pageURL = "cyber_player.html"; var player_URL = "cyber_player.html"; var width_man = screen.width; var height_man = screen.height; function sample_open(brand,note){ var note; theURL = 'http://cyber.languagetown.com/'+player_pageURL+'?brand='+brand; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function sample_open4(brand,note){ var note; theURL = 'http://cyber.languagetown.com/player_final_intro1.html?brand='+brand; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function movie_open(brand,note, no){ var note; theURL = 'http://cyber.languagetown.com/'+player_pageURL+'?brand='+brand+'&no=' + no +'¬e=' + note; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function movie_open_intro(brand,note, no){ var note; theURL = 'http://cyber.languagetown.com/'+player_URL+'?brand='+brand+'&no=' + no +'¬e=' + note; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function movie_open_intro2(brand,note, no){ var note; theURL = 'http://cyber.languagetown.com/player_final_intro1.html?brand='+brand+'&no=' + no +'¬e=' + note; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function sample_open3(brand,lec_note){ var brand,lec_note; theURL = 'http://cyber.languagetown.com/player_final2.html?brand='+brand+'&lec_note='+lec_note; window.open(theURL,'dreampop2','width=986,height=615,resizable=no'); } function sample_open_test(brand,note){ var note; theURL = 'http://lecture.languagetown.com/player_final_test.html?brand='+brand; if(note == "Y"){ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_bg+',resizable=no,status=no,scrollbars=yes'); }else{ window.open(theURL,'dreampop','left=0,top=0,width='+mov_win_wdth+',height='+mov_win_hght_sml+',resizable=no,status=no,scrollbars=yes'); } } function sample_open2(pcode,Mov_No){ var note; theURL = 'http://movielang.languagetown.com/movie_player_new2.html?sample_ok=Y&pcode='+pcode+'&no='+Mov_No; window.open(theURL,'dreampop','left=0,top=0,width='+width_man+',height='+height_man+',resizable=no,status=no,scrollbars=yes'); } function openWindow(theURL,winName){ pop_win = window.open(theURL,winName,'fullscreen,scrollbars=no'); pop_win.focus(); } function icookie_open(brand,addr,No,note){ var addr = "/HTML1"; var note; if(brand == "0300012" || brand == "0500027"){ // drag note = "/PLAY/DRAG01.HTML"; }else if(brand == "0300013" || brand == "0500012"){ // puzzle,color note = "/PLAY/COLOR01.HTML"; }else if(brand == "0300014" || brand == "0500028"){ // book note = "/EBOOK/BOOK.HTML"; }else if(brand == "0300015" || brand == "0500029"){ // concenturation note = "/PLAY/CONCEN.HTML"; }else if(brand == "0300016" || brand == "0500030"){ // sentence note = "/MAKE/MAKE.HTML"; } theURL = 'http://cyber.languagetown.com/data3/html/icookie'+addr+note; openWindow(theURL,'pop'); } function icookie_open2(brand,addr,No,note) { theURL = 'http://cyber.languagetown.com/data3/html/icookie'+addr+note; var No; openWindow(theURL,'pop'); }