// startpagina.js - hoort bij http://fluweelblad.leidenuniv.nl/wimjan/ // 20180126 random_str= ""; // Math.round(100*Math.random()); function removeSpaces(t) // veranderd 20 okt { s = t.toString(); while (s.substring(0,1) == ' ') { s = s.substring(1, s.length); }; while (s.substring(s.length-1) == ' ') { s = s.substr(0, s.length-1); }; return s; }; mytoday = new Date(); myday = mytoday.getDay(); myarday = new Array("zondag1.jpg", "maandag1.jpg", "dinsdag1.jpg", "woensdag1.jpg", "donderdag1.jpg", "vrijdag1.jpg", "zaterdag1.jpg"); CowboyHenkImgUrl = "http://www.rotterdamsdagblad.nl/cowboyhenk/images/" + myarday[myday]; // makeURL(): vult de juiste parameters in voordat een van de search engines wordt opgeroepen function makeURL() { var temp = '', tempquery='', tempmethod = 0, tempengine='', url='', i=0; document.forms["myquerybox"].query.value = removeSpaces(document.forms["myquerybox"].query.value); for (i = 0; i < document.forms["myquerybox"].searcher.length; i++) // welke search engine geselecteerd? if (document.forms["myquerybox"].searcher.options[i].selected) { tempengine = document.forms["myquerybox"].searcher.options[i].value; if (tempengine == '') { tempengine = document.forms["myquerybox"].searcher.options[i].text; }; }; for (i=0; i <3; i++) // all, phrase of any? if (document.forms["myquerybox"].method[i].checked) tempmethod = i if (tempengine=='Fast') { url="http://www.alltheweb.com/cgi-bin/search?exec=FAST+Search&type="; if (tempmethod==0) temp='all'; if (tempmethod==1) temp='phrase'; if (tempmethod==2) temp='any'; url += temp + "&query=_search_term_|http://www.alltheweb.com/cgi-bin/advsearch"; }; if (tempengine=='Translate') { url="https://translate.google.nl/?hl=nl&tab=wT#auto/nl/_search_term_"+ "|https://translate.google.nl/?hl=nl&tab=wT#auto/nl/"; }; if (tempengine=='etymologie') { url="http://etymologiebank.nl/zoeken/_search_term_"+ "|https://etymologiebank.nl"; }; if (tempengine=='voornamen1') { url="http://www.meertens.knaw.nl/nvb/naam/is/_search_term_"+ "|http://www.meertens.knaw.nl/nvb/"; }; if (tempengine=='voornamen2') { url="http://www.behindthename.com/php/search.php?nmd=n&terms=_search_term_|http://www.behindthename.com/"; }; if (tempengine=='achternamen') { // url="http://www.meertens.knaw.nl/nfd/lijst_namen.php?naam=_search_term_|http://www.meertens.knaw.nl/nfd/"; url="http://www.meertens.knaw.nl/nfb/lijst_namen.php?operator=eq&naam=_search_term_|http://www.meertens.knaw.nl/nfb/"; }; if (tempengine=='achternamen2') { url="http://howie.besite.be/~uhuru/names_nl/map.php?name=_search_term_|http://familienaam.nl/"; }; if (tempengine=='MSN') { if (tempmethod==1) temp='%22'; else temp=''; url="http://techpreview.search.msn.nl/results.aspx?q=" + temp + "_search_term_" + temp; url=url+'&first=1&count=100|http://techpreview.search.msn.nl/'; }; if (tempengine=='YouTube') { if (tempmethod==1) temp='%22'; else temp=''; url="http://www.youtube.com/results?search_query=" + temp + "_search_term_" + temp + "&search_type=&aq=f"; url=url+'&first=1&count=100|http://techpreview.search.msn.nl/'; }; if (tempengine=='Twitter') { if (tempmethod==1) temp='%22'; else temp=''; url="http://twitter.com/search?q=" + temp + "_search_term_" + temp; url=url+'|http://twitter.com/'; }; if (tempengine=='Wieowie') { url="http://wieowie.nl/personen?fullname=_search_term_|http://wieowie.nl/"; }; if (tempengine=='Wiki_en') { if (tempmethod==1) temp='%22'; else temp=''; url="http://en.wikipedia.org/wiki/Special:Search?search=" + temp + "_search_term_" + temp; url=url+'&go=Go|http://wikipedia.org'; }; if (tempengine=='Wiki_nl') { if (tempmethod==1) temp='%22'; else temp=''; url="http://nl.wikipedia.org/wiki/Special:Search?search=" + temp + "_search_term_" + temp; url=url+'&go=Go|http://nl.wikipedia.org'; }; if (tempengine=='Answers') { url="http://www.answers.com/main/ntquery?s=_search_term_|http://www.answers.com/"; }; if (tempengine=='eMule') { url="http://www.filehash.com/search.html?pattern=_search_term_"; url=url+'|http://www.filedonkey.com/'; }; if (tempengine=='piratebay') { url="https://pirateproxy.sh/search.php?q=_search_term_"; url=url+'|http://pirateproxy.sh/'; }; if (tempengine=='torrentproject') { url="https://torrentproject.se/?s=_search_term_"; url=url+'|https://torrentproject.se'; }; if (tempengine=='torrentz') { url="http://www.torrentz.com/search?q=_search_term_"; url=url+'|http://www.torrentz.com/'; }; if (tempengine=='btjunkie') { url="http://btjunkie.org/search?q=_search_term_"; url=url+'|http://btjunkie.org/'; }; if (tempengine=='nforce') { document.forms["nforceForm"].search_name.value = document.forms["myquerybox"].query.value; document.forms["nforceForm"].submit(); return false; }; if (tempengine=='bitenova') { document.forms["bitenovaForm"].search.value = document.forms["myquerybox"].query.value; document.forms["bitenovaForm"].submit(); return false; }; if (tempengine=='isohunt') { url="http://isohunt.com/torrents.php?ihq=_search_term_&ext=&op=and&ihp=1&iht=-1&ihs1=8&iho1=a"; url=url+'|http://isohunt.com/'; }; if (tempengine=='bittorrent') { url="http://search.bittorrent.com/search.jsp?query=_search_term_&Submit2=Search"; url=url+'|http://www.bittorrent.com/'; }; if (tempengine=='reactor') { url="http://www.torrentreactor.net/search.php?search=&words=_search_term_&cid=&type=1&orderby=a.id&asc=0"; url=url+'|http://www.torrentreactor.net/'; }; if (tempengine=='portal') { url="http://www.torrentportal.com/torrents-search.php?search=_search_term_&sort=id&d=desc&type=and&sizel=&sizeh=&cat=0&exclude="; url=url+'|http://www.torrentportal.com/torrents-search.php'; }; if (tempengine=='reactor.to') { document.forms["reactortoForm"].q.value = document.forms["myquerybox"].query.value; document.forms["reactortoForm"].submit(); return false; }; if (tempengine=='torrentspy') { url="http://www.torrentspy.com/search.asp?query=_search_term_"; url=url+'|http://www.torrentspy.com/'; }; if (tempengine=='torrentz.nu') { url="http://torrentz.nu/search.php?Search=_search_term_&Submit=Find+Torrent&Site=All+sites"; url=url+'|http://torrent.hackz.nl/'; }; if (tempengine=='mininova') { url="http://www.mininova.org/search/_search_term_/added"; url=url+'|http://www.mininova.org/'; }; if (tempengine=='Google') { if (tempmethod==1) url="http://www.google.nl/search?hl=all&as_epq=_search_term_&ft=i&as_qdr=all&as_occt=any"; else url="http://www.google.nl/search?hl=all&as_q=_search_term_&ft=i&as_qdr=all&as_occt=any"; url=url+'|http://www.google.nl/advanced_search?hl=all'; }; if (tempengine=='Google_nl') { if (tempmethod==1) url="http://www.google.nl/search?hl=all&as_epq=_search_term_&lr=lang_nl&ft=i&as_qdr=all&as_occt=any"; else url="http://www.google.nl/search?hl=all&as_q=_search_term_&lr=lang_nl&ft=i&as_qdr=all&as_occt=any"; url=url+'|http://www.google.nl/advanced_search?hl=all'; }; if (tempengine=='IntelliSeek') { url="http://www.intelliseek.com/cgi-bin/nph-ProFusion.pl?&cstr=display=all&totalverify=all&auto=all&engine1=AltaVista&engine2=Yahoo&engine3=InfoSeek&engine4=LookSmart&engine5=WebCrawler&engine6=Lycos&engine7=Netscape&engine8=Excite&engine9=DirectHit&newLocation=&customEngines=AltaVista%2CInfoSeek%2CLookSmart%2CYahoo%2CNetscape%2CWebCrawler%2CExcite%2CDirectHit%2CLycos&pid=profusion&search=web&log=yes&keyword=profusion&option="; if (tempmethod==0) temp='all'; if (tempmethod==1) temp='phrase'; if (tempmethod==2) temp='any'; url += temp + "&queryterm=_search_term_|http://www.intelliseek.com/adv_search.htm"; }; if (tempengine=='zWorks') { url="http://www.zworks.com/srch/srch.cgi?mod=modules&flt=no&what="; if (tempmethod==1) temp = '"'; else temp = ''; url = url + temp + "_search_term_" + temp + '|http://www.zworks.com/'; }; if (tempengine=='ixquick (int)') { zoekterm = document.forms["myquerybox"].query.value; if (zoekterm == "") { url = "/cgi-bin/engine.pl?query=&engine=|http://www.ixquick.com/"; } else { url="http://ixquick.com/do/metasearch.pl?cat=web&cat=web&cmd=process_search&language=english&query="; if (tempmethod==1) temp = '%22'; else temp = ''; zoekterm = _replace(zoekterm, ' ', '+'); if (tempmethod==0) { zoekterm = '+' + zoekterm; zoekterm = _replace(zoekterm, '+', '+%2B'); zoekterm = _replace(zoekterm, ' ', '+'); }; url = url + temp + zoekterm + temp; }; document.location.href = url; return false; } if (tempengine=='ixquick (NL)') { zoekterm = document.forms["myquerybox"].query.value; if (zoekterm == "") { url = "/cgi-bin/engine.pl?query=&engine=|http://search.surfboard.nl/"; } else { url="http://ixquick.com/do/metasearch.pl?cat=web&cat=web&cmd=process_search&lui=nederlands&language=nederlands&query="; if (tempmethod==1) temp = '%22'; else temp = ''; zoekterm = _replace(zoekterm, ' ', '+'); if (tempmethod==0) { zoekterm = '+' + zoekterm; zoekterm = _replace(zoekterm, '+', '+%2B'); zoekterm = _replace(zoekterm, ' ', '+'); }; url = url + temp + zoekterm + temp; }; document.location.href = url; return false; } if (tempengine=='Britannica') { url="http://search.britannica.com/search?query=_search_term_&ct=|http://www.britannica.com/"; }; if (tempengine=='Encarta') { url="http://encarta.msn.com/encnet/refpages/SRPage.aspx?search=_search_term_&Submit2=Go|http://encarta.msn.com/default.asp"; }; if (tempengine=='kranten') { url="http://www.nederlandsch.net/nieuws/?q=_search_term_|http://www.nederlandsch.net/nieuws/"; }; if (tempengine=='HotBot') { url="http://www.hotbot.com/?_v=2&RD=DM&OPs=R&DC=100&domain=&SM=" if (tempmethod==0) temp='MC'; if (tempmethod==1) temp='phrase'; if (tempmethod==2) temp='SC'; url += temp + "&MT=_search_term_|http://hotbot.lycos.com/?MT=&SM=MC&DV=0&LG=any&DC=10&DE=2&act.super.x=59&act.super.y=6"; }; if (tempengine=='Ilse') { url="http://www.ilse.nl/?COMMAND=search_for&LANGUAGE=NL&EXTRACT=long&AFTER=&SEARCH_FOR="; if (tempmethod==1) temp = '"'; else temp = ''; url = url + temp + "_search_term_" + temp + "&ANDOR="; if (tempmethod<2) temp='AND'; else temp='OR'; url += temp + '|http://www.ilse.nl/'; } if (tempengine=='AV') { zoekterm = document.forms["myquerybox"].query.value; if (zoekterm == "") { url = "/cgi-bin/engine.pl?query=&engine=|http://www.altavista.com/r?L05"; } else { url="http://www.altavista.com/cgi-bin/query?pg=q&sc=on&hl=on&kl=XX&stype=stext&q="; if (tempmethod==1) temp = '"'; else temp = ''; if (tempmethod==0) { zoekterm = '%2B' + zoekterm; zoekterm = _replace(zoekterm, '+', '+%2B'); zoekterm = _replace(zoekterm, ' ', '+%2B'); }; url = url + temp + zoekterm + temp; }; document.location.href = url; return false; } document.forms["myquerybox"].engine.value = url document.forms["myquerybox"].submit(); return true; // nog eens submit, voor oudere browsers ? } // makeURL() function vertaalProc() // travlangForm is het formulier van www.travlang.com // vertaalForm bevat een paar drop-down boxes met bron- en doeltaal en een querybox (query) { welkeEngine = 'Travlang'; document.forms["_vertaalForm"].query.value = removeSpaces(document.forms["vertaalForm"].query.value); if (welkeEngine == 'Travlang') { document.forms["_vertaalForm"].engine.value = "http://dictionaries.travlang.com/" + document.forms["vertaalForm"].bronTaal.options[document.forms["vertaalForm"].bronTaal.selectedIndex].value + document.forms["vertaalForm"].doelTaal.options[document.forms["vertaalForm"].doelTaal.selectedIndex].value + '/dict.cgi?max=50&query=_search_term_|http://dictionaries.travlang.com/'; }; document.forms["_vertaalForm"].submit(); return false; }; function zoekPersoon() { myengine = ""; mytemp = document.forms["persoonForm"].enginex.selectedIndex; myengine = removeSpaces(document.forms["persoonForm"].enginex.options[mytemp].value); myfirst = removeSpaces(document.forms["persoonForm"].first.value); mylast = removeSpaces(document.forms["persoonForm"].last.value); mycity = removeSpaces(document.forms["persoonForm"].city.value); switch (myengine) { case 'telefoon': { myfirst = _replace(myfirst, ' ', '+'); mylast = _replace(mylast, ' ', '+'); mycity = _replace(mycity, ' ', '+'); // temp = "http://www.detelefoongids.nl/tginl.dll?action=white&type=search&resultsperpage=25&pagestart=1&name2=" + mylast + // "&name=&initials=" + myfirst + "&city=" + mycity + "&citycode=&dcity=" + mycity + "&areacode=&dname=" + mylast + // "&dwhere=" + mycity + "&country=&source=homepage"; temp = "http://dtgi.detelefoongids.nl/dtgi/ZoekVanuitCTGi.do?action=white&type=search&resultsperpage=100&pagestart=1&"+ "name2="+mylast+"&name=&initials="+myfirst+"&city="+mycity+"&citycode=&dcity="+mycity+"&areacode=&dname="+mylast+ "&dwhere="+mycity+"&country=&source=homepage"; document.location.href = temp; return false; break; }; case 'telgids': { myfirst = _replace(myfirst, ' ', '+'); mylast = _replace(mylast, ' ', '+'); mycity = _replace(mycity, ' ', '+'); if (myfirst != '') mylast = mylast + "+" + myfirst; document.forms["ggForm"].what.value = mylast; document.forms["ggForm"].where.value = mycity; document.forms["ggForm"].submit(); break; }; case 'MetaSearch': { window.location.href="http://213.133.123.154/cgi-bin/metanamesearch/metanamesearch.pl?first=" + myfirst + "&last=" + mylast + "&doall=on&timeout=10&exact=on"; return false; break; }; case 'testmail': { temp = "http://centralops.net/co/EmailDossier.vbs.asp"; if (mycity != '') { temp = temp + "?email=" + mycity + "&vrfy_expn=true"; }; window.location.href=temp; return false; break; }; case 'UL': { if ((mylast == "") && ( mycity != "")) { mylast = mycity }; document.location.href="http://zoekenopnaam.leidenuniv.nl/index.php?search_for="+mylast; return false; break; }; case 'ICQ': { document.forms["frmSearch"].fname.value = myfirst; document.forms["frmSearch"].lname.value = mylast; document.forms["frmSearch"].nickname.value = mycity; document.forms["frmSearch"].submit(); break; }; case 'Surfnet': { document.forms["surfnetForm"].name.value = mylast; document.forms["surfnetForm"].submit(); break; }; }; return false; } // zoekPersoon function taalZoek() { if (document.forms["taalForm"].engine.value == 'quote') { document.forms["quotezForm"].terms.value = removeSpaces(document.forms["taalForm"].query.value); document.forms["quotezForm"].submit(); return false; } else if (document.forms["taalForm"].engine.value == 'onzetaal') { document.forms["onzetaalForm"].keywords.value = removeSpaces(document.forms["taalForm"].query.value); document.forms["onzetaalForm"].submit(); return false; } else return true; } function receptZoek() { tempzoek = removeSpaces(document.forms["receptForm"].query.value); if (document.forms["receptForm"].engine.value == 'interact') { if (tempzoek == "") { location.href="http://kookboek.interact.nl/home.html"; } else { document.forms["interactForm"].keyword.value = tempzoek; document.forms["interactForm"].submit(); }; return false; } if (document.forms["receptForm"].engine.value == 'Odin') { if (tempzoek == "") { location.href="http://odin.nl/nl/recept/receptenboek.asp"; } else { document.forms["odinForm"].anderegroente.value = tempzoek; document.forms["odinForm"].submit(); }; return false; } else return true; } function _replace(s, zoektekst, vervanging) // zoekt in s naar zoektekst en vervangt die dan (telkens) door vervanging { var temp = ''; arrayOfStrings = s.split(zoektekst); for (var i=0; i < arrayOfStrings.length-1; i++) { temp = temp + arrayOfStrings[i] + vervanging; }; temp = temp + arrayOfStrings[arrayOfStrings.length-1]; // alert('orig = [' + s + ']; zoek = [' + zoektekst + ']; vervang = [' + vervanging + ']; resultaat = [' + temp + ']'); return temp; }; function checkGeekForm() { if (document.forms["geekForm"].engine.value == "virus db") { document.forms["VirusEncyclo01"].otxVNameAlias.value = removeSpaces(document.forms["geekForm"].query.value); document.forms["VirusEncyclo01"].submit(); return false; } else if (document.forms["geekForm"].engine.value == "archive") { bladiebla = removeSpaces(document.forms["geekForm"].query.value); if (bladiebla.indexOf("http://") != 0) { bladiebla = "http://" + bladiebla; }; window.location = "http://web.archive.org/web/*/" + bladiebla; return false; } else if (document.forms["geekForm"].engine.value == "httpheaders") { bladiebla = removeSpaces(document.forms["geekForm"].query.value); blaurl = 'http://web-sniffer.net/' if (bladiebla != '') { if (bladiebla.indexOf("http://") != 0) { bladiebla = "http://" + bladiebla; }; blaurl = blaurl + '?url=' + escape(bladiebla) + '&submit=Submit&http=1.1&gzip=yes&type=GET&uak=9'; }; window.location = blaurl; return false; } else { return true; }; }; function checkkaartForm() { document.forms["kaartForm"].kaartquery.value = removeSpaces(document.forms["kaartForm"].kaartquery.value); vraag = document.forms["kaartForm"].kaartquery.value; soort = document.forms["kaartForm"].kaartengine.value; temp = ""; if (soort == 'plaats') { if (vraag != '') { temp = "http://www.expedia.com/pub/agent.dll?lmap=2&clvl=6&cnty1=4&wpst1=1®n1=2&plce1=" + vraag + "®p1=2&subm=1&ccty=0&qscr=mmfn"; } else { temp = 'http://www.expedia.com/pub/agent.dll?qscr=mmfn'; } } else if (soort == 'livemaps') { if (vraag != '') { temp = "http://www.bing.com/maps/?mkt=nl-nl&q=" + vraag; } else { temp = 'http://www.bing.com/maps/'; } } else if (soort == 'gmaps') { if (vraag != '') { // temp = "http://maps.google.com/maps?hl=en&ie=UTF8&oe=UTF-8&q=" + vraag + // "&oi=maps_qr&sa=X&cd=0&cad=map_of_query"; temp = "http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=" + vraag + "&ie=UTF8&t=h"; } else { temp = 'http://maps.google.com/'; } }; window.location = temp; return false; }; function checkFilmForm() { document.forms["filmForm"].query.value = removeSpaces(document.forms["filmForm"].query.value); if (document.forms["filmForm"].engine.value == "cinema") { bla = removeSpaces(document.forms["filmForm"].query.value); if (bla != "") { document.forms["cinemaForm"].query.value = bla; document.forms["cinemaForm"].submit(); return false; } else { window.location = "http://www.cinema.nl"; return false; }; } else if (document.forms["filmForm"].engine.value == "moviemeter") { if (removeSpaces(document.forms["filmForm"].query.value) == "") { window.location = "http://www.moviemeter.nl"; return false; } else { document.forms["moviemeterForm"].search[title].value = removeSpaces(document.forms["filmForm"].query.value); document.forms["moviemeterForm"].submit(); return false; }; } else if (document.forms["filmForm"].engine.value == "extratitles") { if (removeSpaces(document.forms["filmForm"].query.value) == "") { window.location = "http://titles.box.sk/"; return false; } else { document.forms["extratitlesForm"].z3.value = removeSpaces(document.forms["filmForm"].query.value); document.forms["extratitlesForm"].submit(); return false; }; } else if (document.forms["filmForm"].engine.value == "subbiee") { if (removeSpaces(document.forms["filmForm"].query.value) == "") { window.location = "http://www.subbiee.com/"; return false; } else { document.forms["subbieeForm"].title.value = removeSpaces(document.forms["filmForm"].query.value); document.forms["subbieeForm"].submit(); return false; }; } else if (document.forms["filmForm"].engine.value == "nlondertitels") { if (removeSpaces(document.forms["filmForm"].query.value) == "") { window.location = "http://www.nlondertitels.com/"; return false; } else { document.forms["nlondertitelsForm"].search.value = removeSpaces(document.forms["filmForm"].query.value); document.forms["nlondertitelsForm"].submit(); return false; }; } else { return true; }; }; // ************************ // preload images function preload() { if (WJ) { if (!document.images) return; var ar = new Array(); if (!preload.arguments) return; var arguments = preload.arguments; for (var i = 0; i < arguments.length; i++) { ar[i] = new Image(); ar[i].src = arguments[i]; } } } function CartoonComboChange(newvalue) { if (WJ) { // alert('about to set src to ' + newvalue); if (newvalue == "Fokke en Sukke") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/fokkesukke.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Cowboy Henk") { document.images['Cartoon'].src=CowboyHenkImgUrl + '?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Garfield") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/garfield.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Calvin and Hobbes") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/calvinhobbes.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "MisterBoffo") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/misterboffo.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Adamathome") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/adamathome.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Dilbert") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/dilbert.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "Userfriendly") { document.images['Cartoon'].src='http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/userfriendly.pl?' + random_str + '&name='+escape(newvalue); } else if (newvalue == "ctrlaltdel") { // document.images['Cartoon'].src='http://www.ctrlaltdel-online.com/archives.php?date=last'; } else { document.images['Cartoon'].src='/wimjan/images/error404.gif'; }; // temp = document.images['Cartoon'].height; // alert(temp); // document.images['Cartoon'].height = temp; }; // if WJ }; function GetRandomCartoon() { // alert('aaa'); if (document.images) { blaat = Math.floor(document.forms['cartoonForm'].CartoonCombo.options.length * Math.random()); // alert('blaat = ' + blaat); temp = document.forms['cartoonForm'].CartoonCombo.options[blaat].value; CartoonComboChange(temp); SyncCartoonCombo(); }; // hier stond preload // preload("http://www.nrc.nl/FS/vandaag.gif?" + random_str + "&name=Fokke%20en%20Sukke", // "http://spitsnet.nl/koots.gif?" + random_str + "name=Koots", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/metro.pl?0&" + random_str + "&name=Metro%20Bielzenblues", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/metro.pl?1&" + random_str + "&name=Metro%20Scribbly", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/metro.pl?2&" + random_str + "&name=Metro%20Wisselstrip", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/deardudley.pl?" + random_str + "name=DearDudley", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/userfriendly.pl?" + random_str + "name=Userfriendly", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/garfield.pl?" + random_str + "name=Garfield", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/calvinhobbes.pl?" + random_str + "name=Calvin%20and%20Hobbes", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/misterboffo.pl?" + random_str + "name=MisterBoffo", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/dilbert.pl?" + random_str + "name=Dilbert", // "http://fluweelblad.leidenuniv.nl/~inventio/cgi-bin/adamathome.pl?" + random_str + "name=AdamatHome"); }; function SyncCartoonCombo() { // alert('bbb'); s=document.images['Cartoon'].src; i=s.lastIndexOf('=')+1; t=unescape(s.slice(i)); i=0; Combo=document.forms["cartoonForm"].CartoonCombo; while ((i