update release and integration versions from 4.0.1 to 4.0.2
diff --git a/STEM-ProjectPlan.xml b/STEM-ProjectPlan.xml
index 95f3749..73969af 100644
--- a/STEM-ProjectPlan.xml
+++ b/STEM-ProjectPlan.xml
@@ -26,7 +26,7 @@
 			STEM contains a wealth of prepackaged data in the form of existing
 			disease models and simulations as well as geographic/demographic data
 			for the world.
-			The latest build with bug fixes are available in V4.0.1
+			The latest build with bug fixes are available in V4.0.2
 		</html:div>
 	</release_deliverables>
 	<release_milestones>
@@ -64,6 +64,12 @@
 		<milestone date="01/15/2019" milestone="4.0.0">
 			<html:div>Release 4.0.0 (release complete)</html:div>
 		</milestone>
+		<milestone date="04/15/2019" milestone="4.0.1">
+			<html:div>Release 4.0.1 (milestone complete)</html:div>
+		</milestone>
+		<milestone date="08/19/2019" milestone="4.0.2">
+			<html:div>Release 4.0.2 (milestone complete)</html:div>
+		</milestone>
 		<milestone date="01/1/2021" milestone="5.0.0M1">
 			<html:div>5.0.0M1 (STEM on Cloud. tentative date)</html:div>
 		</milestone>
diff --git a/downloads.php b/downloads.php
index e551a3e..1bc5fd9 100644
--- a/downloads.php
+++ b/downloads.php
@@ -1,1004 +1,1004 @@
-<?php

-require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");

-

-require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");

-

-require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");

-

-require_once ($_SERVER['DOCUMENT_ROOT'] . "/stem/functions.php");

-

-$App = new App();

-

-$Nav = new Nav();

-

-$Menu = new Menu();

-

-include ($App->getProjectCommon()); // All on the same line to unclutter the user's desktop'

-                                   

-// *****************************************************************************

-                                   

-//

-                                   

-// ****************************************************************************

-                                   

-//

-                                   

-// Begin: page-specific settings. Change these.

-

-$pageTitle = "STEM Downloads";

-

-$pageKeywords = "STEM, Eclipse";

-

-$pageAuthor = "Yossi Mesika";

-

-// Add page-specific Nav bars here

-

-// Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)

-

-// $Nav->addNavSeparator("My Page Links", "downloads.php");

-

-// $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);

-

-// $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);

-

-// End: page-specific settings

-

-//

-

-// ini_set('display_errors', '1');

-

-// ini_set('error_reporting', E_ALL);

-

-$downloadsPath = "/home/data2/httpd/download.eclipse.org/stem";

-

-// $downloadsPath = "/data";

-

-$buildTypes = array(

-    'nightly',

-    'integration',

-    'stable',

-    'weekly',

-    'release'

-);

-

-function getVersionData()

-

-{

-    $cacheFile = "versions.cache";

-    

-    $versionsUrl = "http://download.eclipse.org/stem/versions";

-    

-    $dataFile = "/home/data2/httpd/download.eclipse.org/stem/versions";

-    

-    return file($dataFile);

-}

-

-function readPropertyFile($data)

-

-{

-    if (! $data) {

-        

-        return false;

-    }

-    

-    $versions = array();

-    

-    foreach ($data as $line) {

-        

-        if ($line{0} == "#") {

-            

-            continue;

-        }

-        

-        $array = &$versions;

-        

-        $tokens = explode("=", $line);

-        

-        if (is_array($tokens) && sizeof($tokens) > 1) {

-            

-            $key = $tokens[0];

-            

-            $value = $tokens[1];

-            

-            $keyTokens = explode(".", $key);

-            

-            foreach ($keyTokens as $childKey) {

-                

-                if (! array_key_exists($childKey, $array)) {

-                    

-                    $array[$childKey] = array();

-                }

-                

-                $array = &$array[$childKey];

-            }

-            

-            $array = trim($value);

-        }

-    }

-    

-    return $versions;

-}

-

-function getCurrentBuildVersions($buildsPath, $buildTypes)

-

-{

-    $versions = readPropertyFile(getVersionData());

-    

-    return $versions;

-}

-

-$versions = getCurrentBuildVersions($downloadsPath, $buildTypes);

-

-// Paste your HTML content between the EOHTML markers!

-

