PageSourceSearch

https://carasc.ch/popcal_js/j/go.js

js carasc.ch collected 2026-10-05 07:37:50 UTC 2,758 bytes, 105 lines download raw bytes

1function loadVar(step){
2 rf = document.calform;
3 id   = rf.id.value
4 what = rf.what.value
5 lang = rf.lang.value
6 ALL_tot_people= rf.ALL_tot_people.value
7 nights = rf.nights.value
8 StartDay = rf.StartDay.value
9 StartMonth = rf.StartMonth.value
10 StartYear = rf.StartYear.value
11 EndDay = rf.EndDay.value
12 EndMonth = rf.EndMonth.value
13 EndYear = rf.EndYear.value
14 if ( ! rf.selected_period ) {
15   selected_period='all'
16 }else{
17   selected_period= rf.selected_period.value
18 }
19 if ( step == 3 ) {
20    if (rf.lodge.checked) {
21      lodge=1
22    }else{
23      lodge=0
24    }
25    if (rf.camp.checked) {
26      camp=1
27    }else{
28      camp=0
29    }
30 }
31 if ( step == 4 ) {
32    address1 = rf.address1.value
33    address2 = rf.address2.value
34    NAP = rf.NAP.value
35    city = rf.city.value
36    mobile = rf.mobile.value
37    phone = rf.phone.value
38    fax = rf.fax.value
39    M_tot_boss = rf.M_tot_boss.value
40    M_tot_participants = rf.M_tot_participants.value
41    M_tot_attendant = rf.M_tot_attendant.value
42    F_tot_boss = rf.F_tot_boss.value
43    F_tot_participants = rf.F_tot_participants.value
44    F_tot_attendant = rf.F_tot_attendant.value
45    tot_10_15 = rf.tot_10_15.value
46    tot_15_20 = rf.tot_15_20.value
47    tot_20_plus = rf.tot_20_plus.value
48    if (rf.JS.checked) {
49      JS=1
50    }else{
51      JS=0
52    }
53 }
54
55 pstr = "id=" + id;
56 pstr += "&what=" + what;
57// pstr += "&email=" + email;
58// pstr += "&activation_code=" + activation_code;
59 pstr += "&selected_period=" + selected_period;
60 pstr += "&lang=" + lang;
61 pstr += "&ALL_tot_people=" + ALL_tot_people;
62 pstr += "&nights=" + nights;
63 pstr += "&StartDay=" + StartDay;
64 pstr += "&StartMonth=" + StartMonth;
65 pstr += "&StartYear=" + StartYear;
66 pstr += "&EndDay=" + EndDay;
67 pstr += "&EndMonth=" + EndMonth;
68 pstr += "&EndYear=" + EndYear;
69 pstr += "&selected_period=" + selected_period;
70 if ( step == 3 ) {
71  pstr += "&lodge=" + lodge
72  pstr += "&camp=" + camp
73 }
74 if ( step == 4 ) {
75  pstr += "&address1=" + address1
76  pstr += "&address2=" + address2
77  pstr += "&NAP=" + NAP
78  pstr += "&city=" + city
79  pstr += "&mobile=" + mobile
80  pstr += "&phone=" + phone
81  pstr += "&fax=" + fax
82  pstr += "&M_tot_boss=" + M_tot_boss
83  pstr += "&M_tot_participants=" + M_tot_participants
84  pstr += "&M_tot_attendant=" + M_tot_attendant
85  pstr += "&F_tot_boss=" + F_tot_boss
86  pstr += "&F_tot_participants=" + F_tot_participants
87  pstr += "&F_tot_attendant=" + F_tot_attendant
88  pstr += "&tot_10_15=" + tot_10_15
89  pstr += "&tot_15_20=" + tot_15_20
90  pstr += "&tot_20_plus=" + tot_20_plus
91  pstr += "&JS=" + JS
92} 
93if ( step == 3 ) {
94  pstr += "&step3=1";
95}else if ( step == 4 ) {
96  pstr += "&step4=1";
97}
98
99// pstr += "#atSel";
100 
101
102 loc="reservation.php?" + pstr;
103 if(IE){window.navigate(loc)}else{top.location=loc}
104 return true;
105}

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.