// SCRIPT VOOR SmALLER DIV IN MOZILLA // var isOpera = (navigator.userAgent.indexOf('Opera') != -1); // var isIE = (!isOpera && navigator.userAgent.indexOf('MSIE') != -1) //if (!isIE) //{ // document.getElementById('maindiv').style.width=parseInt( document.getElementById('maindiv').style.width)-34; // document.getElementById('bovenkant').style.height=Math.round(parseInt( document.getElementById('bovenkant').style.height)*(11-4)/11)+'%'; // document.getElementById('onderkant').style.height=Math.round(parseInt( document.getElementById('onderkant').style.height)*(11+4)/11)+'%'; //} // EINDE SCRIPT VOOR SmALLER DIV IN MOZILLA // SCRIPT ROTERENDE PLAATJES BOVEN var imagenumber = 16; var randomnumber = Math.random() ; var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ; images = new Array images[1] = "images/foto/1.gif" images[2] = "images/foto/2.gif" images[3] = "images/foto/3.gif" images[4] = "images/foto/4.gif" images[5] = "images/foto/5.gif" images[6] = "images/foto/6.gif" images[7] = "images/foto/7.gif" images[8] = "images/foto/8.gif" images[9] = "images/foto/9.gif" images[10] = "images/foto/10.gif" images[11] = "images/foto/11.gif" images[12] = "images/foto/12.gif" images[13] = "images/foto/13.gif" images[14] = "images/foto/14.gif" images[15] = "images/foto/15.gif" images[16] = "images/foto/16.gif" var image = images[rand1] // EINDE SCRIPT ROTERENDE PLAATJES BOVEN //voor pop-ups /* Default browsercheck, added to all scripts! */ function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; //added this.ie4mac=this.ie4 && navigator.userAgent.indexOf("Mac")>-1 this.ie5mac=this.ie5 && navigator.userAgent.indexOf("Mac")>-1 this.ie55=(this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ie5mac) return this } bw=new checkBrowser() //Shows the div function show(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='visible'; } //Hides the div function hide(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='hidden' } // einde voor pop-ups //menu function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i-1&&document.nieuwsbrief.Emailadres.value.indexOf('.',document.nieuwsbrief.Emailadres.value.indexOf('@'))>2)) {versturen=false;} // verstuur nieuwsbrief if (versturen) { document.nieuwsbrief.submit();} } //-->