var mlang;

function show(nDiv)
{
    hideAll();
    document.getElementById("divfaq" + nDiv).style.display = "block";
}

function hideAll()
{
    for(i=1;i<8;i++)
    {
        document.getElementById("divfaq" + i).style.display = "none";
    }
}



//print page
function printContent(id) 
{
	//alert(mlang);
	pagetitle = "";
	if(id.toLowerCase() == "faqfr")
    {
        pagetitle = "Questions fr\351quentes (FAQ)";
    }
    else
	{
	    if(id.toLowerCase() == "faq")
	    {
	        pagetitle = "Vaak gestelde vragen (FAQ)";
	    }
	}
	var W = 800;
	var H = window.screen.height-80;
	var intScrWidth=((window.screen.width - W)/2) - 10;
	var intScrHeight=((window.screen.height - H)/2) - 40;
	var newWindow = window.open("printPage.html", "afdrukken", "height=" + H + ",width=" + W 
		+ ",scrollbars=yes,resizable=yes,screenX=" 
		+ intScrWidth + ",screenY=" + intScrHeight 
		+ ",left=" + intScrWidth + ",top=" +intScrHeight
		+ ",toolbar=no,location=no,status=no,menubar=no;");
	newWindow.document.write('<LINK href="/Styles/main.css" rel="stylesheet"><LINK href="/Styles/dossier.css" rel="stylesheet"><style>body{background-color:#ffffff;font-size:0.8em;}</style><div id="dossierContent"><h3>' + pagetitle + '</h3>' + unescape(document.getElementById("printZone").innerHTML + '</div><script language=javascript>if(window.print()){window.print();}</script>'));
	newWindow.document.close(); //required to activate print action
}

