//-------------------------------------------------------------------------------------------
function MM_displayStatusMsg() { //v1.0
  var msgStr = "© Copyright 2004 JG Spuit en stukadoorsbedrijf";
  status=msgStr;
  document.MM_returnValue = true;
}
//-------------------------------------------------------------------------------------------
function popupproject(id) {
	var windowwidth		= 450;
	var windowheight	= 450;	
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/pages_nl/voorbeelden_en_projecten/details.php?id='+id+'','project'+id+'','status=no,scrollbars=yes,resizable=no,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function prijsopgave() {
/*	var windowwidth		= screen.availWidth - 100; */

	var windowwidth		= 800;
	var windowheight	= screen.availHeight - 200;
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/prijsopgave_selectie_offerte.php','OfferteAanvraag','status=yes,scrollbars=yes,resizable=yes,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function popupvoorbeeld(vbvalue) {
	var windowwidth		= 550;
	var windowheight	= screen.availHeight - 200;
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/afwerking_voorbeeld.php?id='+vbvalue+'','voorbeeld'+vbvalue+'','status=yes,scrollbars=yes,resizable=yes,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function popupbeeldscherm() {
	var windowwidth		= 600;
	var windowheight	= 300;	
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/prijsopgave_beeldscherminstelling.php','beeldscherminstellingen','status=no,scrollbars=auto,resizable=no,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function kwabo() {
	var windowwidth		= 770;
	var windowheight	= screen.availHeight - 200;
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/prijsopgave_lijstwerk_kwabo.php','kwabo','status=yes,scrollbars=yes,resizable=yes,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function nmc_nomastyl() {
	var windowwidth		= 550;
	var windowheight	= screen.availHeight - 200;
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/prijsopgave_lijstwerk_nmc_nomastyl.php','NMCnomastyl','status=yes,scrollbars=yes,resizable=yes,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
	popup.focus();
}
//-------------------------------------------------------------------------------------------
function nmc_arstyl() {
	var windowwidth		= 550;
	var windowheight	= screen.availHeight - 200;
	var windowleft		= (screen.width - (windowwidth + 20)) / 2;
	var windowtop		= (screen.height - (windowheight + 20)) / 2;
	var popup = window.open('/prijsopgave2005/prijsopgave_lijstwerk_nmc_arstyl.php','NMCarstyl','status=yes,scrollbars=yes,resizable=yes,width='+windowwidth+',height='+windowheight+',top='+windowtop+',left='+windowleft+'');
}
//-------------------------------------------------------------------------------------------
function ng(pagina) {
//	document.location = '/ng.php?id='+ pagina;
}
//-------------------------------------------------------------------------------------------
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//-------------------------------------------------------------------------------------------
function click(e) { //3.0
	var message="© Copyright 2005 JG Spuit en stukadoorsbedrijf"
	if (document.all) {
		if (event.button == 2 || event.button == 3 || event.button == 6 || event.button == 7) {
			alert(message);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(message);
			return false;
		}
	}
}
//-------------------------------------------------------------------------------------------