// JavaScript Document
/*function disableselect(e){
return false
}

function reEnable(){
return true
}
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")*/
//noclick no source
<!-- Beginning of JavaScript -
/*tabel menu*/
/*document.onselectstart=new Function ("return false")*/

  var bikky = document.cookie; 
function switchTaal(vtaal){
if (navigator.cookieEnabled){
  if (vtaal=="Nederlands"){
     setCookie("taal","NL")}
  if (vtaal=="Arabic"){ 
  setCookie("taal","AR");   }
  } //cookie enabled
 else alert("You must have Cookies Enabled to use this feature");
}


function getCookie(name) { // use: getCookie("name");
   if  (navigator.cookieEnabled){
      var index = bikky.indexOf(name + "=");
      if (index == -1) return null;
      index = bikky.indexOf("=", index) + 1;
      var endstr = bikky.indexOf(";", index);
      if (endstr == -1) endstr = bikky.length;
      return unescape(bikky.substring(index, endstr));
    }
   else return ("Nederlands")
        
  }

  var today = new Date();
  var expiry = new Date(today.getTime() + 28 * 24 * 60 * 60 * 1000); // plus 28 days

function setCookie(name, value) { // use: setCookie("name", value);
  if  (navigator.cookieEnabled){
    if (value != null && value != "")
      document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString();
    bikky = document.cookie; // update bikky
 // alert ("in set" + getCookie("taal"));
   window.location.reload();
    } //if cookie enabled
  } //end setcookie
 
    bikky = document.cookie; // update bikky  

function switchLanguage(vtaal){ 

    if (!navigator.cookieEnabled){
		alert("You must have Cookies Enabled to use this feature"); 
		return }
	if (vtaal=="Nederlands")
	  {setCookie("cTaalID",1);}
	 else {setCookie("cTaalID",2)}
 }
