home *** CD-ROM | disk | FTP | other *** search
- talen = new Array();
- talen[0] = "en";
- talen[1] = "Engels";
- talen[2] = "nl";
- talen[3] = "Nederlands";
-
- var frm = parent.frames[1].document.forms.verborgen;
- var taal = frm.taal.value;
- var init = true;
-
- function selecteerTaal() {
- var taalRef = document.selTaal.taal;
- if (init) {
- init = false;
- for (i = 0; i < taalRef.options.length; i++) {
- if (taalRef.options[i].value == taal) {
- taalRef.selectedIndex = i;
- }
- }
- } else {
- taal = taalRef.options[taalRef.selectedIndex].value;
- var frm = parent.frames[1].document.forms.verborgen;
- frm.taal.value = taal;
-
- }
-
- var imgs = document.getElementsByTagName("IMG");
- for (i = 0; i < imgs.length; i++) {
- imgs[i].src = "shots/" + taal + "/" + imgs[i].name + ".gif";
- }
- // var path = "shots/" + taal + "/vroeger_nu.gif";
- // eval("document." + afb + ".src= path");
- }
-
- if (document.getElementById)
- {
- document.write ('<div class=popup id=popup100>Kies de taal van de screenshots.</div>');
- document.write ('<DIV style="position: absolute; top: 30px; left: 455px;">');
- document.write ('<FORM name="selTaal">');
- document.write ('<a class=popuplink href="javascript:niets()" onMouseOver="openPopup(100)" onMouseOut="sluitPopup(100)">Taal:</a> ');
- document.write ('<SELECT name="taal" onChange="selecteerTaal();">');
- for (i = 0; i < talen.length; i += 2) {
- document.write ('<OPTION VALUE="' + talen[i] + '">' + talen[i+1] + '</OPTION>');
- }
- document. write ('</SELECT>');
- document. write ('</FORM>');
- document. write ('</DIV>');
-
- selecteerTaal();
- }
- else
- {
- for (i = 0; i < document.images.length; i++)
- document.images[i].src = "shots/en/" + document.images[i].name + ".gif";
- }
-
- function toonAfbeelding(afb, w, h)
- {
-
- w = w + 30;
- var taalRef = document.selTaal.taal;
- taal = taalRef.options[taalRef.selectedIndex].value;
- PCAinterfaceX = (screen.availWidth - w) / 2 - 5;
- PCAinterfaceY = ((screen.availHeight - h) / 2) - 19;
-
- var PopupWeergave = "resizable=no,status=no,scrollbars=no";
- lokaalVenster = window.open("popup1.htm?" + afb + "," + taal, "Informatie", "width="+w+",height="+h+","+PositieY+"=" + PCAinterfaceY + ","+PositieX+"=" + PCAinterfaceX + PopupWeergave)
-
- /* var taalRef = document.selTaal.taal;
- taal = taalRef.options[taalRef.selectedIndex].value;
- path = "shots/" + taal + "/" + afb + ".gif";
- if (w && h) {
- wnd = window.open(path, "handson_afbeelding", "toolbar=0, location=0, status=0, menubar=0, copyhistory=0, scrollbars=0, resizable=0, width=" + w + ", height=" + h);
- }
- else
- {
- wnd = window.open(path, "handson_afbeelding", "toolbar=0, location=0, status=0, menubar=0, copyhistory=0");
- }
- */
- }