1function submit_form(form_id) 2{ 3 4if (form_id == "GSbook1") { 5 $("#ship2").remove(); 6 $("#ship3").remove(); 7} 8if (form_id == "GSbook2") { 9 $("#ship1").remove(); 10 $("#ship3").remove(); 11} 12if (form_id == "GSbook3") { 13 $("#ship1").remove(); 14 $("#ship2").remove(); 15} 16 17document.getElementById(form_id).submit(); 18} 19function submit_form_essay(s) { 20 "4_essay" == s ? document.getElementById("4_essay_form").submit() : "8_essay" == s ? document.getElementById("8_essay_form").submit() : "16_essay" == s && document.getElementById("16_essay_form").submit() 21} 22 23function submit_form_gs(s) { 24 "gs_1" == s ? document.getElementById("gs_form_1").submit() : "gs_2" == s ? document.getElementById("gs_form_2").submit() : "gs_3" == s ? document.getElementById("gs_form_3").submit() : "gs_4" == s ? document.getElementById("gs_form_4").submit() : "gs_5" == s && document.getElementById("gs_form_5").submit() 25} 26 27function submit_form_bonuslive(s) { 28 "bonuslive_1" == s ? document.getElementById("bonuslive_1_form").submit() : "bonuslive_2" == s ? document.getElementById("bonuslive_2_form").submit() : "bonuslive_3" == s ? document.getElementById("bonuslive_3_form").submit() : "bonuslive_4" == s ? document.getElementById("bonuslive_4_form").submit() : "bonuslive_5" == s && document.getElementById("bonuslive_5_form").submit() 29} 30 31function submit_form_scienced2(s) { 32 "scienced2_live1" == s ? document.getElementById("scienced2_live1_form").submit() : "scienced2_live2" == s ? document.getElementById("scienced2_live2_form").submit() : "scienced2_live3" == s ? document.getElementById("scienced2_live3_form").submit() : "scienced2_live4" == s ? document.getElementById("scienced2_live4_form").submit() : "scienced2_live5" == s && document.getElementById("scienced2_live5_form").submit() 33} 34 35function submit_form_scienced3(s) { 36 "scienced3_live1" == s ? document.getElementById("scienced3_live1_form").submit() : "scienced3_live2" == s ? document.getElementById("scienced3_live2_form").submit() : "scienced3_live3" == s ? document.getElementById("scienced3_live3_form").submit() : "scienced3_live4" == s ? document.getElementById("scienced3_live4_form").submit() : "scienced3_live5" == s && document.getElementById("scienced3_live5_form").submit() 37} 38 39function submit_form_practiced1(s) { 40 "practiced1_live1" == s ? document.getElementById("practiced1_live1_form").submit() : "practiced1_live2" == s ? document.getElementById("practiced1_live2_form").submit() : "practiced1_live3" == s ? document.getElementById("practiced1_live3_form").submit() : "practiced1_live4" == s ? document.getElementById("practiced1_live4_form").submit() : "practiced1_live5" == s && document.getElementById("practiced1_live5_form").submit() 41} 42 43function submit_form_practiced2(s) { 44 "practiced2_live1" == s ? document.getElementById("practiced2_live1_form").submit() : "practiced2_live2" == s ? document.getElementById("practiced2_live2_form").submit() : "practiced2_live3" == s ? document.getElementById("practiced2_live3_form").submit() : "practiced2_live4" == s ? document.getElementById("practiced2_live4_form").submit() : "practiced2_live5" == s && document.getElementById("practiced2_live5_form").submit() 45} 46 47function submit_form_practiced2(s) { 48 "practiced2_live1" == s ? document.getElementById("practiced2_live1_form").submit() : "practiced2_live2" == s ? document.getElementById("practiced2_live2_form").submit() : "practiced2_live3" == s ? document.getElementById("practiced2_live3_form").submit() : "practiced2_live4" == s && document.getElementById("practiced2_live4_form").submit() 49} 50 51function submit_form_practiced3(s) { 52 "practiced3_live1" == s ? document.getElementById("practiced3_live1_form").submit() : "practiced3_live2" == s ? document.getElementById("practiced3_live2_form").submit() : "practiced3_live3" == s ? document.getElementById("practiced3_live3_form").submit() : "practiced3_live4" == s && document.getElementById("practiced3_live4_form").submit() 53} 54 55function submit_form_2ndpractice(s) { 56 "2ndpractice_live1" == s ? document.getElementById("2ndpractice_live1_form").submit() : "2ndpractice_live2" == s ? document.getElementById("2ndpractice_live2_form").submit() : "2ndpractice_live3" == s ? document.getElementById("2ndpractice_live3_form").submit() : "2ndpractice_live4" == s ? document.getElementById("2ndpractice_live4_form").submit() : "2ndpractice_live5" == s && document.getElementById("2ndpractice_live5_form").submit() 57} 58 59/***********gs books************/ 60function submit_form_gsbooks(s) { 61 "GSbook1" == s ? document.getElementById("GSbook1_form").submit() : "GSbook2" == s ? document.getElementById("GSbook2_form").submit() : "GSbook3" == s ? document.getElementById("GSbook3_form").submit() : "GSbookAll" == s ? document.getElementById("GSbookAll_form").submit() : "2ndpractice_live5" == s && document.getElementById("GSbookAll_form").submit() 62} 63/********intrapage***********/ 64 //var shiftWindow = function() { scrollBy(0, -50) }; 65 //window.addEventListener("hashchange", shiftWindow); 66 //function load() { if (window.location.hash) shiftWindow(); } 67 68/***********gs live course************/ 69function submit_form_GSlivescience(s) { 70 "GSlivescience1" == s ? document.getElementById("GSlivescience1_form").submit() : "GSlivescience2" == s ? document.getElementById("GSlivescience2_form").submit() : "GSlivescience3" == s ? document.getElementById("GSlivescience3_form").submit() : "GSlivescience4" == s ? document.getElementById("GSlivescience4_form").submit() : "GSlivescience5" == s ? document.getElementById("GSlivescience5_form").submit() : "GSlivescience6" == s && document.getElementById("GSlivescience6_form").submit() 71} 72 73function submit_form_GSpractice(s) { 74 "GSpractice1" == s ? document.getElementById("GSpractice1_form").submit() : "GSpractice2" == s ? document.getElementById("GSpractice2_form").submit() : "GSpractice3" == s ? document.getElementById("GSpractice3_form").submit() : "GSpractice4" == s ? document.getElementById("GSpractice4_form").submit() : "GSpractice5" == s ? document.getElementById("GSpractice5_form").submit() : "GSpractice6" == s ? document.getElementById("GSpractice6_form").submit() : "GSpractice7" == s && document.getElementById("GSpractice7_form").submit() 75} 76 77$(function () { 78 $('[data-toggle="tooltip"]').tooltip() 79})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.