-/*

- *

- * $stableBuild = "1.2.0";

- *

- * $weeklyBuild = "1.2.1.I20110504";

- *

- * $stableSize = "154 MB";

- *

- * $weeklySize = "155 MB";

- *

- * $stableBuildDate = "May 1, 2011"; #date("M d, Y", mktime(0, 0, 0, substr($stableBuild, 11, 2), substr($stableBuild, 13, 2), substr($stableBuild, 7, 4)));

- *

- * $stableVersion = substr($stableBuild, 0, 5);

- *

- * $weeklyBuildDate = date("M d, Y", mktime(0, 0, 0, substr($weeklyBuild, 11, 2), substr($weeklyBuild, 13, 2), substr($weeklyBuild, 7, 4)));

- *

- * $weeklyVersion = substr($weeklyBuild, 0, 5);

- *

- */

-function displayBuild($title, $type, $builds)

-

-{

-    if (! $builds) {

-        

-        return;

-    }

-    

-    $key = strtolower($type);

-    

-    if (array_key_exists($key, $builds)) {

-        

-        $buildData = $builds[$key];

-    }

-    

-    if (! isset($buildData) || ! is_array($buildData)) {

-        

-        return;

-    }

-    

-    $version = $buildData['version'];

-    

-    $date = $buildData['date'];

-    

-    $dateNice = date("M d, Y", mktime(0, 0, 0, substr($date, 4, 2), substr($date, 6, 2), substr($date, 0, 4)));

-    ;

-    

-    // $size = $buildData['size'] . " MB";

-    

-    $buildPath = "http://www.eclipse.org/downloads/download.php?file=/stem/" . $key ;

-    

-    ?>

-

-<div class="homeiteM3u1col">

-

-	<a name="<?php echo $type ?>"></a>

-

-	<h3>

-		<!-- <img border=0 src="images/new.gif">-->

-		<?php echo $title ?> <?php echo $version ?></h3>

-

-	<div style="padding: 3px;">

-

-		<b>Version</b>: <?php echo $version ?>  

-

-|  <b>Date</b>: <?php echo $dateNice  ?>

-

-<!-- |  <b>Size</b>: <?php /*echo $size*/ ?>-->

-

-		| <b>Type</b>: <?php echo $type ?>

-

-<ul>

-

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86.zip">Windows

-					(x86)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86_64.zip">Windows

-					(x86_64)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86.zip">Linux

-					(x86/GTK 2)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip">Linux

-					(x86_64/GTK 2)</a></li>

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip">Linux

-					(ppc64le)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip">Mac

-					OS X (x86_64/Cocoa)</a></li>

-

-		</ul>

-

-	</div>

-

-</div>

-

-<?php

-}

-

-function displayBuildForStem4($title, $type, $builds)

-

-{

-    $version = "Release V4.0.1";

-    

-    // $date = $buildData['date'];

-    

-    // $dateNice = date("M d, Y", mktime(0, 0, 0, substr($date, 4, 2), substr($date, 6, 2), substr($date, 0, 4)));;

-    

-    // $size = $buildData['size'] . " MB";

-    

-    $buildPath = "http://www.eclipse.org/downloads/download.php?file=/stem/release/";

-    

-    ?>

-

-<div class="homeiteM3u1col">

-

-	<a name="<?php echo $type ?>"></a>

-

-	<h3>

-		<!-- <img border=0 src="images/new.gif">-->

-		<?php echo $title ?> <?php echo $version ?></h3>

-

-	<div style="padding: 3px;">

-

-		<b>Version</b>: <?php echo $version ?>  

-

-<ul>

-

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86.zip">Windows

-					(x86)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86_64.zip">Windows

-					(x86_64)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86.zip">Linux

-					(x86/GTK 2)</a></li>

-

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip">Linux

-					(x86_64/GTK 2)</a></li>

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip">Linux

-					(ppc64le)</a></li>

-			<li><a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip"><img

-					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip">Mac

-					OS X (x86_64/Cocoa)</a></li>

-

-		</ul>

-

-	</div>

-

-</div>

-

-<?php

-}

-

-ob_start();

-

-?>

-

-

-

-<div id="maincontent">

-

-	<div id="midcolumn">

-

-

-

-		<div class="homeiteM3u1col">

-

-			<a name="about"></a>

-

-			<h3>Download STEM</h3>

-

-			<div style="padding: 3px;">

-

-				<center>

-

-					<img border=0 src="images/STEM_TOP_BAR.png"

-						style="width: 100%; margin-bottom: 20px">

-

-				</center>

-

-				<p>STEM is a standalone rich client platform (RCP). STEM requires at

-					least Java 1.8. Java JREs from Oracle and IBM are supported.</p>

-

-				<p>

-

-					You can get more information about installing STEM <a

-						href="http://wiki.eclipse.org/Installation_Guide">from here</a>.

