function setMouseoverBigImage(imgsmall,imgbig){
  imgsmall = document.getElementById(imgsmall)
  imgbig   = document.getElementById(imgbig)
  imgsmallurl = imgsmall.src
  imgbigurl = imgbig.src
  imgbig.src = imgsmallurl.replace('large','small')
  imgsmall.src = imgbigurl.replace('small','large')
}

function setMouseoverBigImage2(imgbig,imgsmall,Bimg,Simg){
  imgsmall = document.getElementById(imgsmall)
  imgbig   = document.getElementById(imgbig)  
  Bimg     = document.getElementById(Bimg)
  Simg     = document.getElementById(Simg)  
  imgsmallurl = imgsmall.src
  imgbigurl = imgbig.src
  imgbig.src = Bimg.value
  imgsmall.src = Simg.value
  
  Bimg.value  = imgbigurl
  Simg.value  = imgsmallurl
  
  
}

function setWoningaanbod(cmd,obj){
  if (cmd=='OVER'){
    obj.className = 'woningAanbodOVER';
  }
  else{
    obj.className = 'woningAanbodOUT';
  }
}
function showPopup(imagepath)
{	if (imagepath == "uploaded/")
	{ imagepath = "uploaded/sorry.gif";
	}
window.open("vergroting.asp?image="+imagepath, "Vergroting", "height=550,width=640,toolbar=no,status=no,resizable=no");
}
function popup(URL)
{
	var newwindow = window.open(URL, "popup", "width=520,height=700,location=no,directories=no,scrollbars=yes,status=no,toolbar=no");
}
function popupaankoop(URL)
{
	var newwindow = window.open(URL, "popup", "width=640,height=700,location=no,directories=no,scrollbars=yes,status=no,toolbar=no");
}
function popupPlan(URL){
  var newwindow = window.open(URL, "popup", "width=640,height=500,location=no,directories=no,scrollbars=yes,status=no,toolbar=no");
}
function disclaimer_onclick() {
    window.open("showDisclaimer.asp", null,"height=250,width=500,toolbar=no,status=no,resizable=no,scrollbars=no");
  }
function printme()
	{
		var objOut = document.getElementById("output");
		var out = objOut.innerHTML;
		var objOut2 = document.getElementById("output2");
		var out2 = objOut2.innerHTML;

		var wh = window.open("","wh","width=640px,height=480px,scrollbars=yes");
		wh.document.open();
		var output = '<link href="css/stylesheet.css" rel="stylesheet" type="text/css">';
		output += '<'+'script src="javascript/main.js" type="text/javascript">';
		output += '<'+'script type="text/javascript">';
		output += 'window.print();';
		output += '</'+'script>';
		output = '<html><head>'+output+'</head><body>'+out+out2+'</body></html>';
		wh.document.writeln(output);
		wh.document.close();
	}
    
