//<!-- --------------------------------------------------
// COPYRIGHT NOTICE
// Copyright (c) 2004-2007 by RBM-soft
// All Rights Reserved

// Script name : beveiligingpagina
// description : voorkomt dat de inhoud van de webpagina kan worden gehaald door gebruik van de Rechter muisknop
//             : versleuteld mailadressen zodat deze niet zondermeer van de site kunnen worden geplukt en misbruikt.
// Version     : 2.0
// WebSite     : http://www.opdam.net
// Email       : rob@opdam.net
// File name   : beveiligpagina.js
// ------------------------------------------------------*/

// JS functie voor afvangen rechter muisknop
isIE     =  document.all;
isNN     =! document.all&&document.getElementById;
isN4     =  document.layers;

if (isIE||isNN){
	document.oncontextmenu=checkV;
}else{
	document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
	document.onmousedown=checkV;
}

function checkV(e){
	if (isN4){
		if (e.which==2||e.which==3){
			dPUW=overlib('De informatie op deze site is afgeschermd!<br> Indien u hierover wilt beschikken, vraag het dan op bij de <a href=\'javascript:linkTo_UnCryptMailto(&quot;nbjmup;xfcnbtufsApqebn/ofu&quot;,&quot;?subject=Graag%20zou%20ik%20informatie%20ontvangen%20over%20Villa%20Nove&body=Beste%20Rob,%20%20aangezien%20ik%20geen%20informatie%20van%20deze%20site%20kan%20halen/kopieren%20wil%20ik%20je%20vragen%20om%20het%20volgende:&quot;)\'>Webmaster!</a><BR><BR>The information on this site is protected!<br> If you wish to obtain it, please ask the <a href=\'javascript:linkTo_UnCryptMailto(&quot;nbjmup;xfcnbtufsApqebn/ofu&quot;,&quot;?subject=Can%20I%20get%20information%20on%20Villa%20Nove%20please&body=Dear%20Rob,%20%20since%20I%20am%20unable%20to%20get/copy%20information%20from%20this%20site%20I%20would%20like%20to%20ask%20you%20the%20following:&quot;)\'>Webmaster!</a>', STICKY, CAPICON, '/objects/animaties/warning_sign.gif', CAPTIONSIZE, '20px' ,CAPTION,'Beveiliging / Security', HAUTO, VAUTO, WIDTH, 420, HEIGHT, 65, AUTOSTATUSCAP, CAPCOLOR, 'RED');
			return false;
		}
		}else{
			dPUW=overlib('De informatie op deze site is afgeschermd!<br> Indien u hierover wilt beschikken, vraag het dan op bij de <a href=\'javascript:linkTo_UnCryptMailto(&quot;nbjmup;xfcnbtufsApqebn/ofu&quot;,&quot;?subject=Graag%20zou%20ik%20informatie%20ontvangen%20over%20Villa%20Nove&body=Beste%20Rob,%20%20aangezien%20ik%20geen%20informatie%20van%20deze%20site%20kan%20halen/kopieren%20wil%20ik%20je%20vragen%20om%20het%20volgende:&quot;)\'>Webmaster!</a><BR><BR>The information on this site is protected!<br> If you wish to obtain it, please ask the <a href=\'javascript:linkTo_UnCryptMailto(&quot;nbjmup;xfcnbtufsApqebn/ofu&quot;,&quot;?subject=Can%20I%20get%20information%20on%20Villa%20Nove%20please&body=Dear%20Rob,%20%20since%20I%20am%20unable%20to%20get/copy%20information%20from%20this%20site%20I%20would%20like%20to%20ask%20you%20the%20following:&quot;)\'>Webmaster!</a>', STICKY, CAPICON, '/objects/animaties/warning_sign.gif', CAPTIONSIZE, '20px' ,CAPTION,'Beveiliging / Security', HAUTO, VAUTO, WIDTH, 420, HEIGHT, 65, AUTOSTATUSCAP, CAPCOLOR, 'RED');
			return false;
		}
	}
document.onselectstart=new Function ("return false");

// JS functie voor versleuteling spam-beveiligde emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(1));
	}
	return r;
}

function linkTo_UnCryptMailto(s,v)	{
	location.href=UnCryptMailto(s)+v;
}

//--> end hide JavaScript

