<!--
function go1(){
if (document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value != "none") {
//location = document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value
window.open(document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value)
		}
	}
			  
function changePage() {
	if (self.parent.frames.length != 0)
		self.parent.location=document.location;
	}
	
function bookmarkthis(location,title,cssclass) {
	if (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion >= "4.0") {
		if (title == "") {title="document.title"}
		else {title="'"+title+"'"}
		if (location == "") {location="location.href"}
		else {location="'"+location+"'"}
  		document.write('<a href="javascript:void(0);" class="'+cssclass+'" onMouseOver="window.status='+"'Voeg deze pagina toe aan je favorieten'"+'; return true" onMouseOut="window.status='+"' '"+'; return true" onClick="window.external.AddFavorite('+location+','+title+');">- Bookmark</a>')}
}

var smooth_timer;
function smoothHeight(id,curH,targetH,stepH,mode) {
diff = targetH - curH;
if (diff != 0)
{ newH = (diff > 0) ? curH + stepH : curH - stepH;
  ((document.getElementById) ? document.getElementById(id) : eval("document.all['" + id + "']")).style.height = newH + "px";
  if (smooth_timer) window.clearTimeout(smooth_timer);
  smooth_timer = window.setTimeout( "smoothHeight('" + id + "'," + newH + "," + targetH + "," + stepH + ",'" + mode + "')", 20 );
}
else if (mode != "o") ((document.getElementById) ? document.getElementById(mode) : eval("document.all['" + mode + "']")).style.display="none";
}
function mini_preview(number,url) {
var tr_object = (document.getElementById) ? document.getElementById('row'+number) : eval("document.all['row"+number+"']");
var nameObj = (document.getElementById) ? document.getElementById('name'+number) : eval("document.all['name"+number+"']");
var iframe_object = (document.getElementById) ? document.getElementById('iframe'+number) : eval("document.all['iframe"+number+"']");
if (tr_object != null)
{
 if (tr_object.style.display=="none")
  { tr_object.style.display="";
    if (!iframe_object.src) iframe_object.src = url;
    smoothHeight('iframe'+number,0,210,42,'o');
  }
  else smoothHeight('iframe'+number,210,0,42,'row'+number);
}
}


var kk_keyStr = "ABCDEFGHIJKLMNOP" +
                "QRSTUVWXYZabcdef" +
                "ghijklmnopqrstuv" +
                "wxyz0123456789+/" +
                "=";

function decode64(input) {
   var output = "";
   var chr1, chr2, chr3 = "";
   var enc1, enc2, enc3, enc4 = "";
   var i = 0;

   // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
   var base64test = /[^A-Za-z0-9\+\/\=]/g;
   if (base64test.exec(input)) {
      return '';
   }
   input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");

   do {
      enc1 = kk_keyStr.indexOf(input.charAt(i++));
      enc2 = kk_keyStr.indexOf(input.charAt(i++));
      enc3 = kk_keyStr.indexOf(input.charAt(i++));
      enc4 = kk_keyStr.indexOf(input.charAt(i++));

      chr1 = (enc1 << 2) | (enc2 >> 4);
      chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
      chr3 = ((enc3 & 3) << 6) | enc4;

      output = output + String.fromCharCode(chr1);

      if (enc3 != 64) {
         output = output + String.fromCharCode(chr2);
      }
      if (enc4 != 64) {
         output = output + String.fromCharCode(chr3);
      }

      chr1 = chr2 = chr3 = "";
      enc1 = enc2 = enc3 = enc4 = "";

   } while (i < input.length);

   return output;
}

function exlnennew(encoded)
{
    w = (document.all ? screen.width : screen.width) * 0.9;
    h = (document.all ? screen.height : screen.height-150) * 0.9;
    pars = 'scrollbars=yes,toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes,status=yes,width=' + w + ',height=' + h + ',screenX=0,screenY=0,top=0,left=0';
    var url = decode64(encoded);
    com=open(url,'',pars);
}

function exlncur(url) {document.location.href=url;}

function exlnencur(url)
{
    var url = decode64(url);
    document.location.href=url;
}

//-->