
function openpopup(id){
var popurl="popup.php?nid="+id
winpops=window.open(popurl,"","width=400,height=400,left=300,top=150,status,")
}

function printpage(id,cid){
var popurl="print.php?id="+id+"&cid="+cid;
winpops=window.open(popurl,"","scrollbars=yes,width=550,height=500,left=300,top=150,status,")
}

function printgraph1(img){
var popurl="graph.php?f="+img;
winpops=window.open(popurl,"","scrollbars=yes,width=505,height=500,left=200,top=150,status,")
}

function printtaxatie(){
var popurl="printtaxatie.php";
winpops=window.open(popurl,"","scrollbars=yes,width=750,height=500,left=200,top=150,status,")
}

function Printgraph()
{
frames["graph"].focus();
frames["graph"].print();
}

function printall() {
  window.print();
  for (var i=0; i<window.frames.length; i++) {
    window.frames[i].focus();
    window.frames[i].print();
  }
}

function printgraphs(pid){
var popurl="printgraph.php?pid="+pid;
winpops=window.open(popurl,"","scrollbars=yes,width=550,height=500,left=300,top=150,status,")
}

function submitform(form1){ 
//document.form1.nquote.value = document.getElementById( "testmovie" ).GetVariable("/nquote:Value");
//var movie = window.document.testmovie
//document.form1.nquote.value = movie.GetVariable("nquote");
//echo "<script> var movie = window.document.testmovie; movie.SetVariable(\"nquote\", document.form1.nquote.value); </script>";
document.form1.submit() ;
	
}

function submitForm2(b)
{
document.form1.submit();
location.href=b;
}

function go(uri){
location.href=uri;
}

function opendetailpic(img){
var popurl='profilepic.php?img='+img;
winpops=window.open(popurl,"vergroting","resizable=1,width=500,height=275,left=300,top=150,status,")
}

function refreshPage(){
frames["graph"].reload();
}
