If you scroll down in php code window you with see the } to end main().
I tried putting the cases in quotes and double quotes and they still do not work, it just displays the default no matter what. I will include the function code you asked about below:
Page header is simply,
function PageHeader()
{
print"
<html>
<head>
<title>Visual Depiction of the OPS Enterprise Architecture Framework</title>
</head>
<body>
";
}
This is the default row. All it does is displays an image and maps the hotspots for that image. The hotspots have the variable in the link to be passed.
function PlannerViewDefaultMap()
{
print"
<img name=\"plannerViewDefault0\" src=\"plannerViewDefault.jpg\" width=\"541\" height=\"73\" border=\"0\" usemap=\"#plannerViewDefault\" /><br />
<map name=\"plannerViewDefault\">
<area shape=\"rect\" coords=\"109,0,182,72\" href=\"http://link/VisualDepiction.php?select=plannerWhat\" alt=\"What\">
<area shape=\"rect\" coords=\"182,0,253,72\" href=\"http://link/VisualDepiction.php?select=plannerHow\" alt=\"How\">
<area shape=\"rect\" coords=\"253,0,325,72\" href=\"http://link/VisualDepiction.php?select=plannerWhere\" alt=\"Where\">
<area shape=\"rect\" coords=\"323,0,397,72\" href=\"http://link/VisualDepiction.php?select=plannerWho\" alt=\"Who\">
<area shape=\"rect\" coords=\"397,0,468,72\" href=\"http://link/VisualDepiction.php?select=plannerWhen\" alt=\"When\">
<area shape=\"rect\" coords=\"467,0,539,72\" href=\"http://link/VisualDepiction.php?select=plannerWhy\" alt=\"Why\">
</map>
";
}