function showImage(name, x, y) {
	if (x > screen.width) {
		x = screen.width-9;
	}
	if (y > screen.height) {
		y = screen.height-56;
	}
	window.open(name, "image", "height= " + y + ", width=" + x + ", left=0, top=0, menubar=no, resizeable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no, location=no, directories=no","false");
}

function gotoMenu(menu){
	switch (menu) {
		case "home":
			window.open("../menu/home.html", "menu");
			//window.open("../navigation/logo.html", "logo");
			break;
		case "solutions":
			window.open("../menu/solutions.html", "menu");
			//window.open("../navigation/logo.html", "logo");
			break;
		case "maxpro":
			window.open("../menu/maxpro.html", "menu");
			//window.open("../navigation/logo-maxpro.html", "logo");
			break;
		case "maxent":
			window.open("../menu/maxent.html", "menu");
			//window.open("../navigation/logo-maxent.html", "logo");
			break;
		/*case "slx":
			window.open("../menu/slx.html", "menu");
			//window.open("../navigation/logo-slx.html", "logo");
			break;*/
		case "ksync":
			window.open("../menu/ksync.html", "menu");
			//window.open("../navigation/logo-ksync.html", "logo");
			break;
		case "qwerks":
			window.open("../menu/qwerks.html", "menu");
			//window.open("../navigation/logo-qw.html", "logo");
			break;
		case "multivers":
			window.open("../menu/multivers.html", "menu");
			//window.open("../navigation/logo-mv.html", "logo");
			break;
		case "multivers-boekh":
			window.open("../menu/multivers-boekh.html", "menu");
			//window.open("../navigation/logo-mv.html", "logo");
			break;
		case "multivers-relatie":
			window.open("../menu/multivers-relatie.html", "menu");
			//window.open("../navigation/logo-mv.html", "logo");
			break;
		case "multivers-handel":
			window.open("../menu/multivers-handel.html", "menu");
			//window.open("../navigation/logo-mv.html", "logo");
			break;
		default:
			window.open("../menu/home.html", "menu");
			//window.open("../navigation/logo.html", "logo");
	}
}

function setDownload(package, agreement) {
	var url = "http://support.adafi.be/downloads/" + package;
	if (agreement) {
		document.getElementById('dl').value = url;
		var win = window.open("../contact/download.html", "_blank", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width=800, height=600");
	} else {
		var win = window.open(url, "_self");
	}
}