-

-				</p>

-

-				<p>

-

-					All downloads are provided under the terms and conditions of the <a

-						href="/legal/epl/notice.php">Eclipse Foundation Software User

-						Agreement</a> unless otherwise specified.

-

-				</p>

-

-

-			</div>

-

-		</div>    

-

-        

-       <?php displayBuildForStem4("STEM", "", ""); ?>

-       <?php displayBuild("Weekly Integration Build", "Integration", $versions); ?>

-

-        

-

-       

-

-

-

-

-

-<div class="homeiteM3u1col">

-

-			<a name="samples"></a>

-

-			<h3>

-				<a name="DownloadableScenarios">Downloadable Scenarios</a>

-			</h3>

-

-			<div style="padding: 3px;">

-

-				Download the project and import it into STEM using <i>File->Import...->Existing

-					projects into workspace</i> <br />

-

-   

-

-    <?php getData('/stem/data/scenarios.xml', -1, 'images/icon-save.gif'); ?>

-

-   	   

-

-</div>

-

-		</div>

-

-

-

-

-

-        <?php //displayBuild("Nightly Build", "Nightly", $versions); ?>

-

-

-

-<!-- 

-

-<div class="homeiteM3u1col">

-

-    <a name="integration"></a>

-

-<h3>$weeklyVersion Weekly Integration Builds</h3>

-

-<div style="padding:3px;">

-

-<b>Version</b>: $weeklyBuild  |  <b>Date</b>: $weeklyBuildDate  |  <b>Type</b>: Integration

-

-<ul> 

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86-$weeklyBuild.zip">Windows (x86 32bit) ($weeklySize)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86_64-$weeklyBuild.zip">Windows (x86 64bit) ($weeklySize)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86-$weeklyBuild.zip">Linux (x86 32bit/GTK 2) ($weeklySize)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86_64-$weeklyBuild.zip">Linux (x86 64bit/GTK 2) ($weeklySize)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.ppc64le-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.ppc64le-$weeklyBuild.zip">Linux (ppc64le) ($weeklySize)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86-$weeklyBuild.zip">Mac OSX (Mac x86 32bit/Cocoa) ($weeklySize)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86_64-$weeklyBuild.zip">Mac OSX (Mac x86 64bit/Cocoa) ($weeklySize)</a>

-

-</li>

-

-</ul>

-

-</div>

-

-</div>

-

--->

-

-

-

-		<div class="homeiteM3u1col">

-

-			<a name="older"></a>

-

-			<h3>Older Archived Builds (Unsupported)</h3>

-

-			<div style="padding: 3px;">

-

-				<b>Version</b>: 1.4.2 | <b>Date</b>: Dec 14, 2012 | <b>Type</b>:

-				Release

-

-				<ul>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86.zip">Windows

