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 intermedia http://www.knoop.nl E. Toering tel +31 513 543075 # 12# # 13#######################################################################################*/ 14//<scr ipt src="global.js" type="text/javascript" language="JavaScript"></scr ipt> 15// scriptfunctions (c)2010 E. Toering www.knoop.nl 16n=navigator;na=n.appVersion;nu=n.userAgent.toLowerCase();no=n.userAgent.indexOf('Opera');d=document; 17mac =(na.indexOf("Mac")!=-1) ?1:0; 18ns4up =(d.layers) ?1:0; 19ns6up =(d.getElementById&&!document.all) ?1:0; 20op5up =(no>0&&!ns6up) ?1:0; 21op7up =(op5up&&eval(nu.substring(no+6,no+7))>6) ?1:0; 22ie4up =(d.all && !op5up) ?1:0; 23ie5up =(d.all && !op5up && d.getElementById) ?1:0; 24ie55up=(parseFloat(na.split("MSIE")[1])>=5.5) ?1:0; 25ie8up =(parseFloat(na.split("MSIE")[1])>=8) ?1:0; 26 27if (ns4up) {doc2="document["; sty="]"; htm="].document";xpos="e.pageX";ypos="e.pageY"} 28else if(ns6up||ie55up) {doc2="document.getElementById(";sty=").style";htm=")"; xpos="event.x";ypos="event.y"} 29else if(ie4up||ie5up||op5up){doc2="document.all["; sty="].style";htm="].document";xpos="event.x";ypos="event.y"} 30if ( ie4up&&!op5up ){breedte=d.body.clientWidth;hoogte=d.body.clientHeight} 31else {breedte=window.innerWidth; hoogte=window.innerHeight} 32if (ie8up&&!breedte){breedte=d.documentElement.clientWidth;hoogte=d.documentElement.clientHeight} 33 34resizeteller=0; resizetester=0; reloading=0; 35function Herladen(extra_cmd) { 36 var l = ''; 37// if(!reloading) {window.location.reload();reloading=1;return } 38 39 if (ie4up&&!op5up){breedte=d.body.clientWidth;hoogte=d.body.clientHeight} 40 else {breedte=window.innerWidth; hoogte=innerHeight} 41// posL = Math.floor((breedte-780)/2); if (posL < 0) { posL = 1 } 42// posT = Math.floor((hoogte -470)/3); if (posT < 0) { posT = 5 } 43 44 for (var laag in div_plaatsen) { 45 l = eval(doc2 + '"'+laag+'"' + sty); 46 DIVhpos = div_plaatsen[laag][0]; DIVbreed=div_plaatsen[laag][2]; 47 DIVvpos = div_plaatsen[laag][1]; DIVhoog =div_plaatsen[laag][3]; 48 if(typeof(DIVhpos)=='string' && DIVhpos.indexOf(':') > 0){var arr=DIVhpos.split(/\:/);DIVh=arr[0];DIVhpos=arr[1];}else{DIVh='left'} 49 if(typeof(DIVhpos)=='number' || DIVhpos.indexOf('%')==-1){DIVhpos=eval(DIVhpos)+'px'} else { DIVhpos=eval(DIVhpos); } 50 if(typeof(DIVvpos)=='string' && DIVvpos.indexOf(':') > 0){var arr=DIVvpos.split(/\:/);DIVv=arr[0];DIVvpos=arr[1];}else{DIVv='top'} 51 if(typeof(DIVvpos)=='number' || DIVvpos.indexOf('%')==-1){DIVvpos=eval(DIVvpos)+'px'} else { DIVvpos=eval(DIVvpos); } 52 if(typeof(DIVbreed)=='number' || DIVbreed.indexOf('%')==-1){DIVbreed=eval(DIVbreed)+'px'} 53 if(typeof(DIVhoog) =='number' || DIVhoog.indexOf('%') ==-1){DIVhoog =eval(DIVhoog) +'px'} 54 if(DIVh=='left' ){l.left =DIVhpos;} 55 if(DIVh=='right' ){l.right =DIVhpos;} 56 if(DIVv=='top' ){l.top =DIVvpos;} 57 if(DIVv=='bottom'){l.bottom=DIVvpos;} 58 l.width =DIVbreed; 59 l.height=DIVhoog; 60 } 61 if ( extra_cmd.length > 0 ) { eval(extra_cmd); } 62 resizeteller = 0; 63} 64function resizetesterFunction(extra_cmd) {
65 resizetesterNIEUW = parent.innerWidth/parent.innerHeight; 66 if (resizetester != resizetesterNIEUW && resizetester > 0) {resizeteller++ } 67 if (resizeteller > 0 ) { Herladen("'"+extra_cmd+"'") } 68// window.status= reloadtester+'|'+reloadtesterNIEUW; 69 resizetester = resizetesterNIEUW; 70 extra_cmd = extra_cmd.replace(/"/g,'\\"'); 71 extra_cmd = extra_cmd.replace(/'/g,'\\\''); 72// alert("resizetesterFunction('"+extra_cmd+"')"); 73 setTimeout("resizetesterFunction('"+extra_cmd+"')",1500); 74} 75function testresize(extra_cmd) { 76 if ( typeof(extra_cmd) == 'undefined' ) { extra_cmd = ''; } 77 extra_cmd = extra_cmd.replace(/"/g,'\\"'); 78 extra_cmd = extra_cmd.replace(/'/g,'\\\''); 79 if(!ie4up) { 80 setTimeout("resizetesterFunction('"+extra_cmd+"')",500); 81 } else { 82// alert("Herladen('"+extra_cmd+"')"); 83 window.onresize = new Function("Herladen('"+extra_cmd+"')"); 84 } 85} 86 87aapje='@'; // <scr ipt type="text/javascript">d.write(aapje)</scr ipt> 88function knoopmail(n,o,i) { // naam[domein]nl of naam ,onderwerp,inhoud // antispammailer by www.knoop.nl (c)2005 Knooppunt 89 if(n.indexOf('[')>0){n=n.substring(0,n.indexOf('['))+aapje+n.substring(n.indexOf('[')+1,n.indexOf(']'))+'.'+n.substring(n.indexOf(']')+1,n.length);var d=''} 90 else{var d=aapje+location.host.substring(location.host.substring(0,location.host.lastIndexOf('.')).lastIndexOf('.')+1,location.host.length)} 91 if(!o){o='Reactie op site ('+location.host;if(n=='webmaster'){o+=location.pathname};o+=')'}if(!i){i=''} 92 var m="mailto:"+n+d+"?subject="+o+"&body="+i; 93 window.location.href = m; 94} 95/* ook de spatie hier tussenuit halen: * / 96<scr ipt type="text/javascript" language="JavaScript"> 97/* <![CDATA[ * / 98knoopmailC('naam[domein]tld',[onderwerp],[inhoud],[style]); 99/* ]]> * / 100</scr ipt> 101*/ 102 103function knoopmailC(n,o,i,s,dID) { // naam[domein]nl of naam ,onderwerp,inhoud // antispammailer by www.knoop.nl (c)2005 Knooppunt 104 var u = 'undefined'; 105 var m = '<a href="javas'+'cript:knoopmail(\''+n+'\''; 106 if (typeof(o) != u) { m+= ',\''+o+'\''; } 107 if (typeof(i) != u) { m+= ',\''+i+'\''; } 108 m+= ')"'; 109 if ( typeof(s) != u ) { m+= ' class="'+s+'"'; } 110 if(n.indexOf('[')>0){dom=n.substring(n.indexOf('[')+1,n.indexOf(']'))+'.'+n.substring(n.indexOf(']')+1,n.length);n=n.substring(0,n.indexOf('['));} 111 else{var dom=location.host.substring(location.host.substring(0,location.host.lastIndexOf('.')).lastIndexOf('.')+1,location.host.length)} 112 m+= '>'+n+aapje+dom+'</a>'; 113 if(typeof(dID) != u && dID != '' ){setDIVcontent(dID,m); } 114 else {document.write(m);} 115} 116/* 117<scr ipt type="text/javascript" language="JavaScript"><!-- 118plaats_div('naam',hpos,vpos,br,h,laag,'visible'); 119// --></scr ipt> 120*/ 121var div_plaatsen = new Object; 122function plaats_div(naam,DIVhpos,DIVvpos,DIVbreed,DIVhoog,DIVlaag,DIVhidvis,DIVextra) { //DIVhpos,DIVvpos tussen '..', voor herpossitionering! 123 var u = 'undefined'; 124 div_plaatsen[naam] = new Array(DIVhpos,DIVvpos,DIVbreed,DIVhoog); 125 if(typeof(DIVhpos)=='string' && DIVhpos.indexOf(':') > 0){DIV=DIVhpos.split(':');DIVh=DIV[0];DIVhpos=DIV[1]}else{DIVh='left'} 126 if(typeof(DIVvpos)=='string' && DIVvpos.indexOf(':') > 0){DIV=DIVvpos.split(':');DIVv=DIV[0];DIVvpos=DIV[1]}else{DIVv='top'} 127// alert(typeof(DIVhpos)+'\n'+DIVhpos); 128 if(typeof(DIVbreed)=='number' || DIVbreed.indexOf('%')==-1){DIVbreed=eval(DIVbreed)+'px'} DIVhpos=eval(DIVhpos); 129 if(typeof(DIVhoog) =='number' || DIVhoog.indexOf('%') ==-1){DIVhoog =eval(DIVhoog) +'px'} DIVvpos=eval(DIVvpos); 130 if(typeof(DIVextra)!=u){ 131 if(DIVextra.indexOf('relative')>=0){DIVpos='relative';DIVextra=DIVextra.replace(/relative/g,''); } 132 else {DIVpos='absolute';DIVextra=DIVextra.replace(/absolute/g,''); } 133 } else { DIVpos='absolute';DIVextra='' } 134 str = '<div id="'+naam+'" style="position: '+DIVpos; 135 if(typeof(DIVhpos) !=u){str+='; '+DIVh+':'+DIVhpos;if (typeof(DIVhpos) == 'number' ){str+='px'} } 136 if(typeof(DIVvpos) !=u){str+='; '+DIVv+':'+DIVvpos;if (typeof(DIVvpos) == 'number' ){str+='px'} } 137 if(typeof(DIVbreed)!=u){str+='; width:'+DIVbreed; if (typeof(DIVbreed)== 'number' ){str+='px'} } 138 if(typeof(DIVhoog) !=u){str+='; height:'+DIVhoog; if (typeof(DIVhoog) == 'number' ){str+='px'} } 139 if(typeof(DIVlaag) !='undefined'){str+='; z-index:'+DIVlaag} 140 str+='; visibility:'+DIVhidvis+' '+DIVextra+'">\n';d.write(str);// alert("\n"+str) 141} 142//javasc ript:createWindow('popup.html','window1','width=200,height=245,status') 143function createWindow(cUrl,cName,cFeatures) { 144 var xWin = window.open(cUrl,cName,cFeatures); 145 breedte = cFeatures.substring(cFeatures.indexOf('width=') +6,cFeatures.indexOf(',',cFeatures.indexOf('width='))); 146 hoogte = cFeatures.substring(cFeatures.indexOf('height=')+7,cFeatures.indexOf(',',cFeatures.indexOf('height='))); 147 xWin.resizeTo(breedte,hoogte); 148// alert(breedte+'|'+hoogte); 149 xWin.focus(); 150} 151 152function setOpacity(l,o) {//laag,opacity 153 if (typeof(d.getElementById(l)) != 'object' 154 || d.getElementById(l) == null ) { return; } // top.d.title = 'ID:'+l+' NOT an Object'; 155 l = d.getElementById(l).style; 156 if(!(ie4up||ie5up||op5up||ie8up)) { 157 o = (o == 100)?99.999:o; // voorkom 'flikker' in FireFox 158 } 159 if ( o == 0 ) { l.visibility = 'hidden' } 160 else { l.visibility = 'visible' 161// d.title = 'setOpacity:'+l+' '+o+' '+l.visibility; 162 l.filter = "alpha(opacity:"+o+")";// IE/Win 163 l.KHTMLOpacity = o/100; // Safari<1.2, Konqueror 164 l.MozOpacity = o/100; // Older Mozilla and Firefox 165 l.opacity = o/100; // Safari 1.2, newer Firefox and Mozilla, CSS3 166 } 167} 168 169function setDIVcontent(n,s) { //naam,string 170 if (ie4up) { 171 d.all[n].innerHTML = s; 172 } else if (ns4up) { 173 d.layers[n].document.open(); 174 d.layers[n].document.write(s); 175 d.layers[n].document.close(); 176 } else if (ns6up) { 177 d.getElementById(n).innerHTML = s; 178 } 179} 180function getDIVcontent(n) {//naam 181 var s = '';//string 182 if (ie4up) { 183 s = d.all[n].innerHTML; 184 } else if (ns4up) { 185 s = d.layers[n].document.text; 186 } else if (ns6up) { 187 s = d.getElementById(n).innerHTML; 188 } 189 return s; 190} 191 192//testet = 0; 193fix_height_obj = new Object(); 194function fix_height(stretch_div,minus,h_min,h_prev,h_prev_test,counter) { 195 var u = 'undefined'; 196 var h = 0; 197 if (d.getElementById) { 198 if (d.getElementById(stretch_div)) { 199 // de stretch-db vullen 200 if (typeof(h_prev) == u) { 201 fix_height_obj[stretch_div] = new Object(); 202 fix_height_obj[stretch_div]['h'] = 1; 203 fix_height_obj[stretch_div]['h_min']= h_min; 204 fix_height_obj[stretch_div]['minus']= minus; 205 } 206 if (typeof(counter) == u ) { counter= 0; } 207 if (typeof(h_min) == u ) { h_min = 1; } 208 fixed_it = false; 209 h = get_height(1); 210//testet++; 211 var h_test = h;
212 counter++; 213 if (typeof(h_prev) == u || h_prev != h ) { 214 fixed_it = true; 215 // start with the minimum height (in case of smaller -> larger -> smaller) 216 for ( var i in fix_height_obj ) { 217 if (fix_height_obj[i]['h'] != h) { 218 d.getElementById(i).style.height = fix_height_obj[i]['h_min']+'px'; 219 } 220 } 221 // get the height again!! 222 h = get_height(1); 223 // set the height of the stretch_div 224 for ( var i in fix_height_obj ) { 225 fix_height_obj[i]['h'] = h; 226 // minus the pixels you desired 227 obj_height = fix_height_obj[i]['h'] - fix_height_obj[i]['minus']; 228 // set the minimum height or at least prevent a negative height 229 if (obj_height < fix_height_obj[i]['h_min'] ) { 230 obj_height = fix_height_obj[i]['h_min']; 231 } 232 d.getElementById(i).style.height = (obj_height)+'px'; 233 } 234 } 235 if (typeof(fix_height_timer) != u) { clearTimeout(fix_height_timer);} 236 237 timer = 1000; 238 if (h_test == h_prev_test 239 && h_test != h ) { 240 fixed_it = 'fix_height_overload?'; 241 timer*=5; 242 } 243 fix_height_timer = setTimeout('fix_height(\''+stretch_div+'\','+minus+','+h_min+','+(h)+','+(h_test)+','+(counter)+');',timer); 244 } else { 245 alert('Can\'t find the div to stretch ('+stretch_div+')'); 246 } 247 } 248} 249function get_height(h_min) { 250 var h = h_min; 251 var u = 'undefined'; 252 if (typeof(d.body) != u) { 253 if (typeof(d.body.clientHeight) != u 254 && d.body.clientHeight > h ) { h = d.body.clientHeight; } 255 if (typeof(d.body.scrollHeight) != u 256 && d.body.scrollHeight > h ) { h = d.body.scrollHeight; } 257 if (typeof(d.body.parentNode) != u 258 && typeof(d.body.parentNode.scrollHeight)!= u 259 && d.body.parentNode.scrollHeight > h ) { h = d.body.parentNode.scrollHeight; } 260 } 261 if (typeof(d.documentElement) != u 262 && typeof(d.documentElement.clientHeight) != u 263 && d.documentElement.clientHeight > h ) { h = d.documentElement.clientHeight; } 264 return h; 265}
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.