﻿<!--
function convertVal(from) {
if (from == "cBtu2") {
document.theForm.vKw3.value = Math.round(document.theForm.cBtu2.value / 34.13)/100;
}
if (from == "cKw3") {
      document.theForm1.vBtu3.value = Math.round(document.theForm1.cKw3.value * 3413);
   }
}

function Count1()
{
(document.kantoor.vermogen.value) = Math.round(((document.kantoor.lengte.value) * (document.kantoor.breedte.value) * (document.kantoor.hoogte.value) * 0.00004)*100/100) ;
}

function Count2()
{
(document.slaapkamer.vermogen.value) = Math.round(((document.slaapkamer.lengte.value) * (document.slaapkamer.breedte.value) * (document.slaapkamer.hoogte.value) * 0.000035)*100/100) ;
}
function Reset1()
{
document.kantoor.reset() ;
}

function Reset2()
{
document.slaapkamer.reset() ;
}

function popup() {
offVenster = window.open("../handleiding_vacumeren.htm", "vacumeren", "width=1000,height=700,toolbars=no,scrollbars=yes,scrolling=auto");
}
function popupImageInNewWindow(imageName,imageWidth,imageHeight) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,status=no");
	newWindow.document.open();
	newWindow.document.write('<html><title>'+imageName+'</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='+imageName+'>');
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
