function GetFontSize() {
	var font_size = this.document.getElementById("content").style.fontSize;
	return font_size;
}

function SetFontSize() {
	var font_size = GetFontSize();
	if (font_size == '12px') {
		this.document.getElementById("content").style.fontSize = "14px";
	}
	else if (font_size == '14px') {
		this.document.getElementById("content").style.fontSize = "16px";
	}
	else {
		this.document.getElementById("content").style.fontSize = "12px";
	}
}

function printPage() {
	var disp_setting = "toolbar=yes,location=no,directories=yes,menubar=yes,"; 
	disp_setting += "scrollbars=yes,width=650, height=600, left=100, top=25"; 
	var content_vlue = document.getElementById("content").innerHTML; 
	
	var docprint=window.open("","",disp_setting); 
	docprint.document.open(); 
	docprint.document.write('<html><head><title>Cervarix</title>'); 
	docprint.document.write('</head><body onload="window.print()">');          
	docprint.document.write(content_vlue);          
	docprint.document.write('</body></html>'); 
	docprint.document.close(); 
	docprint.focus(); 
}

function ClearSearch(obj) {
    if (obj.value == "zoeken") {
        obj.value = "";
    }
}

function checkValid() {
	if ($(":checkbox[name='validcheck']:checked").length == 0) {
		alert('U dient te verklaren dat u een medisch beroepsbeoefenaar bent.');
		return false;
	}
	
	document.location = "index.aspx?validcheck=true";
}
