// info email account (http://bloggerbuster.com/tools/email).
function WriteInfoAccount()
{
	coded = "6Vwc@G0JRBEf0qV6OlBqBV.VR"
	key = "7USHNbycTeZdgkJLO9I5RvCiXA3aPFWEmnBhfqMY2pzsoQ8x6tur0jK41lVDGw"
	shift = coded.length
	link = ""
	for (i = 0; i < coded.length; i++) {
		if (key.indexOf(coded.charAt(i)) == -1) {
			ltr = coded.charAt(i)
			link += (ltr)
		}
		else {     
			ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
			link += (key.charAt(ltr))
		}
	}
	document.write("<a href='mailto:"+link+"'>info@harleydagnijmegen.nl</a>")
}

function openKFM(){
	myWindow = window.open('http://www.keizerstad.nl/streamplayer.php?stream=nijmegen', 'kfmpopup', 'width=335,height=285,status=no,toolbar=no,location=no,menubar=no,directories=no,resizable=no,scrollbars=no');
	myWindow.resizeTo(335,285);
}

function WriteVanZandtAccount()
{
	coded = "W0Xh@oY0aY0iV.0d"
	key = "0HTMbsuri4YSD7XptIKNC5qgWw82mv93VA6OZGlezPxjLonFkyRJEUdBaQc1fh"
	shift = coded.length
	link = ""
	for (i = 0; i < coded.length; i++) {
		if (key.indexOf(coded.charAt(i)) == -1) {
			ltr = coded.charAt(i)
			link += (ltr)
		}
		else {     
			ltr = (key.indexOf(coded.charAt(i))-shift+key.length) % key.length
			link += (key.charAt(ltr))
		}
	}
	document.write("<a href='mailto:"+link+"'>info@vanzandt.nl</a>")
}

function imgSwap(oImg)
{
   var strOver  = "-in";
   var strOff = "-uit";
   var strImg = oImg.src;
   if (strImg.indexOf(strOver) != -1) 
      oImg.src = strImg.replace(strOver, strOff);
   else
      oImg.src = strImg.replace(strOff, strOver);
}

/* right click protection */
function rightclick(e) {
	if (document.all) {
		if (event.button == 2 || event.button == 3) {
			alert("Copyright © Van Zandt BV");
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert("Copyright © Van Zandt BV");
			return false;
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
};
document.onmousedown = rightclick;