-							(x86 32bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86_64.zip">Windows

-							(x86 64bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86.zip">Linux

-							(x86 32bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86_64.zip">Linux

-							(x86 64bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86.zip">Mac

-							OSX (Mac x86 32bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86_64.zip">Mac

-							OSX (Mac x86 64bit/Cocoa)</a></li>

-

-				</ul>

-

-				<b>Version</b>: 1.3.1 | <b>Date</b>: May 1, 2012 | <b>Type</b>:

-				Release

-

-				<ul>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86.zip">Windows

-							(x86 32bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86_64.zip">Windows

-							(x86 64bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86.zip">Linux

-							(x86 32bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86_64.zip">Linux

-							(x86 64bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86.zip">Mac

-							OSX (Mac x86 32bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86_64.zip">Mac

-							OSX (Mac x86 64bit/Cocoa)</a></li>

-

-				</ul>

-

-

-

-				<b>Version</b>: 1.2.3 | <b>Date</b>: November 17, 2011 | <b>Size</b>:

-				145 MB | <b>Type</b>: Release

-

-				<ul>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.3.zip">Windows

-							(x86 32bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.3.zip">Windows

-							(x86 64bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.3.zip">Linux

-							(x86 32bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.3.zip">Linux

-							(x86 64bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.3.zip">Mac

-							OSX (Mac x86 32bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.3.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.3.zip">Mac

-							OSX (Mac x86 64bit/Cocoa)</a></li>

-

-				</ul>

-

-				<!--

-

-<b>Version</b>: 1.2.0  |  <b>Date</b>: May 1, 2011  |  <b>Size</b>: 155 MB | <b>Type</b>: Release

-

-<ul> 

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.0.zip">Windows (x86 32bit)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.0.zip">Windows (x86 64bit)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.0.zip">Linux (x86 32bit/GTK 2)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.0.zip">Linux (x86 64bit/GTK 2)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.0.zip">Mac OSX (Mac x86 32bit/Cocoa)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.0.zip">Mac OSX (Mac x86 64bit/Cocoa)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.2.0.zip">Mac OSX (Mac PPC 32bit/Carbon)</a>

-

-</li>

-

-</ul>

-

--->

-

-				<b>Version</b>: 1.1.1 | <b>Date</b>: January 26, 2010 | <b>Size</b>:

-				154 MB | <b>Type</b>: Release

-

-				<ul>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.1.zip">Windows

-							(x86 32bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.1.zip">Windows

-							(x86 64bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.1.zip">Linux

-							(x86 32bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.1.zip">Linux

-							(x86 64bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.1.zip">Mac

-							OSX (Mac x86 32bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.1.zip">Mac

-							OSX (Mac x86 64bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.1.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.1.zip">Mac

-							OSX (Mac PPC 32bit/Carbon)</a></li>

-

-				</ul>

-

-				<!--

-

-<b>Version</b>: 1.1.0  |  <b>Date</b>: September 20, 2010  |  <b>Size</b>: 114 MB  |  <b>Type</b>: Release

-

-<ul> 

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.0.zip">Windows (x86 32bit)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.0.zip">Windows (x86 64bit)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.0.zip">Linux (x86 32bit/GTK 2)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.0.zip">Linux (x86 64bit/GTK 2)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.0.zip">Mac OSX (Mac x86 32bit/Cocoa)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.0.zip">Mac OSX (Mac x86 64bit/Cocoa)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.0.zip">Mac OSX (Mac PPC 32bit/Carbon)</a>

-

-</li>

-

-</ul>

-

--->

-

-				<b>Version</b>: 1.0.0 | <b>Date</b>: February 17, 2010 | <b>Size</b>:

-				108 MB | <b>Type</b>: Release

-

-				<ul>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.0.0.zip">Windows

-							(x86 32bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.0.0.zip">Windows

-							(x86 64bit)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.0.0.zip">Linux

-							(x86 32bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.0.0.zip">Linux

-							(x86 64bit/GTK 2)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.0.0.zip">Mac

-							OSX (Mac x86 32bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.0.0.zip">Mac

-							OSX (Mac x86 64bit/Cocoa)</a></li>

-

-					<li><a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.0.0.zip"><img

-							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a

-						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.0.0.zip">Mac

-							OSX (Mac PPC 32bit/Carbon)</a></li>

-

-				</ul>

-

-				<!--

-

-<b>Version</b>: 0.5.0.I20090614  |  <b>Date</b>: June 14, 2009  |  <b>Type</b>: Integration

-

-<ul>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.5.0.I20090614.zip">Windows (x86 32bit) (106 MB)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-0.5.0.I20090614.zip">Linux (x86 32bit/GTK 2) (106 MB)</a>

-

-</li>

-

-<li> 

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-0.5.0.I20090614.zip">Linux (x86 64bit/GTK 2) (106 MB)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-0.5.0.I20090614.zip">Mac OSX (Mac x86 32bit/Cocoa) (106 MB)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-0.5.0.I20090614.zip">Mac OSX (Mac PPC 32bit/Carbon) (106 MB)</a>

-

-</li>

-

-</ul>

-

-<b>Version</b>: 0.4.0  |  <b>Date</b>: 28 January 2009  |  <b>Type</b>: Stable Build

-

-<ul> 

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.4.0.zip">Windows (x86) (125 MB)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux-0.4.0.zip">Linux (x86/GTK 2) (123 MB)</a>

-

-</li>

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx-0.4.0.zip">Mac OSX (Mac/Carbon) (123 MB)</a>

-

-</li>

-

-</ul>

-

- 

-

-<b>Version</b>: 0.3.0a  |  <b>Date</b>: 13 September 2008  |  <b>Type</b>: Stable Build

-

-<ul> 

-

-<li>

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/stem-0.3.0a-win32-incubation.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;

-

-<a href="http://www.eclipse.org/downloads/download.php?file=/stem/stem-0.3.0a-win32-incubation.zip">Windows (x86) (127 MB)</a>

-

-</li>

-

-</ul>

-

--->

-

-			</div>

-

-		</div>

-

-

-

-	</div>

-

-

-

-	<div id="rightcolumn">

-

-		<!--<div class="sideitem">

-

-   <h6>Incubation</h6>

-

-   <div align="center"><a href="/projects/what-is-incubation.php"><img 

-

-        align="center" src="/images/egg-incubation.png" 

-

-        border="0" alt="Incubation" /></a></div>

-

- 	</div>-->

-

-	</div>

-

-

-

-</div>

-

-<?php 

-

-

-

-$html .= ob_get_contents();

-

-ob_end_clean();

-

-

-

-# Generate the web page

-

-$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);

-

+<?php
+require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+
+require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+
+require_once ($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+require_once ($_SERVER['DOCUMENT_ROOT'] . "/stem/functions.php");
+
+$App = new App();
+
+$Nav = new Nav();
+
+$Menu = new Menu();
+
+include ($App->getProjectCommon()); // All on the same line to unclutter the user's desktop'
+                                   
+// *****************************************************************************
+                                   
+//
+                                   
+// ****************************************************************************
+                                   
+//
+                                   
+// Begin: page-specific settings. Change these.
+
+$pageTitle = "STEM Downloads";
+
+$pageKeywords = "STEM, Eclipse";
+
+$pageAuthor = "Yossi Mesika";
+
+// Add page-specific Nav bars here
+
+// Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
+
+// $Nav->addNavSeparator("My Page Links", "downloads.php");
+
+// $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
+
+// $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
+
+// End: page-specific settings
+
+//
+
+// ini_set('display_errors', '1');
+
+// ini_set('error_reporting', E_ALL);
+
+$downloadsPath = "/home/data2/httpd/download.eclipse.org/stem";
+
+// $downloadsPath = "/data";
+
+$buildTypes = array(
+    'nightly',
+    'integration',
+    'stable',
+    'weekly',
+    'release'
+);
+
+function getVersionData()
+
+{
+    $cacheFile = "versions.cache";
+    
+    $versionsUrl = "http://download.eclipse.org/stem/versions";
+    
+    $dataFile = "/home/data2/httpd/download.eclipse.org/stem/versions";
+    
+    return file($dataFile);
+}
+
+function readPropertyFile($data)
+
+{
+    if (! $data) {
+        
+        return false;
+    }
+    
+    $versions = array();
+    
+    foreach ($data as $line) {
+        
+        if ($line{0} == "#") {
+            
+            continue;
+        }
+        
+        $array = &$versions;
+        
+        $tokens = explode("=", $line);
+        
+        if (is_array($tokens) && sizeof($tokens) > 1) {
+            
+            $key = $tokens[0];
+            
+            $value = $tokens[1];
+            
+            $keyTokens = explode(".", $key);
+            
+            foreach ($keyTokens as $childKey) {
+                
+                if (! array_key_exists($childKey, $array)) {
+                    
+                    $array[$childKey] = array();
+                }
+                
+                $array = &$array[$childKey];
+            }
+            
+            $array = trim($value);
+        }
+    }
+    
+    return $versions;
+}
+
+function getCurrentBuildVersions($buildsPath, $buildTypes)
+
+{
+    $versions = readPropertyFile(getVersionData());
+    
+    return $versions;
+}
+
+$versions = getCurrentBuildVersions($downloadsPath, $buildTypes);
+
+// Paste your HTML content between the EOHTML markers!
+
+/*
+ *
+ * $stableBuild = "1.2.0";
+ *
+ * $weeklyBuild = "1.2.1.I20110504";
+ *
+ * $stableSize = "154 MB";
+ *
+ * $weeklySize = "155 MB";
+ *
+ * $stableBuildDate = "May 1, 2011"; #date("M d, Y", mktime(0, 0, 0, substr($stableBuild, 11, 2), substr($stableBuild, 13, 2), substr($stableBuild, 7, 4)));
+ *
+ * $stableVersion = substr($stableBuild, 0, 5);
+ *
+ * $weeklyBuildDate = date("M d, Y", mktime(0, 0, 0, substr($weeklyBuild, 11, 2), substr($weeklyBuild, 13, 2), substr($weeklyBuild, 7, 4)));
+ *
+ * $weeklyVersion = substr($weeklyBuild, 0, 5);
+ *
+ */
+function displayBuild($title, $type, $builds)
+
+{
+    if (! $builds) {
+        
+        return;
+    }
+    
+    $key = strtolower($type);
+    
+    if (array_key_exists($key, $builds)) {
+        
+        $buildData = $builds[$key];
+    }
+    
+    if (! isset($buildData) || ! is_array($buildData)) {
+        
+        return;
+    }
+    
+    $version = $buildData['version'];
+    
+    $date = $buildData['date'];
+    
+    $dateNice = date("M d, Y", mktime(0, 0, 0, substr($date, 4, 2), substr($date, 6, 2), substr($date, 0, 4)));
+    ;
+    
+    // $size = $buildData['size'] . " MB";
+    
+    $buildPath = "http://www.eclipse.org/downloads/download.php?file=/stem/" . $key ;
+    
+    ?>
+
+<div class="homeiteM3u1col">
+
+	<a name="<?php echo $type ?>"></a>
+
+	<h3>
+		<!-- <img border=0 src="images/new.gif">-->
+		<?php echo $title ?> <?php echo $version ?></h3>
+
+	<div style="padding: 3px;">
+
+		<b>Version</b>: <?php echo $version ?>  
+
+|  <b>Date</b>: <?php echo $dateNice  ?>
+
+<!-- |  <b>Size</b>: <?php /*echo $size*/ ?>-->
+
+		| <b>Type</b>: <?php echo $type ?>
+
+<ul>
+
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86.zip">Windows
+					(x86)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-win32.win32.x86_64.zip">Windows
+					(x86_64)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86.zip">Linux
+					(x86/GTK 2)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip">Linux
+					(x86_64/GTK 2)</a></li>
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip">Linux
+					(ppc64le)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>/org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip">Mac
+					OS X (x86_64/Cocoa)</a></li>
+
+		</ul>
+
+	</div>
+
+</div>
+
+<?php
+}
+
+function displayBuildForStem4($title, $type, $builds)
+
+{
+    $version = "Release V4.0.2";
+    
+    // $date = $buildData['date'];
+    
+    // $dateNice = date("M d, Y", mktime(0, 0, 0, substr($date, 4, 2), substr($date, 6, 2), substr($date, 0, 4)));;
+    
+    // $size = $buildData['size'] . " MB";
+    
+    $buildPath = "http://www.eclipse.org/downloads/download.php?file=/stem/release/";
+    
+    ?>
+
+<div class="homeiteM3u1col">
+
+	<a name="<?php echo $type ?>"></a>
+
+	<h3>
+		<!-- <img border=0 src="images/new.gif">-->
+		<?php echo $title ?> <?php echo $version ?></h3>
+
+	<div style="padding: 3px;">
+
+		<b>Version</b>: <?php echo $version ?>  
+
+<ul>
+
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86.zip">Windows
+					(x86)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-win32.win32.x86_64.zip">Windows
+					(x86_64)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86.zip">Linux
+					(x86/GTK 2)</a></li>
+
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.x86_64.zip">Linux
+					(x86_64/GTK 2)</a></li>
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-linux.gtk.ppc64le.zip">Linux
+					(ppc64le)</a></li>
+			<li><a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip"><img
+					border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+				href="<?php echo $buildPath?>org.eclipse.stem.tycho.product-macosx.cocoa.x86_64.zip">Mac
+					OS X (x86_64/Cocoa)</a></li>
+
+		</ul>
+
+	</div>
+
+</div>
+
+<?php
+}
+
+ob_start();
+
+?>
+
+
+
+<div id="maincontent">
+
+	<div id="midcolumn">
+
+
+
+		<div class="homeiteM3u1col">
+
+			<a name="about"></a>
+
+			<h3>Download STEM</h3>
+
+			<div style="padding: 3px;">
+
+				<center>
+
+					<img border=0 src="images/STEM_TOP_BAR.png"
+						style="width: 100%; margin-bottom: 20px">
+
+				</center>
+
+				<p>STEM is a standalone rich client platform (RCP). STEM requires at
+					least Java 1.8. Java JREs from Oracle and IBM are supported.</p>
+
+				<p>
+
+					You can get more information about installing STEM <a
+						href="http://wiki.eclipse.org/Installation_Guide">from here</a>.
+
+				</p>
+
+				<p>
+
+					All downloads are provided under the terms and conditions of the <a
+						href="/legal/epl/notice.php">Eclipse Foundation Software User
+						Agreement</a> unless otherwise specified.
+
+				</p>
+
+
+			</div>
+
+		</div>    
+
+        
+       <?php displayBuildForStem4("STEM", "", ""); ?>
+       <?php displayBuild("Weekly Integration Build", "Integration", $versions); ?>
+
+        
+
+       
+
+
+
+
+
+<div class="homeiteM3u1col">
+
+			<a name="samples"></a>
+
+			<h3>
+				<a name="DownloadableScenarios">Downloadable Scenarios</a>
+			</h3>
+
+			<div style="padding: 3px;">
+
+				Download the project and import it into STEM using <i>File->Import...->Existing
+					projects into workspace</i> <br />
+
+   
+
+    <?php getData('/stem/data/scenarios.xml', -1, 'images/icon-save.gif'); ?>
+
+   	   
+
+</div>
+
+		</div>
+
+
+
+
+
+        <?php //displayBuild("Nightly Build", "Nightly", $versions); ?>
+
+
+
+<!-- 
+
+<div class="homeiteM3u1col">
+
+    <a name="integration"></a>
+
+<h3>$weeklyVersion Weekly Integration Builds</h3>
+
+<div style="padding:3px;">
+
+<b>Version</b>: $weeklyBuild  |  <b>Date</b>: $weeklyBuildDate  |  <b>Type</b>: Integration
+
+<ul> 
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86-$weeklyBuild.zip">Windows (x86 32bit) ($weeklySize)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-win32.win32.x86_64-$weeklyBuild.zip">Windows (x86 64bit) ($weeklySize)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86-$weeklyBuild.zip">Linux (x86 32bit/GTK 2) ($weeklySize)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.x86_64-$weeklyBuild.zip">Linux (x86 64bit/GTK 2) ($weeklySize)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.ppc64le-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-linux.gtk.ppc64le-$weeklyBuild.zip">Linux (ppc64le) ($weeklySize)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86-$weeklyBuild.zip">Mac OSX (Mac x86 32bit/Cocoa) ($weeklySize)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86_64-$weeklyBuild.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/integration/STEM-macosx.cocoa.x86_64-$weeklyBuild.zip">Mac OSX (Mac x86 64bit/Cocoa) ($weeklySize)</a>
+
+</li>
+
+</ul>
+
+</div>
+
+</div>
+
+-->
+
+
+
+		<div class="homeiteM3u1col">
+
+			<a name="older"></a>
+
+			<h3>Older Archived Builds (Unsupported)</h3>
+
+			<div style="padding: 3px;">
+
+				<b>Version</b>: 1.4.2 | <b>Date</b>: Dec 14, 2012 | <b>Type</b>:
+				Release
+
+				<ul>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86.zip">Windows
+							(x86 32bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-win32.win32.x86_64.zip">Windows
+							(x86 64bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86.zip">Linux
+							(x86 32bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-linux.gtk.x86_64.zip">Linux
+							(x86 64bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86.zip">Mac
+							OSX (Mac x86 32bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.4.2-macosx.cocoa.x86_64.zip">Mac
+							OSX (Mac x86 64bit/Cocoa)</a></li>
+
+				</ul>
+
+				<b>Version</b>: 1.3.1 | <b>Date</b>: May 1, 2012 | <b>Type</b>:
+				Release
+
+				<ul>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86.zip">Windows
+							(x86 32bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-win32.win32.x86_64.zip">Windows
+							(x86 64bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86.zip">Linux
+							(x86 32bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-linux.gtk.x86_64.zip">Linux
+							(x86 64bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86.zip">Mac
+							OSX (Mac x86 32bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-1.3.1-macosx.cocoa.x86_64.zip">Mac
+							OSX (Mac x86 64bit/Cocoa)</a></li>
+
+				</ul>
+
+
+
+				<b>Version</b>: 1.2.3 | <b>Date</b>: November 17, 2011 | <b>Size</b>:
+				145 MB | <b>Type</b>: Release
+
+				<ul>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.3.zip">Windows
+							(x86 32bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.3.zip">Windows
+							(x86 64bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.3.zip">Linux
+							(x86 32bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.3.zip">Linux
+							(x86 64bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.3.zip">Mac
+							OSX (Mac x86 32bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.3.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.3.zip">Mac
+							OSX (Mac x86 64bit/Cocoa)</a></li>
+
+				</ul>
+
+				<!--
+
+<b>Version</b>: 1.2.0  |  <b>Date</b>: May 1, 2011  |  <b>Size</b>: 155 MB | <b>Type</b>: Release
+
+<ul> 
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.2.0.zip">Windows (x86 32bit)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.2.0.zip">Windows (x86 64bit)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.2.0.zip">Linux (x86 32bit/GTK 2)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.2.0.zip">Linux (x86 64bit/GTK 2)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.2.0.zip">Mac OSX (Mac x86 32bit/Cocoa)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.2.0.zip">Mac OSX (Mac x86 64bit/Cocoa)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.2.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.2.0.zip">Mac OSX (Mac PPC 32bit/Carbon)</a>
+
+</li>
+
+</ul>
+
+-->
+
+				<b>Version</b>: 1.1.1 | <b>Date</b>: January 26, 2010 | <b>Size</b>:
+				154 MB | <b>Type</b>: Release
+
+				<ul>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.1.zip">Windows
+							(x86 32bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.1.zip">Windows
+							(x86 64bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.1.zip">Linux
+							(x86 32bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.1.zip">Linux
+							(x86 64bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.1.zip">Mac
+							OSX (Mac x86 32bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.1.zip">Mac
+							OSX (Mac x86 64bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.1.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.1.zip">Mac
+							OSX (Mac PPC 32bit/Carbon)</a></li>
+
+				</ul>
+
+				<!--
+
+<b>Version</b>: 1.1.0  |  <b>Date</b>: September 20, 2010  |  <b>Size</b>: 114 MB  |  <b>Type</b>: Release
+
+<ul> 
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.1.0.zip">Windows (x86 32bit)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.1.0.zip">Windows (x86 64bit)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.1.0.zip">Linux (x86 32bit/GTK 2)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.1.0.zip">Linux (x86 64bit/GTK 2)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.1.0.zip">Mac OSX (Mac x86 32bit/Cocoa)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.1.0.zip">Mac OSX (Mac x86 64bit/Cocoa)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.1.0.zip">Mac OSX (Mac PPC 32bit/Carbon)</a>
+
+</li>
+
+</ul>
+
+-->
+
+				<b>Version</b>: 1.0.0 | <b>Date</b>: February 17, 2010 | <b>Size</b>:
+				108 MB | <b>Type</b>: Release
+
+				<ul>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86-1.0.0.zip">Windows
+							(x86 32bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32.win32.x86_64-1.0.0.zip">Windows
+							(x86 64bit)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-1.0.0.zip">Linux
+							(x86 32bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-1.0.0.zip">Linux
+							(x86 64bit/GTK 2)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-1.0.0.zip">Mac
+							OSX (Mac x86 32bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86_64-1.0.0.zip">Mac
+							OSX (Mac x86 64bit/Cocoa)</a></li>
+
+					<li><a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.0.0.zip"><img
+							border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp; <a
+						href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-1.0.0.zip">Mac
+							OSX (Mac PPC 32bit/Carbon)</a></li>
+
+				</ul>
+
+				<!--
+
+<b>Version</b>: 0.5.0.I20090614  |  <b>Date</b>: June 14, 2009  |  <b>Type</b>: Integration
+
+<ul>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.5.0.I20090614.zip">Windows (x86 32bit) (106 MB)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86-0.5.0.I20090614.zip">Linux (x86 32bit/GTK 2) (106 MB)</a>
+
+</li>
+
+<li> 
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux.gtk.x86_64-0.5.0.I20090614.zip">Linux (x86 64bit/GTK 2) (106 MB)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.cocoa.x86-0.5.0.I20090614.zip">Mac OSX (Mac x86 32bit/Cocoa) (106 MB)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-0.5.0.I20090614.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx.carbon.ppc-0.5.0.I20090614.zip">Mac OSX (Mac PPC 32bit/Carbon) (106 MB)</a>
+
+</li>
+
+</ul>
+
+<b>Version</b>: 0.4.0  |  <b>Date</b>: 28 January 2009  |  <b>Type</b>: Stable Build
+
+<ul> 
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-win32-0.4.0.zip">Windows (x86) (125 MB)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-linux-0.4.0.zip">Linux (x86/GTK 2) (123 MB)</a>
+
+</li>
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx-0.4.0.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/STEM-macosx-0.4.0.zip">Mac OSX (Mac/Carbon) (123 MB)</a>
+
+</li>
+
+</ul>
+
+ 
+
+<b>Version</b>: 0.3.0a  |  <b>Date</b>: 13 September 2008  |  <b>Type</b>: Stable Build
+
+<ul> 
+
+<li>
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/stem-0.3.0a-win32-incubation.zip"><img border=0 src="images/icon-save.gif"></a>&nbsp;&nbsp;
+
+<a href="http://www.eclipse.org/downloads/download.php?file=/stem/stem-0.3.0a-win32-incubation.zip">Windows (x86) (127 MB)</a>
+
+</li>
+
+</ul>
+
+-->
+
+			</div>
+
+		</div>
+
+
+
+	</div>
+
+
+
+	<div id="rightcolumn">
+
+		<!--<div class="sideitem">
+
+   <h6>Incubation</h6>
+
+   <div align="center"><a href="/projects/what-is-incubation.php"><img 
+
+        align="center" src="/images/egg-incubation.png" 
+
+        border="0" alt="Incubation" /></a></div>
+
+ 	</div>-->
+
+	</div>
+
+
+
+</div>
+
+<?php 
+
+
+
+$html .= ob_get_contents();
+
+ob_end_clean();
+
+
+
+# Generate the web page
+
+$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+
 ?>
\ No newline at end of file