PageSourceSearch

http://www.echtefriesevlag.nl/js/footer.js?20447

js echtefriesevlag.nl collected 2026-10-03 18:51:43 UTC 20,801 bytes, 492 lines download raw bytes

1/*#######################################################################################
2# Deze software is intellectueel eigendom van Knooppunt en is beschermd op grond van de #
3# Nederlandse auteurswet, internationale verdragsbepalingen en de toepasselijke wetten  #
4# van het land waarin de software gebruikt wordt. U verbindt zich ertoe de software     #
5# niet te zullen veranderen, aanpassen of te vertalen, tenzij uitdrukkelijk anders      #
6# overeengekomen. U verkrijgt uitsluitend het gebruiksrecht van de software. Knooppunt  #
7# is in in geen geval aansprakelijk voor directe of indirecte schade, gevolgschade of   #
8# enige vorm van incidentele of bijzondere schade, inclusief gederfde winst of bespa-   #
9# ringen, en evenmin voor vorderingen van derden, door het gebruik van de software.     #
10#                                                                                       #
11#  Knooppunt internetmedia    http://www.knoop.nl    E. Toering    tel +31 513 543075   #
12#                                                                                       #
13#######################################################################################*/
14if (typeof(KSaccount) == 'undefined') {alert('KnoopStat-id is onbekend in footer.js!'); }
15if (typeof(url_sub) == 'undefined'
16 || typeof(url0)    == 'undefined'  ) {alert('domein-info is niet gedefinieerd!'); }
17var KBcms= new Object(); // for AJAX caching!
18KBcms['vars'] = new Object();
19KBcms['vars']['hash']      = '';
20KBcms['vars']['hash_init'] = '';
21testET = 0;
22
23KBcms['rand_nieuws'] = new Object();
24KBcms['rand_nieuws']['act'] = 0; // let op ook declaraties in de UL!
25KBcms['rand_nieuws']['set'] = new Array(); // de te tonen set
26KBcms['rand_nieuws']['setp']= new Array(); // de vorige getoonde set
27//setInterval("document.title=KBcms['rand_nieuws']['act']",250);
28function random_nieuws() {
29	if (KBcms['rand_nieuws']['act'] == 1 ) { return; }
30	KBcms['rand_nieuws']['act']=1;
31	setTimeout("KBcms['rand_nieuws']['act']=0",2500);
32	var nrVisible = 4
33	var minVal = 0;
34	var maxVal = $("#container_rechts li").size()-1;
35	var toGo   = 1+maxVal-nrVisible;
36	KBcms['rand_nieuws']['setp']= KBcms['rand_nieuws']['set'];
37	KBcms['rand_nieuws']['set'] = new Array();
38testET = $("#container_rechts ul li").size()+':'+toGo+' ';
39	while (toGo > 0) {
40		var randVal= Math.round(minVal+(Math.random()*(maxVal-minVal)));
41		if (typeof(KBcms['rand_nieuws']['set'][randVal]) == 'undefined'
42		 && (typeof(KBcms['rand_nieuws']['setp'][randVal]) == 'undefined'
43			|| !KBcms['rand_nieuws']['setp'][randVal]) ) {
44			KBcms['rand_nieuws']['set'][randVal] = 1;
45testET+= toGo+':'+randVal+' ';
46			toGo--;
47		}
48  }
49	for (var i=minVal;i<maxVal;i++) {
50testET+= i+':'+KBcms['rand_nieuws']['set'][i]+' ';
51		if (typeof(KBcms['rand_nieuws']['set'][i]) == 'undefined'
52		 || !KBcms['rand_nieuws']['set'][i] ) {
53			$("#container_rechts ul").children('li').eq(i).slideDown();
54		} else {
55			$("#container_rechts ul").children('li').eq(i).slideUp();
56		}
57	}
58//document.title =testET;
59}
60
61try {$(document).ready(function () {
62	window.isActive = true;
63	$(window).focus(function() { this.isActive = true; });
64	$(window).blur( function() { this.isActive = false;});	
65
66	KBcms['rand_nieuws']['act'] = 0;
67	$(document).mousedown(function(event) { if (event.which == 1 ) { random_nieuws(); } } );
68
69	//portfolio scrollable
70//	$('a[rel="compleetz"]')
71
72	
73	//Achtergrond herpositioneren!
74	//bg_repos();
75	//$(window).resize(function() { bg_repos(); });
76	
77	//Accordion
78	$('#accordion').find('dt').css({"display":"block" });
79	$('#accordion').find('dd').css({"display":"block" });
80	$('#accordion').easyAccordion({ 
81			autoStart: false, 
82			slideInterval: 3000,
83			slideNum: false
84	});
85
86	//bg content_rechts .template rgl 100
87	$(".click-rechts").click(function(){ 
88		$('#container_rechts').css({"background-image":"url('img/bg-content.jpg')" });
89		return false;
90	});
91	$(".click-off").click(function(){ 
92		$('#container_rechts').css({"background-image":"none"});
93		return false;
94	});
95
96	// Cool Ajax in action :)
97	$('#accordion').find('dt').each(function(){
98		if (typeof(KBcms['vars']['hash_home']) == 'undefined' ) {
99			KBcms['vars']['hash_home'] = jQuery(this).attr('id').substr('accordion_'.length,9999);
100			if (KBcms['vars']['hash_home'].length == 0 ) { KBcms['vars']['hash_home'] = '#'; }
101		}
102    if (jQuery(this).attr('class').indexOf('active') >= 0 ) { // remember first id for #hash
103      KBcms['vars']['hash_init'] = jQuery(this).attr('id').substr('accordion_'.length,9999);
104			/* verry Q&D*/
105			if (KBcms['vars']['hash_init'].indexOf('bestellen') >= 0
106			 || KBcms['vars']['hash_init'].indexOf('contact')   >= 0 ) {
107				$('#container_rechts').css({"background-image":"url('img/bg-content.jpg')" });
108			}
109    }
110    jQuery(this).click(function(){
111      the_id = jQuery(this).attr('id').substr('accordion_'.length,9999);
112      CMS_id = the_id;//.replace(/-/g,'/')+'/';
113//document.title='click:'+the_id+' '+document.title;
114//			document.title = window.location.hash.length+' '+testET+' i:'+KBcms['vars']['hash_init']+' h:'+KBcms['vars']['hash_home']+' nu:'+the_id+' '+document.title;testET++;
115      if ((KBcms['vars']['hash_init'] == the_id)// || KBcms['vars']['hash_home'] == the_id)
116			 && window.location.hash.length < 2 // new page = # => back possible :)
117			 ) {
118			} else {
119        window.location.hash = "#"+CMS_id;
120				KBcms['vars']['hash'] = CMS_id;
121				if (KBcms['vars']['hash'].length == 0 ) { KBcms['vars']['hash'] = '#'; }
122//alert(KBcms['vars']['hash']);
123      }
124//			document.title = CMS_id+':'+typeof(KBcms[CMS_id])+document.title;
125      if (typeof(KBcms[the_id]) == 'undefined'
126			 || KBcms[the_id].length < 200 ) {
127				var ampquestion = (CMS_id.indexOf('?') > 0 ) ? '&' : '?';
128//  		alert('./'+the_id+ampquestion+'a'+a_bit_of_salt+'=1');
129        $.ajax({
130  				url: './'+CMS_id+ampquestion+'a'+a_bit_of_salt+'=1',
131  				success: function(data) {
132//						data += 'test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>test<br/>';
133//						data += '<div id="'+the_id+'_anker" class="anker"></div>';
134//					  alert($("#accordion_"+the_id+"_content").html().length+"\
134n\n"+data);
135//        alert(the_id+"_content");
136//            KBcms[CMS_id] = data; // cache it :D
137//						if (KBcms[the_id].indexOf($("#accordion_"+the_id+"_content").html().substr(5,KBcms[the_id].length*.75)) == -1
138//						 || $("#accordion_"+the_id+"_content").html().length < 200 ) { // vooral bij home om onnodige animatie te voorkomen
139							$("#accordion_"+the_id+"_content").css({ 'opacity' : 0.07 });
140							$("#accordion_"+the_id+"_content").html(data);
141							KBcms[the_id] = data;
142							setTimeout('show_content();re_scan();random_nieuws();',1000); // backup show content na ani-complete in accordion.js
143
144////							window.timer1 = setTimeout('$("#accordion_'+the_id+'_content").html(KBcms["'+the_id+'"]);re_scan("'+the_id+'");',250);
145//							window.timer2 = setTimeout('$("#accordion_'+the_id+'_content").animate({opacity: 1.0},'+
146//																																					'200,'+ //         ,- cache de omgezette data!
147//																																					'function() { KBcms["'+the_id+'"]=$("#accordion_'+the_id+'_content").html(); })',300);
148//						}
149  				}
150  			});
151      } else {
152				$("#accordion_"+the_id+"_content").css({ 'opacity' : 0.07 });
153        $("#accordion_"+the_id+"_content").html(KBcms[the_id]);
154				setTimeout('show_content();re_scan();',1000); // backup show content na ani-complete in accordion.js
155      }
156			try {KSextra(KSaccount,CMS_id);} catch (e) {}
157  		return false;
158  	});
159	});
160
161/*	$('#accordion').find('dd div:first-child').each(function(){ // cash onload-content!
162		the_id = jQuery(this).attr('id').substr('accordion_'.length,9999);
163		if (the_id && the_id.length > '_content'.length) {
164			the_id = the_id.substr(0,the_id.length-'_content'.length);
165			KBcms[ the_id ] = (jQuery(this).html().length < 200 ) ? '' : jQuery(this).html();
166		}
167	});
168*/
169	re_scan('init');
170	
171	window.timer1 = setTimeout('checkHash()',250);
172
173/* */
174
175	$("<img/>")[0].src = backstretch_map+backstretch_img; // de grote preloaden!
176
177	jQuery.backstretch(backstretch_map+'.klein/klein-'+backstretch_img,
178										 {speed: 200 },
179										 function(){
180		useragent = navigator.userAgent.toLowerCase();
181		if (useragent.indexOf('iphone') 			!= -1
182		 || useragent.indexOf('symbianos') 		!= -1
183		 || useragent.indexOf('ipod') 				!= -1
184		 || useragent.indexOf('android')			!= -1
185		 || useragent.indexOf('blackberry') 	!= -1
186		 || useragent.indexOf('samsung') 			!= -1
187		 || useragent.indexOf('nokia') 				!= -1
188		 || useragent.indexOf('windows ce') 	!= -1
189		 || useragent.indexOf('sonyericsson') != -1
190		 || useragent.indexOf('webos') 				!= -1
191		 || useragent.indexOf('wap') 					!= -1
192		 || useragent.indexOf('motor')				!= -1
193		 || useragent.indexOf('symbian') 			!= -1
194		){ } // mobiel dus
195		else {
196			jQuery.backstretch(backstretch_map+backstretch_img,
197																		{speed: 400});
198		}
199	});
200
201});} catch (e) {}
202
203function show_content(){
204	$('#accordion').find('dd div:first-child').each(function(){ // cash onload-content!
205		if (jQuery(this).css('opacity') < 0.08 ) {
206			the_id = jQuery(this).attr('id').substr('accordion_'.length,9999);
207/*alert('testet1'+"\n"+
208			the_id+"\n"+
209			(('_content').length)+"\n"+
210			the_id.substr(0,the_id.length-('_content').length));/* */
211			if (the_id && the_id.length >= ('_content').length) {
212				the_id = the_id.substr(0,the_id.length-('_content').length);
213				jQuery(this).animate({opacity: 1.0},200);
214				re_scan(the_id);
215//				KBcms[the_id] = $("#"+the_id+"_content").html(); // vreemd maar hij wordt er juist trager van!?
216			}
217		}
218	});
219}
220testetteller = 0; 
221function re_scan(init){
222	testetteller++;
223	if (typeof(init) == 'undefined' || init != 1 ) { init = 0 }
224	
225	try {scrollable(1);} catch (e) {}
226	
227	$('#accordion').find('dt').each(function(){
228    if (jQuery(this).attr('class').indexOf('active') >= 0 ) {
229      the_id = jQuery(this).attr('id').substr('accordion_'.length,9999);
230      CMS_id = the_id;//.replace(/-/g,'/')+'/';
231			if ($('#'+the_id+'_anker').length == 0 ) {
232				var anker = '<div id="'+the_id+'_anker" class="anker"></div>';
233				$("#accordion_"+the_id+"_content").append(anker);
234			}
235//			alert($("#accordion_"+the_id+"_content").html());
236			if ($('#'+the_id+'_anker').length > 0 && $('#'+the_id+'_anker').length != 0  ) { // lees verder bij te veel tekst
237				var position = $('#'+the_id+'_anker').position();
238//				document.title = position.top+ ' | ' +$('#accordion').height()+' | ' +$(".terug").length;
239				
240				var lees_verder	= '';
241				if(position.top > $('#accordion').height()){ // && $(".terug").length == 0
242					var lees_verder_link = window.location.href;//'./'+CMS_id;
243					lees_verder_link = lees_verder_link.replace(/\#/,''); // backup voor als de originele tekst-1 ook al te groot is (foutje dus....)
244/*					var lees_verder_link = './'+CMS_id;
245					if (the_id == KBcms['vars']['hash_init']
246					 && window.location.search.indexOf(CMS_id) == -1 ) {
247						lees_verder_link = './'+window.location.search;
248					} */
249					lees_verder	= '<div class="lees_verder"><br/><br/>
249<a href="'+lees_verder_link+'" class="naar_popup">Lees verder &gt; &gt;</a></div>';
250					if (typeof(KBcms['vars']['first_time_lees_verder_done']) == 'undefined') {
251						KBcms['vars']['first_time_lees_verder_done'] = 1;
252						if (window.location.hash.length == 0 ) {
253							setTimeout("$('.lees_verder a').first().append('<b> CLICK..</b>');",1000);
254							setTimeout("$('.lees_verder a').first().click();"                  ,2500);
255							setTimeout("$('#accordion_"+the_id+"').click();"                   ,3000);
256						}
257					}
258				} else {
259					lees_verder = '';
260				}
261				$("#accordion_"+the_id+"_content").append(lees_verder);
262
263			}
264			$("#accordion_"+the_id+"_content").find('img').each(function(){
265//				alert($(this).attr("src")+"\n"+$(this).attr('align')+"\n"+$(this).css('float'));
266				if ((jQuery(this).attr('align') && jQuery(this).attr('align').indexOf('left') >= 0 )
267				 || jQuery(this).css('float').indexOf('left')  >= 0 ) {
268					jQuery(this).css('margin-right','10px');
269				} else
270				if ((jQuery(this).attr('align') && jQuery(this).attr('align').indexOf('right') >= 0 )
271				 || jQuery(this).css('float').indexOf('right')  >= 0 ) {
272					jQuery(this).css('margin-left','10px');
273				}
274			});
275
276		}
277	});
278
279	div_ARR = new Array('internal_link','accordion','container_rechts');
280	KS_p = ("https:" == d.location.protocol) ? "https" : "http";
281testET = KS_p+url_sub+url0+"\n\n";
282	var internal_link_lightbox = 0;
283	for (i in div_ARR ) {
284		$('#'+div_ARR[i]).find('a').each(function(){
285			if (jQuery(this).attr('href') ){
286testET+= div_ARR[i]+':'+jQuery(this).attr('href')+'+'+jQuery(this).attr('class')+"\n";
287				if (jQuery(this).attr('href').indexOf(KS_p+'://'+url_sub+url0) == 0
288//				 || jQuery(this).attr('href').indexOf('?') == 0
289				 || jQuery(this).attr('href').indexOf('./') == 0 ){
290					if (!jQuery(this).attr('class')
291					 || jQuery(this).attr('class').indexOf('accordion_link') == -1) {
292//			if ( (!jQuery(this).attr('class') || jQuery(this).attr('class').indexOf('accordion_link') == -1)					 
293//			 && jQuery(this).attr('href').indexOf(window.location.search) == -1 ) {
294						test_id = jQuery(this).attr('href');
295//document.title = test_id+' | '+document.title;
296						search_until = (test_id.indexOf('?') > 0 ) ? test_id.indexOf('?') : test_id.length;
297//testET+= 'test_id:'+test_id+' '+test_id.lastIndexOf('/',search_until)+' '+search_until+"\n";
298						test_id = test_id.substr(test_id.lastIndexOf('/',search_until)+1,100);
299//testET+= 'test_id:'+test_id+"\n";
300						test_id = test_id.replace(/\//g,'-').replace(/-$/i,'');
301//testET+= 'test_id:'+test_id+"\n";
302						if ($('#accordion_'+test_id).length > 0
303						 && (!jQuery(this).attr('class')  || jQuery(this).attr('class').indexOf('naar_popup') == -1 ) ) {
304testET+= " tab:";
305							jQuery(this).attr('href'   , "javascript:void('')");//http://www.knoopmail.nl/?nl/pro/1/
306							jQuery(this).attr('target' , "_self");//http://www.knoopmail.nl/?nl/pro/1/
307							jQuery(this).attr('onclick', "$('#accordion_"+test_id+"').click();if($('#colorbox').is(':visible')){$.colorbox.close();}");
308						} else
309						if (jQuery(this).attr('rel') && jQuery(this).attr('rel').indexOf('lightbox') >= 0 ) {
310							$(this).removeClass('do_not_popup');
311//							top.document.title=$('#colorbox').is(':visible')+' '+testetteller;
312							if (div_ARR[i] == 'internal_link' ) {
313								internal_link_lightbox = 1;
314								if (!$('#colorbox').is(':visible') ) {
315									$(this).addClass('do_not_popup');
316								}
317							} else
318							if (internal_link_lightbox == 1
319							 && $('#colorbox').is(':visible') ) {
320								$(this).addClass('do_not_popup');
321								$(this).removeClass('cboxElement');
322							}
323//							jQuery(this).attr('title', '<a href=\"./?nl/actueel/items/4/\" class=\"naar_popup\">terug</a>');
324						} else
325						if (!jQuery(this).attr('target') || jQuery(this).attr('target').indexOf('blank') == -1 ) { //ivm bijlage en externe links/sites/media
326//							if($('a.portfolio_slide').length > 0){
327//							} else {
328testET+= " naar_popup:"+jQuery(this).attr('target');
329							jQuery(this).addClass("naar_popup");
330						}
331//						}
332		/*				alert(jQuery(this).attr('href')+"\n"+
333									jQuery(this).attr('class')+"\n"+
334									test_id+"\n"+
335									$('#'+test_id).length);
336		/* */
337					}
338				}
339testET+= "\n";
340			}
341		});
342	}
343//alert(testET);
344	
345//    if (jQuery(this).attr('class').indexOf('active') >= 0 ) { // remember first id for #
346
347//echo '		<a href="javascript:void(\'\')" onclick="$(\'#nl-pro-1\').
347click();">test</a>'."\n";
348
349//setInterval("document.title= window.colorbox_return_url+'|'+$('#colorbox_return_url')",100);
350
351	$("a[rel^='lightbox']").each(function(){
352		window.colorbox_return_url = ($('#colorbox_return_url').attr('href')) ? $('#colorbox_return_url').attr('href') : 'javascript:void(\'\')'; // zit in cms-item!!
353		if (!jQuery(this).hasClass('do_not_popup')) {
354			jQuery(this).colorbox({
355				onOpen:    function(){ },
356				onLoad:    function(){ },
357				onComplete:function(){
358					if ($('#cboxTitle').html().length > 1 ) {
359						$('#cboxTitle').css({"visibility":"visible"});
360					} else {
361						$('#cboxTitle').css({"visibility":"hidden" });
362					}
363		//			$('#cboxTitle').html('<a href="'+window.colorbox_return_url+'" class="naar_popup">&lt;&lt; terug</a>');
364					$('#cboxTitle').html('<a href="'+window.colorbox_return_url+'" class="naar_popup" onclick="if(this.href.indexOf(\'javascript\')==0){$.colorbox.close()}">&lt;&lt; terug</a>');
365					colorbox_popup_builder(); },
366				onCleanup: function(){ $('#cboxTitle').css({"visibility":"hidden" }); },
367				onClosed:  function(){ re_scan(); }		
368			});//{title: true});
369		}
370	});
371
372	//Colorbox Iframe.
373	$(".iframe").colorbox({
374		onComplete:function(){ $('#cboxTitle').css({"visibility":"hidden" }) },
375		onClosed:  function(){ re_scan(); },
376		width:"80%",
377		height:"80%",
378		iframe:true
379	}); 	
380
381/*
382	//Colorbox.
383	$(".more").colorbox({
384		width:"700px",
385		height:"500px",
386		inline:true,
387		href:"#read_more"
388	});
389/* */
390	colorbox_popup_builder();
391
392
393	$("a.portfolio_slideXXXXXX").click(function(){
394		$("#portfolio_slide").show("slide", { direction: "left" }, 1000);
395/*			if (typeof(this.href) != 'undefined' ) {
396			local_href_fix = this.href.replace(/http:\/\/[^?]+\?/,'./\?');
397			$.ajax({
398				url: local_href_fix+'&a'+a_bit_of_salt+'=1',
399				success: function(data) {
400//          alert(data);
401//          alert('accordion_'+the_id+"_content");
402					$("#portfolio_slide").html(data);
403					$('.terug').hide(); // volgorde belangrijk
404//					KBcms[CMS_id] = data; // cache it :D
405					re_scan();
406				}
407			});
408			try {KSextra(KSaccount, local_href_fix.substr(local_href_fix.indexOf('?')+1) );} catch (e) {}
409		}*/
410	});
411
412	if (!init) { Cufon.refresh(); }
413}
414//./?nl/home/10/" class="internal_link
415
416function colorbox_popup_builder(){
417	$(".naar_popup").colorbox({
418		onComplete:function(){ $('#cboxTitle').css({"visibility":"hidden" }) },
419		onClosed:  function(){ re_scan(); },
420		width:"1010px",
421		height:"90%",
422		inline:true,
423		href:"#internal_link",
424		onLoad: function(){
425			$("#internal_link").html('<img src="img/colorbox/loading.gif" style="display: block;margin-top:150px;margin-left: auto;margin-right: auto"/>');
426		},
427		open:function(){
428			if (typeof(this.href) != 'undefined' ) {
429			local_href_fix = this.href.replace(/http:\/\/[^?]+(\/\??)/,'.$1');
430			var ampquestion = (local_href_fix.indexOf('?') > 0 ) ? '&' : '?';
431//	alert(local_href_fix+ampquestion+'a'+a_bit_of_salt+'=1');
432			$.ajax({
433				url: local_href_fix+ampquestion+'a'+a_bit_of_salt+'=1',
434				success: function(data) {
435//          alert(data);
436//          alert('accordion_'+the_id+"_content");
437					$("#internal_link").html(data);
438					$('.terug').hide(); // volgorde belangrijk
439//					KBcms[CMS_id] = data; // cache it :D
440					re_scan();
441				}
442			});
443			try {KSextra(KSaccount, local_href_fix.substr(local_href_fix.indexOf('?')+1) );} catch (e) {}
444		}
445		}
446	});
447}
448
449function internal_link_ajax(url){
450//colorbox({width:"80%", height:"80%", inline:true, href:"#internal_link"});
451}
452
453function checkHash(){
454	check_hash_var = window.location.hash.replace('#','');
455	if (check_hash_var.length == 0 && window.location.href.indexOf("#") != -1) { check_hash_var = '#'; }
456  if(check_hash_var != KBcms['vars']['hash'] ) { 
457		KBcms['vars']['hash'] = check_hash_var;
458//document.title = window.location.hash+' '+check_hash_var+':'+KBcms['vars']['hash']+' | '+document.title;
459		var hash2= KBcms['vars']['hash'].replace(/\//g,'-').replace(/-$/,'');
460    if ( (hash2.length == 0 || hash2 == KBcms['vars']['hash_init'])
461		 && window.location.href.indexOf("#") == -1 ) {
462      $('#accordion_'+KBcms['vars']['hash_init'].replace('#','')).click();
463    } else {
464      $('#accordion_'+hash2.replace('#','')).click();
465//document.title = 'CLICK:'+document.title;
466    }
467	  setTimeout("show_content()", 100);
468	  setTimeout("show_content()",1000);
469  }
470  setTimeout("checkHash()",400); 
471}
472
473// perfect background positioning :)
474function bg_repos() {
475	if ((parseFloat(navigator.appVersion.split("MSIE")[1])<7) ) {	//alert('crappie IE 6');
476		return;
477	}
478	var offset = $('#container').offset();
479	//alert (offset.left);
480	schaduwL = 40;
481	schaduwB = 40;
482	pos_left = (offset.left < -schaduwL) ? -schaduwL : offset.left-schaduwL;
483	pos_top  = (offset.top  < -schaduwB) ? -schaduwB : offset.top -schaduwB;
484	//document.title = pos_left;
485	$('#bg').css({"height": "100%",
486								"width" : "100%"});
487//	document.title = pos_left+' '+pos_top+' '+get_height(0)+' '+$('body').height();
488	$('#bg').css({"height": (get_height(0)-1)+"px",
489								"width" : (get_width(0)-1)+"px",
490								"background-position":" "+pos_left+"px "+pos_top+"px" }) ;
491}
492a_bit_of_salt = 'jax';

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.