// Default JavaScript for every Noise Gate html file.



// WINDOW ACTIONS
function openWindow(page,name) {
  var menuWindow = window.open(page,name,"width=500,height=500,scrollbars=yes,statusbar=yes");
}

function openWindow2(page,name) {
  var menuWindow = window.open(page,name,"width=518,height=402,scrollbars=no,statusbar=no");
}
var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'kalender','height=250,width=250');
	if (window.focus) {newwindow.focus()}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->

function disp_confirm(url)
{
var name=confirm("BEN JE ZEKER DAT JE DIT WIL ?")
if (name==true)
{
window.location=url
}
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

<!--
function controle(){
	if(register.fname.value == "" || register.lname.value == ""|| register.email.value == ""|| register.dag.value == "00") {
		alert('Gelieve de vereiste gegevens in te geven');
		return false;
	}
	return true;
}
//-->

 function printURL (url)  
{ if (window.print && window.frames && window.frames.printerIframe) {  
var html = ''; 
 html += '<html>'; 
 html +=  
'<body onload="parent.printFrame(window.frames.urlToPrint);">'; 
 html += '<iframe name="urlToPrint" src="' + url + '"><\/iframe>';  
html += '<\/body><\/html>';  
var ifd = window.frames.printerIframe.document;  
ifd.open();  
ifd.write(html);  
ifd.close(); }  
else {  
if (confirm('Om de gevraagde pagina af te drukken ' + '\nwordt deze in een voorbeeld scherm getoond.\n \nWenst u door te gaan?'))  
{ var win = window.open('', 'printerWindow', 'width=800,height=300,resizable,scrollbars,toolbar,menubar');  
var html = ''; 
 html += '<html>';  
html += '<frameset rows="100%, *" ' + 
 'onload="opener.printFrame(window.urlToPrint);">'; 
 html += '<frame name="urlToPrint" src="' + url + '" \/>';  
html += '<frame src="about:blank" \/>';  
html += '<\/frameset><\/html>';  
win.document.open(); 
 win.document.write(html);  
win.document.close();  
}  
}  
} 
 function printFrame (frame)  
{ if (frame.print)  
{ frame.focus(); 
 frame.print();  
}  
}  

