/* This is for the analyser pop-up (aka Solver) */
function loadAnalyser() {
	strAnalyser  = "titlebar=no,toolbar=no,menubar=no";
	strAnalyser += ",scrollbars=yes,directories=no,status=no";
	strAnalyser += ",height=450,width=800,innerHeight=450,innerWidth=800";
	strAnalyser += ",resizable=yes,alwaysraised=no";
	analyserWin = window.open("/~asia/website/doc/analyser/analyser.html", "PerformanceAnalyser", strAnalyser);
	analyserWin.focus();
}

/* This is for the matrix pop-up */
function loadMatrix() {
	strMatrix  = "titlebar=no,toolbar=no,menubar=no";
	strMatrix += ",scrollbars=yes,directories=no,status=yes";
	strMatrix += ",height=750,width=1000,innerHeight=750,innerWidth=1000";
	strMatrix += ",resizable=yes,alwaysraised=no";
	matrixWin = window.open("/~asia/website/doc/matrix/indexb.html", "DesignMatrix", strMatrix);
	matrixWin.focus();
}

/* This is for the plant pop-up */
function loadPlant(name) {
	strPlant  = "titlebar=no,toolbar=no,menubar=no";
	strPlant += ",scrollbars=no,directories=no,status=no";
	strPlant += ",height=425,width=425,innerHeight=425,innerWidth=425";
	strPlant += ",resizable=no,alwaysraised=yes";
	plantPath = "images/plants/" + name + ".jpg";
	plantWin = window.open(plantPath, "plantWindow", strPlant);
	plantWin.focus();
}

