function openwindow(popurl,name,size) {
	nieuwVenster=window.open(popurl,name,size,'menubar=no,scrollbars=no,toolbar=no,location=no,resizable=yes,directories=no');
	nieuwVenster.focus();
	return false;
}

function externalLinks() {
    if (!document.getElementsByTagName) return;
        var anchors = document.getElementsByTagName("a");
        for (var i=0; i<anchors.length; i++) {
        var anchor = anchors[i];
        if (anchor.getAttribute("href") &&
        anchor.getAttribute("rel") == "external")
        anchor.target = "_blank";
    }
}

function newscroll(){
	var scroller  = null;
	var scrollbar = null;
	
  	scroller  = new Scrolling.Scroller(document.getElementById("Scroller-1"), 600, 350);
  	scrollbar = new Scrolling.Scrollbar(document.getElementById("Scrollbar-Container"), scroller, new Scrolling.ScrollTween());
	
}	
function resizeWindow(){
	window.moveTo(0,0);
	window.resizeTo(window.screen.availWidth,window.screen.availHeight);
}

function goFullscreen(url, winName) {
	winprops = 'height='+screen.height+',width='+screen.width+',t  op=0,left=0,scrollbars=yes, resizabel=yes';
	win = window.open(url, winName, winprops)
	
	if (parseInt(navigator.appVersion) >= 4) {
		win.window.focus();
	}
	
}

