PageSourceSearch

https://jugamostodos.org/modules/mod_s5_tab_show/s5_tab_show/s5_tab_show.js

js jugamostodos.org collected 2026-10-01 11:25:15 UTC 33,240 bytes, 530 lines download raw bytes

1var s5_tab_show_started = "no";
2
3function s5_tab_show_start() {
4if (s5_tab_show_started == "no") {
5s5_tab_show_started = "yes";
6	//Give a unique ID to each outer wrap
7	var s5_tab_show_mark_outer_id_counter = 1;
8	var s5_tab_show_mark_outer_id = document.getElementsByTagName("DIV");
9	for (var s5_tab_show_mark_outer_id_y=0; s5_tab_show_mark_outer_id_y<s5_tab_show_mark_outer_id.length; s5_tab_show_mark_outer_id_y++) {
10		if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].className == "s5_tab_show_outer_wrap") {
11			if (s5_tab_show_mark_outer_id_counter == 1) {
12				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
13				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
14				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
15				if (s5_tab_show_duration != "disabled") {
16				s5_tab_show_duration = s5_tab_show_duration * 1000;
17				}
18				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
19				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
20				if (s5_tab_show_duration != "disabled") {
21				var s5_tab_show_outer_wrap_id1 = setInterval(s5_tab_show_outer_wrap_id1_interval, s5_tab_show_duration);
22				function s5_tab_show_outer_wrap_id1_clear() { clearInterval(s5_tab_show_outer_wrap_id1); }
23				function s5_tab_show_outer_wrap_id1_set() { s5_tab_show_outer_wrap_id1 = setInterval(s5_tab_show_outer_wrap_id1_interval, s5_tab_show_duration); }
24				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
25					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id1_clear);
26					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id1_set);
27				}
28				}
29			}
30			else if (s5_tab_show_mark_outer_id_counter == 2) {
31				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
32				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
33				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
34				if (s5_tab_show_duration != "disabled") {
35				s5_tab_show_duration = s5_tab_show_duration * 1000;
36				}
37				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
38				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
39				if (s5_tab_show_duration != "disabled") {
40				var s5_tab_show_outer_wrap_id2 = setInterval(s5_tab_show_outer_wrap_id2_interval, s5_tab_show_duration);
41				function s5_tab_show_outer_wrap_id2_clear() { clearInterval(s5_tab_show_outer_wrap_id2); }
42				function s5_tab_show_outer_wrap_id2_set() { s5_tab_show_outer_wrap_id2 = setInterval(s5_tab_show_outer_wrap_id2_interval, s5_tab_show_duration); }
43				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
44					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id2_clear);
45					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id2_set);
46				}
47				}
48			}
49			else if (s5_tab_show_mark_outer_id_counter == 3) {
50				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
51				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
52				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
53				if (s5_tab_show_duration != "disabled") {
54				s5_tab_show_duration = s5_tab_show_duration * 1000;
55				}
56				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
57				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
58				if (s5_tab_show_duration != "disabled") {
59				var s5_tab_show_outer_wrap_id3 = setInterval(s5_tab_show_outer_wrap_id3_interval, s5_tab_show_duration);
60				function s5_tab_show_outer_wrap_id3_clear() { clearInterval(s5_tab_show_outer_wrap_id3); }
61				function s5_tab_show_outer_wrap_id3_set() { s5_tab_show_outer_wrap_id3 = setInterval(s5_tab_show_outer_wrap_id3_interval, s5_tab_show_duration); }
62				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
63					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id3_clear);
64					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id3_set);
65				}
66				}
67			}
68			else if (s5_tab_show_mark_outer_id_counter == 4) {
69				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
70				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
71				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
72				if (s5_tab_show_duration != "disabled") {
73				s5_tab_show_duration = s5_tab_show_duration * 1000;
74				}
75				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
76				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
77				if (s5_tab_show_duration != "disabled") {
78				var s5_tab_show_outer_wrap_id4 = setInterval(s5_tab_show_outer_wrap_id4_interval, s5_tab_show_duration);
79				function s5_tab_show_outer_wrap_id4_clear() { clearInterval(s5_tab_show_outer_wrap_id4); }
80				function s5_tab_show_outer_wrap_id4_set() { s5_tab_show_outer_wrap_id4 = setInterval(s5_tab_show_outer_wrap_id4_interval, s5_tab_show_duration); }
81				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
82					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id4_clear);
83					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id4_set);
84				}
85				}
86			}
87			else if (s5_tab_show_mark_outer_id_counter == 5) {
88				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
89				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
90				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
91				if (s5_tab_show_duration != "disabled") {
92				s5_tab_show_duration = s5_tab_show_duration * 1000;
93				}
94				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
95				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
96				if (s5_tab_show_duration != "disabled") {
97				var s5_tab_show_outer_wrap_id5 = setInterval(s5_tab_show_outer_wrap_id5_interval, s5_tab_show_duration);
98				function s5_tab_show_outer_wrap_id5_clear() { clearInterval(s5_tab_show_outer_wrap_id5); }
99				function s5_tab_show_outer_wrap_id5_set() { s5_tab_show_outer_wrap_id5 = setInterval(s5_tab_show_outer_wrap_id5_interval, s5_tab_show_duration); }
100				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
101					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id5_clear);
102					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id5_set);
103				}
104				}
105			}
106			else if (s5_tab_show_mark_outer_id_counter == 6) {
107				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
108				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
109				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
110				if (s5_tab_show_duration != "disabled") {
111				s5_tab_show_duration = s5_tab_show_duration * 1000;
112				}
113				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
114				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
115				if (s5_tab_show_duration != "disabled") {
116				var s5_tab_show_outer_wrap_id6 = setInterval(s5_tab_show_outer_wrap_id6_interval, s5_tab_show_duration);
117				function s5_tab_show_outer_wrap_id6_clear() { clearInterval(s5_tab_show_outer_wrap_id6); }
118				function s5_tab_show_outer_wrap_id6_set() { s5_tab_show_outer_wrap_id6 = setInterval(s5_tab_show_outer_wrap_id6_interval, s5_tab_show_duration); }
119				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
120					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id6_clear);
121					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id6_set);
122				}
123				}
124			}
125			else if (s5_tab_show_mark_outer_id_counter == 7) {
126				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
127				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
128				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
129				if (s5_tab_show_duration != "disabled") {
130				s5_tab_show_duration = s5_tab_show_duration * 1000;
131				}
132				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
133				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
134				if (s5_tab_show_duration != "disabled") {
135				var s5_tab_show_outer_wrap_id7 = setInterval(s5_tab_show_outer_wrap_id7_interval, s5_tab_show_duration);
136				function s5_tab_show_outer_wrap_id7_clear() { clearInterval(s5_tab_show_outer_wrap_id7); }
137				function s5_tab_show_outer_wrap_id7_set() { s5_tab_show_outer_wrap_id7 = setInterval(s5_tab_show_outer_wrap_id7_interval, s5_tab_show_duration); }
138				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
139					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id7_clear);
140					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id7_set);
141				}
142				}
143			}
144			else if (s5_tab_show_mark_outer_id_counter == 8) {
145				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
146				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
147				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
148				if (s5_tab_show_duration != "disabled") {
149				s5_tab_show_duration = s5_tab_show_duration * 1000;
150				}
151				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
152				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
153				if (s5_tab_show_duration != "disabled") {
154				var s5_tab_show_outer_wrap_id8 = setInterval(s5_tab_show_outer_wrap_id8_interval, s5_tab_show_duration);
155				function s5_tab_show_outer_wrap_id8_clear() { clearInterval(s5_tab_show_outer_wrap_id8); }
156				function s5_tab_show_outer_wrap_id8_set() { s5_tab_show_outer_wrap_id8 = setInterval(s5_tab_show_outer_wrap_id8_interval, s5_tab_show_duration); }
157				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
158					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id8_clear);
159					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id8_set);
160				}
161				}
162			}
163			else if (s5_tab_show_mark_outer_id_counter == 9) {
164				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
165				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
166				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
167				if (s5_tab_show_duration != "disabled") {
168				s5_tab_show_duration = s5_tab_show_duration * 1000;
169				}
170				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
171				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
172				if (s5_tab_show_duration != "disabled") {
173				var s5_tab_show_outer_wrap_id9 = setInterval(s5_tab_show_outer_wrap_id9_interval, s5_tab_show_duration);
174				function s5_tab_show_outer_wrap_id9_clear() { clearInterval(s5_tab_show_outer_wrap_id9); }
175				function s5_tab_show_outer_wrap_id9_set() { s5_tab_show_outer_wrap_id9 = setInterval(s5_tab_show_outer_wrap_id9_interval, s5_tab_show_duration); }
176				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
177					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id9_clear);
178					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id9_set);
179				}
180				}
181			}
182			else if (s5_tab_show_mark_outer_id_counter == 10) {
183				var s5_tab_show_unique_id = s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.substr(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id.length - 10);
184				var s5_tab_show_duration_id = "s5_tab_show_duration_id" + s5_tab_show_unique_id;
185				var s5_tab_show_duration = document.getElementById(s5_tab_show_duration_id).innerHTML;
186				if (s5_tab_show_duration != "disabled") {
187				s5_tab_show_duration = s5_tab_show_duration * 1000;
188				}
189				s5_tab_show_unique_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
190				s5_tab_show_trigger_slide_transition(s5_tab_show_unique_id);
191				if (s5_tab_show_duration != "disabled") {
192				var s5_tab_show_outer_wrap_id10 = setInterval(s5_tab_show_outer_wrap_id10_interval, s5_tab_show_duration);
193				function s5_tab_show_outer_wrap_id10_clear() { clearInterval(s5_tab_show_outer_wrap_id10); }
194				function s5_tab_show_outer_wrap_id10_set() { s5_tab_show_outer_wrap_id10 = setInterval(s5_tab_show_outer_wrap_id10_interval, s5_tab_show_duration); }
195				if (s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].innerHTML.indexOf("5_tab_show_pause_onhover_enabled") >= 0) {
196					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseover", s5_tab_show_outer_wrap_id10_clear);
197					document.getElementById(s5_tab_show_mark_outer_id[s5_tab_show_mark_outer_id_y].id).addEventListener("mouseout", s5_tab_show_outer_wrap_id10_set);
198				}
199				}
200			}
201			s5_tab_show_mark_outer_id_counter = s5_tab_show_mark_outer_id_counter + 1;
202		}
203	}
204	window.onresize = function(event) {
205		s5_tab_show_resize();
206	};
207}
208}
209
210function s5_tab_show_trigger_slide_transition(s5_tab_show_clicked_id) {
211	var s5_tab_show_unique_id = s5_tab_show_clicked_id.substr(s5_tab_show_clicked_id.length - 10);
212	var s5_tab_show_slides_wrap_id = "s5_tab_show_slides_wrap_id" + s5_tab_show_unique_id;
213	var s5_tab_show_outer_wrap_id = "s5_tab_show_outer_wrap_id" + s5_tab_show_unique_id;
214	var s5_tab_show_slide_id = s5_tab_show_clicked_id.split('_');
215	s5_tab_show_slide_id = s5_tab_show_slide_id[3];
216	s5_tab_show_slide_id = s5_tab_show_slide_id.replace(/\D/g,'');
217	s5_tab_show_slide_transition(s5_tab_show_slides_wrap_id,s5_tab_show_slide_id,s5_tab_show_unique_id);
218}
219
220function s5_tab_show_slide_transition(s5_tab_show_slides_wrap
220_id,s5_tab_show_slide_id,s5_tab_show_unique_id) {
221	set_s5_tab_show_slides_inactive(s5_tab_show_unique_id);
222	var s5_tab_show_slide_active_id = "s5_tab_show_slide" + s5_tab_show_slide_id + "_id" + s5_tab_show_unique_id;
223	document.getElementById(s5_tab_show_slide_active_id).className = "s5_tab_show_slide s5_tab_show_slide_active";
224	var s5_tab_show_slide_button_active_id = "s5_tab_show_slide" + s5_tab_show_slide_id + "_button_id" + s5_tab_show_unique_id;
225	document.getElementById(s5_tab_show_slide_button_active_id).className = "s5_tab_show_slide_button_active";
226	var s5_tab_show_count_slides_counter = 0;
227	var s5_tab_show_slide_width = 0;
228	var s5_tab_total_margin = 0;
229	var s5_tab_show_count_slides = document.getElementById(s5_tab_show_slides_wrap_id).getElementsByTagName("DIV");
230	for (var s5_tab_show_count_slides_y=0; s5_tab_show_count_slides_y<s5_tab_show_count_slides.length; s5_tab_show_count_slides_y++) {
231		if (s5_tab_show_count_slides[s5_tab_show_count_slides_y].className.indexOf("s5_tab_show_slide ") >= 0) {
232			s5_tab_show_count_slides_counter = s5_tab_show_count_slides_counter + 1;
233			s5_tab_show_slide_width = s5_tab_show_count_slides[s5_tab_show_count_slides_y].offsetWidth;
234			var s5_tab_margin_style = s5_tab_show_count_slides[s5_tab_show_count_slides_y].currentStyle || window.getComputedStyle(s5_tab_show_count_slides[s5_tab_show_count_slides_y]);
235			if (s5_tab_margin_style.marginRight != "auto") {
236				var s5_tab_margin_right = (parseInt(s5_tab_margin_style.marginRight,10));
237			} else {
238				var s5_tab_margin_right = 0;
239			}
240			if (s5_tab_margin_style.marginLeft != "auto") {
241				var s5_tab_margin_left = (parseInt(s5_tab_margin_style.marginLeft,10));
242			} else {
243				var s5_tab_margin_left = 0;
244			}
245			var s5_tab_total_margin = s5_tab_margin_right + s5_tab_margin_left;
246		}
247	}
248	s5_tab_show_slide_id = s5_tab_show_slide_id -1;
249	document.getElementById(s5_tab_show_slides_wrap_id).style.marginLeft = ((s5_tab_show_slide_width * s5_tab_show_slide_id) + (s5_tab_show_slide_id * s5_tab_total_margin)) * -1 + "px";
250}
251
252function s5_tab_show_resize_reset_class() {
253var s5_tab_show_resize_reset_class = document.getElementsByTagName("DIV");
254for (var s5_tab_show_resize_reset_class_y=0; s5_tab_show_resize_reset_class_y<s5_tab_show_resize_reset_class.length; s5_tab_show_resize_reset_class_y++) {
255	if (s5_tab_show_resize_reset_class[s5_tab_show_resize_reset_class_y].className.indexOf("s5_tab_show_slides_wrap") >= 0) {
256		s5_tab_show_resize_reset_class[s5_tab_show_resize_reset_class_y].className = "s5_tab_show_slides_wrap";
257	}
258}
259}
260
261function s5_tab_show_resize() {
262var s5_tab_show_resize = document.getElementsByTagName("DIV");
263for (var s5_tab_show_resize_y=0; s5_tab_show_resize_y<s5_tab_show_resize.length; s5_tab_show_resize_y++) {
264	if (s5_tab_show_resize[s5_tab_show_resize_y].className.indexOf("s5_tab_show_slides_wrap") >= 0) {
265		s5_tab_show_resize[s5_tab_show_resize_y].className = "s5_tab_show_slides_wrap s5_tab_show_slides_wrap_resize";
266		window.setTimeout(s5_tab_show_resize_reset_class,1000);
267		var s5_tab_show_resize_active_id = document.getElementById(s5_tab_show_resize[s5_tab_show_resize_y].id).getElementsByTagName("DIV");
268		for (var s5_tab_show_resize_active_id_y=0; s5_tab_show_resize_active_id_y<s5_tab_show_resize_active_id.length; s5_tab_show_resize_active_id_y++) {
269			if (s5_tab_show_resize_active_id[s5_tab_show_resize_active_id_y].className == "s5_tab_show_slide s5_tab_show_slide_active") {
270				s5_tab_show_trigger_slide_transition(s5_tab_show_resize_active_id[s5_tab_show_resize_active_id_y].id);
271			}
272		}
273	}
274}
275}
276
277function s5_tab_show_trigger_next(s5_tab_show_next_id) {
278	var s5_tab_show_unique_id = s5_tab_show_next_id.substr(s5_tab_show_next_id.length - 10);
279	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
280}
281
282function s5_tab_show_trigger_prev(s5_tab_show_prev_id) {
283	//Find the previous id
284	var s5_tab_show_unique_id = s5_tab_show_prev_id.substr(s5_tab_show_prev_id.length - 10);
285	var s5_tab_show_slides_wrap_id = "s5_tab_show_slides_wrap_id" + s5_tab_show_unique_id;
286	var s5_tab_show_prev_child_counter = 0;
287	var s5_tab_show_prev = document.getElementById(s5_tab_show_slides_wrap_id).getElementsByTagName("DIV");
288	var s5_tab_show_prev_children = document.getElementById(s5_tab_show_slides_wrap_id).getElementsByTagName("DIV");
289	for (var s5_tab_show_prev_children_y=0; s5_tab_show_prev_children_y<s5_tab_show_prev_children.length; s5_tab_show_prev_children_y++) {
290		if (s5_tab_show_prev_children[s5_tab_show_prev_children_y].className.indexOf("s5_tab_show_slide_active") >= 0 || s5_tab_show_prev_children[s5_tab_show_prev_children_y].className.indexOf("s5_tab_show_slide_inactive") >= 0) {
291			s5_tab_show_prev_child_counter = s5_tab_show_prev_child_counter + 1;
292		}
293	}
294	for (var s5_tab_show_prev_y=0; s5_tab_show_prev_y<s5_tab_show_prev.length; s5_tab_show_prev_y++) {
295		if (s5_tab_show_prev[s5_tab_show_prev_y].className.indexOf("s5_tab_show_slide_active") >= 0) {
296			var s5_tab_show_find_active_button_id = s5_tab_show_prev[s5_tab_show_prev_y].id;
297			s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id.split('_');
298			s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id[3];
299			s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id.replace(/\D/g,'');
300			s5_tab_show_find_active_button_id = parseInt(s5_tab_show_find_active_button_id);
301			s5_tab_show_find_active_button_id_prev = s5_tab_show_find_active_button_id - 1;
302			var s5_tab_show_slide_prev_id = "s5_tab_show_slide" + s5_tab_show_find_active_button_id_prev + "_button_id" + s5_tab_show_unique_id;
303			if (document.getElementById(s5_tab_show_slide_prev_id)) {
304				s5_tab_show_trigger_slide_transition(s5_tab_show_slide_prev_id);
305			} else{
306				//If it's the first slide go to the last slide
307				var s5_tab_show_slide_last_id = "s5_tab_show_slide" + s5_tab_show_prev_child_counter + "_button_id" + s5_tab_show_unique_id;
308				s5_tab_show_trigger_slide_transition(s5_tab_show_slide_last_id);
309			}
310			return;
311		}
312	}
313}
314
315function set_s5_tab_show_slides_inactive(s5_tab_show_unique_id) {
316var s5_tab_show_outer_wrap_id = "s5_tab_show_outer_wrap_id" + s5_tab_show_unique_id;
317var s5_tab_show_mark_buttons_inactive = document.getElementById(s5_tab_show_outer_wrap_id).getElementsByTagName("DIV");
318for (var s5_tab_show_mark_buttons_inactive_y=0; s5_tab_show_mark_buttons_inactive_y<s5_tab_show_mark_buttons_inactive.length; s5_tab_show_mark_buttons_inactive_y++) {
319	if (s5_tab_show_mark_buttons_inactive[s5_tab_show_mark_buttons_inactive_y].className.indexOf("s5_tab_show_slide_active") >= 0 || s5_tab_show_mark_buttons_inactive[s5_tab_show_mark_buttons_inactive_y].className.indexOf("tab_show_slide_inactive") >= 0) {
320		s5_tab_show_mark_buttons_inactive[s5_tab_show_mark_buttons_inactive_y].className = "s5_tab_show_slide s5_tab_show_slide_inactive";
321	}
322	if (s5_tab_show_mark_buttons_inactive[s5_tab_show_mark_buttons_inactive_y].className.indexOf("s5_tab_show_slide_button") >= 0) {
323		s5_tab_show_mark_buttons_inactive[s5_tab_show_mark_buttons_inactive_y].className = "s5_tab_show_slide_button_inactive";
324	}
325}
326}
327
328function s5_tab_show_find_and_set_active(s5_tab_show_unique_id) {
329	var s5_tab_show_find_active_button_id = "";
330	var s5_tab_show_find_active_slides_id = "s5_tab_show_slides_buttons_id" + s5_tab_show_unique_id;
331	var s5_tab_show_mark_button_active_id = document.getElementById(s5_tab_show_find_active_slides_id).getElementsByTagName("DIV");
332	for (var s5_tab_show_mark_button_active_id_y=0; s5_tab_show_mark_button_active_id_y<s5_tab_show_mark_button_active_id.length; s5_tab_show_mark_button_active_id_y++) {
333		if (s5_tab_show_mark_button_active_id[s5_tab_show_mark_button_active_id_y].className == "s5_tab_show_slide_button_active") {
334			s5_tab_show_find_active_button_id = s5_tab_show_mark_button_active_id[s5_tab_show_mark_button_active_id_y].id;
335		}
336	}
337	set_s5_tab_show_slides_inactive(s5_tab_show_unique_id);
338	s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id.split('_');
339	s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id[3];
340	s5_tab_show_find_active_button_id = s5_tab_show_find_active_button_id.replace(/\D/g,'');
341	s5_tab_show_find_active_button_id = parseInt(s5_tab_show_find_active_button_id);
342	s5_tab_show_find_active_button_id_next = s5_tab_show_find_active_button_id + 1;
343	var s5_tab_show_slide_next_id = "s5_tab_show_slide" + s5_tab_show_find_active_button_id_next + "_button_id" + s5_tab_show_unique_id;
344	if (document.getElementById(s5_tab_show_slide_next_id)) {
345		s5_tab_show_trigger_slide_transition(s5_tab_show_slide_next_id);
346	} else {
347		var s5_tab_show_slide1_id = "s5_tab_show_slide1_button_id" + s5_tab_show_unique_id;
348		s5_tab_show_trigger_slide_transition(s5_tab_show_slide1_id);
349	}
350}
351
352function s5_tab_show_outer_wrap_id1_interval() {
353	//Find the unique id of the parent wrap
354	var s5_tab_show_unique_id = "";
355	var s5_tab_show_outer_id_counter = 1;
356	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
357	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
358		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
359			if (s5_tab_show_outer_id_counter == 1) {
360			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
361			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
362			}
363			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
364		}
365	}
366	//Find the active button
367	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
368}
369
370function s5_tab_show_outer_wrap_id2_interval() {
371	//Find the unique id of the parent wrap
372	var s5_tab_show_unique_id = "";
373	var s5_tab_show_outer_id_counter = 1;
374	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
375	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
376		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
377			if (s5_tab_show_outer_id_counter == 2) {
378			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
379			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
380			}
381			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
382		}
383	}
384	//Find the active button
385	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
386}
387
388function s5_tab_show_outer_wrap_id3_interval() {
389	//Find the unique id of the parent wrap
390	var s5_tab_show_unique_id = "";
391	var s5_tab_show_outer_id_counter = 1;
392	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
393	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
394		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
395			if (s5_tab_show_outer_id_counter == 3) {
396			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
397			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
398			}
399			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
400		}
401	}
402	//Find the active button
403	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
404}
405
406function s5_tab_show_outer_wrap_id4_interval() {
407	//Find the unique id of the parent wrap
408	var s5_tab_show_unique_id = "";
409	var s5_tab_show_outer_id_counter = 1;
410	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
411	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
412		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
413			if (s5_tab_show_outer_id_counter == 4) {
414			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
415			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
416			}
417			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
418		}
419	}
420	//Find the active button
421	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
422}
423
424function s5_tab_show_outer_wrap_id5_interval() {
425	//Find the unique id of the parent wrap
426	var s5_tab_show_unique_id = "";
427	var s5_tab_show_outer_id_counter = 1;
428	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
429	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
430		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
431			if (s5_tab_show_outer_id_counter == 5) {
432			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
433			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
434			}
435			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
436		}
437	}
438	//Find the active button
439	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
440}
441
442function s5_tab_show_outer_wrap_id6_interval() {
443	//Find the unique id of the parent wrap
444	var s5_tab_show_unique_id = "";
445	var s5_tab_show_outer_id_counter = 1;
446	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
447	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
448		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
449			if (s5_tab_show_outer_id_counter == 6) {
450			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
451			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
452			}
453			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
454		}
455	}
456	//Find the active button
457	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
458}
459
460function s5_tab_show_outer_wrap_id7_interval() {
461	//Find the unique id of the parent wrap
462	var s5_tab_show_unique_id = "";
463	var s5_tab_show_outer_id_counter = 1;
464	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
465	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
466		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
467			if (s5_tab_show_outer_id_counter == 7) {
468			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
469			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
470			}
471			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
472		}
473	}
474	//Find the active button
475	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
476}
477
478function s5_tab_show_outer_wrap_id8_interval() {
479	//Find the unique id of the parent wrap
480	var s5_tab_show_unique_id = "";
481	var s5_tab_show_outer_id_counter = 1;
482	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
483	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
484		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
485			if (s5_tab_show_outer_id_counter == 8) {
486			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
487			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
488			}
489			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
490		}
491	}
492	//Find the active button
493	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
494}
495
496function s5_tab_show_outer_wrap_id9_interval() {
497	//Find the unique id of the parent wrap
498	var s5_tab_show_unique_id = "";
499	var s5_tab_show_outer_id_counter = 1;
500	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
501	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
502		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
503			if (s5_tab_show_outer_id_counter == 9) {
504			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
505			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
506			}
507			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
508		}
509	}
510	//Find the active button
511	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
512}
513
514function s5_tab_show_outer_wrap_id10_interval() {
515	//Find the unique id of the parent wrap
516	var s5_tab_show_unique_id = "";
517	var s5_tab_show_outer_id_counter = 1;
518	var s5_tab_show_outer_id = document.getElementsByTagName("DIV");
519	for (var s5_tab_show_outer_id_y=0; s5_tab_show_outer_id_y<s5_tab_show_outer_id.length; s5_tab_show_outer_id_y++) {
520		if (s5_tab_show_outer_id[s5_tab_show_outer_id_y].className == "s5_tab_show_outer_wrap") {
521			if (s5_tab_show_outer_id_counter == 10) {
522			s5_tab_show_unique_id = s5_tab_show_outer_id[s5_tab_show_outer_id_y].id;
523			s5_tab_show_unique_id = s5_tab_show_unique_id.substr(s5_tab_show_unique_id.length - 10);
524			}
525			s5_tab_show_outer_id_counter = s5_tab_show_outer_id_counter + 1;
526		}
527	}
528	//Find the active button
529	s5_tab_show_find_and_set_active(s5_tab_show_unique_id);
530}

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.