function popUpFullScreen(url) {
	popUp( url, 800, 600, 100, 100);
}

function popUp( url, width, height, left, top ) {
      var popupName = popUpIdent( url, width, height, left, top );

}

function popUpIdent( url, width, height, left, top ) {
      var rnum = Math.random()*200; rnum = Math.round(rnum);
      this['win'+rnum] =  window.open(url,
        "pup"+rnum,
        "width="+width+",height="+height+",left="+left+",top="+top+",resizable=yes,menubar=no,directories=no,toolbar=no,scrollbars=no"
      );
      return 'pup'+rnum;
}

function showHideProjecten(divId){
	var div = getElement(divId);
	if (!div) return;
	if (div.style.display == 'block') {
		div.style.display = 'none';
	} else {		
		div.style.display = 'block';
	}
}

function getElement( elementId)
    {
    var element;

    if (document.all) {
        element = document.all[elementId];
        }
    else if (document.getElementById) {
        element = document.getElementById(elementId);
        }
    else element = -1;

    return element;
}

function noenter(kc) {
	if (kc==13) return false;
}