/**************************************** (C) 2004 ENO ****************************************/ /**************************************** (C) 2004 ENO ****************************************/ function googleanalytics() { _uacct = "UA-2248420-4"; urchinTracker(); } function googleadsense() { google_ad_client = "pub-9942165894582521"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text"; google_ad_channel = "7528239987"; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "daa65c"; google_color_text = "808080"; google_color_url = "808080"; google_ui_features = "rc:0"; } function googleadsense2() { google_ad_client = "pub-9942165894582521"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text"; google_ad_channel = "7528239987"; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "daa65c"; google_color_text = "808080"; google_color_url = "808080"; google_ui_features = "rc:0"; } function googleadsense3() { google_ad_client = "pub-9942165894582521"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text"; google_ad_channel = "7528239987"; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "daa65c"; google_color_text = "808080"; google_color_url = "808080"; google_ui_features = "rc:0"; } function onestat() { var d=document; var sid="391131"; var CONTENTSECTION=""; var osp_URL=d.URL; var osp_Title=d.title; var t=new Date(); var p="http"+(d.URL.indexOf('https:')==0?'s':'')+"://stat.onestat.com/stat.aspx?tagver=2&sid="+sid; p+="&url="+escape(osp_URL); p+="&ti="+escape(osp_Title); p+="§ion="+escape(CONTENTSECTION); p+="&rf="+escape(document.referrer); p+="&tz="+escape(t.getTimezoneOffset()); p+="&ch="+escape(t.getHours()); p+="&js=1"; p+="&ul="+escape(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage); if(typeof(screen)=="object"){ p+="&sr="+screen.width+"x"+screen.height;p+="&cd="+screen.colorDepth; p+="&jo="+(navigator.javaEnabled()?"Yes":"No"); } d.write(''); } function showcuetable() { document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write(''); document.write('\n'); } function showcuetableold() { code = '@4ANrP3BNrP3CHEe4DAEP4ENpf4FNvt3GNns2HGtq3IAIt1JGxN1KNqV1LGvc2MGvc2NNyU2OGxN3PYna4QYaK2RYva4UNrP4UDfP3VNrP3VISx3WHEe4WADx4WLMr4XAEP3XKhP4aNvt4aDKt3bNns2bIQY2cGtq3cAIY3dAIt3dKUs1eGxN1eLel1fNqV1fJQr1gGvc2gDUc2hGvc2hLeG2iNyU2iJKA3kYna3kOpo4kcps4lYaK4lRnt1lefB2mYva1mEtj1mcpu@'; // code = '@3EQmO2PDTb3YQmO3Ychs2kDTb3kPPB3kGJx@'; document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); } function showyoutubemovie(url) { document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); } function showvisual() { document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); } function showbanner(url) { document.write('\n'); } function showpoolgame() { document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); document.write('\n'); } function confirmsubmit(reason) { if (reason.indexOf(' ')=='-1') {if (confirm('Weet u zeker dat u de gegevens wilt ' + reason + '?')) {return true;} {return false;}} else if (reason) {if (confirm('Weet u zeker dat u ' + reason + '?')) {return true;} {return false;}} else {if (confirm('Weet u het zeker?')) {return true;} {return false;}} } function openwindow(page) { popupwidth = '720'; popupheight = '540'; popupwindow = window.open(page, 'rpc_popup1', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function openroutewindow(address, zipcode, city, markertext) { if (markertext == null) {markertext = '';} else {markertext = escape(markertext);} popupwidth = '620'; popupheight = '390'; if (address) {page = 'http://tools.locatienet.com/location/map.asp?config_id=1237&language=dutch&zoom=2&country=nl&city=' + city + '&street=' + address + '&markertext=' + markertext;} else {page = 'http://tools.locatienet.com/location/map.asp?config_id=1237&language=dutch&zoom=2&country=nl&city=' + city + '&zipcode=' + zipcode + '&markertext=' + markertext;} popupwindow = window.open(page, 'rpc_popup2', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function opengooglewindow(address, zipcode, city, markertext) { if (markertext == null) {markertext = '';} else {markertext = escape(markertext);} popupwidth = '620'; popupheight = '390'; if (address) {page = 'googlemaps.php?address=' + address + '&city=' + city + '&markertext=' + markertext;} else {page = 'googlemaps.php?address=' + address + '&city=' + city + '&markertext=' + markertext;} popupwindow = window.open(page, 'rpc_popup3', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function openpicturewindow(page, popupwidth, popupheight) { if (popupwidth == null || popupwidth == '') {popupwidth = '300';} if (popupheight == null || popupheight == '') {popupheight = '300';} popupwindow = window.open(page,'rpc_popup4', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width-popupwidth - 20) / 2 + ',top=' + (screen.height-popupheight - 20) / 2); popupwindow.focus(); } function opendialwindow(phonenumber) { popupwidth = '250'; popupheight = '50'; page = 'bellen.php?id=' + phonenumber; popupwindow = window.open(page, 'rpc_popup5', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function openmailwindow(emailaddress) { popupwidth = '250'; popupheight = '50'; page = 'mailen.php?id=' + emailaddress; popupwindow = window.open(page, 'rpc_popup6', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function openyoutubewindow(url) { popupwidth = '475'; popupheight = '375'; page = 'youtubemovie.php?url=' + url; popupwindow = window.open(page, 'rpc_popup7', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=' + popupwidth + ',height=' + popupheight + ',left=' + (screen.width - popupwidth - 20) / 2 + ',top=' + (screen.height - popupheight - 20) / 2); popupwindow.focus(); } function timer(seconds, link) { setTimeout('location.href = \'' + link + '\';', 1000 * seconds) } function dial(number) { number = number.replace(/ /gi, ''); number = number.replace(/-/gi, ''); number = number.replace(/\+/gi, ''); number = number.replace(/\(/gi, ''); number = number.replace(/\)/gi, ''); number = number.replace(/_/gi, ''); number = number.replace(/\./gi, ''); number = number.replace(/,/gi, ''); audiofile = new Image(); audiofile.src = 'http://www.dialabc.com/sound/generate/index.html?pnum=' + number + '&auFormat=wavpcm8&toneLength=300&mtcontinue=Generate+DTMF+Tones'; audiopath = 'http://www.dialabc.com/i/cache/dtmfgen/wavpcm8.300/' + number + '.wav'; // audiofile.src = 'http://www.dialabc.com/sound/generate/index.html?pnum=' + number + '&auFormat=au8&toneLength=300&mtcontinue=Generate+DTMF+Tones'; // audiopath = 'http://www.dialabc.com/i/cache/dtmfgen/au8.300/' + number + '.au'; setTimeout('document.all.sound.src = audiopath', 300); } function checkemail(checkemail) { if (!checkemail) {return true;} if (checkemail.match(/^[\w\-\.]+\@[\w\-\.]+\.[\w\-\.]+$/)) {return true;} else {return false;} } function checkdate(checkdate, past) { if (!checkdate) {return true;} datearray = checkdate.split('-'); day = datearray[0]; month = datearray[1] - 1; year = datearray[2]; var today = new Date(); var test = new Date(year,month,day); if (past) { if (year==test.getFullYear() && month==test.getMonth() && day==test.getDate() && test<=today) {return true;} else {return false;} } else { if (year==test.getFullYear() && month==test.getMonth() && day==test.getDate()) {return true;} else {return false;} } } function changews(message) { if (message==null) {message = '';} window.status = message; newmessage = message; setTimeout('changews(newmessage)', 10) } function spamcheck() { if (document.getElementById('spamcheck')) { a = document.getElementById('spamcheck'); if (isNaN(a.value) == true) {a.value = 1;} else {a.value = parseInt(a.value) + 1;} } setTimeout('spamcheck()', 1000); }