incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r830872 [1/4] - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/test/new/
Date Sun, 02 Sep 2012 14:33:24 GMT
Author: buildbot
Date: Sun Sep  2 14:33:23 2012
New Revision: 830872

Log:
Staging update by buildbot for openofficeorg

Added:
    websites/staging/ooo-site/trunk/content/download/test/new/
    websites/staging/ooo-site/trunk/content/download/test/new/analyze.html
    websites/staging/ooo-site/trunk/content/download/test/new/download.js
    websites/staging/ooo-site/trunk/content/download/test/new/download_tables.js
    websites/staging/ooo-site/trunk/content/download/test/new/exceptions.css
    websites/staging/ooo-site/trunk/content/download/test/new/globalvars.js
    websites/staging/ooo-site/trunk/content/download/test/new/index.html
    websites/staging/ooo-site/trunk/content/download/test/new/languages.js
    websites/staging/ooo-site/trunk/content/download/test/new/notes.html
    websites/staging/ooo-site/trunk/content/download/test/new/other.html
    websites/staging/ooo-site/trunk/content/download/test/new/other_print.html
    websites/staging/ooo-site/trunk/content/download/test/new/styles.css
Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep  2 14:33:23 2012
@@ -1 +1 @@
-1379837
+1379978

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep  2 14:33:23 2012
@@ -1 +1 @@
-1379837
+1379978

Added: websites/staging/ooo-site/trunk/content/download/test/new/analyze.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/new/analyze.html (added)
+++ websites/staging/ooo-site/trunk/content/download/test/new/analyze.html Sun Sep  2 14:33:23 2012
@@ -0,0 +1,81 @@
+<!--#include virtual="/doctype.html" -->
+<html>
+<head>
+<link href="/css/ooo.css" rel="stylesheet" type="text/css">
+
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>OpenOffice.org Downloads</title>
+  <script type="text/javascript" src="globalvars.js"></script>
+  <script type="text/javascript" src="download.js"></script>
+  <script type="text/javascript" src="languages.js"></script>
+  <style type="text/css">
+  /* <![CDATA[ */
+  /*-------------------- Exceptions on standard css -----------------------*/
+  @import "styles.css";
+  @import "exceptions.css";
+  /* ]]> */
+  </style>
+
+<!--#include virtual="/google-analytics.js" -->
+</head>
+<body>
+<!--#include virtual="/brand.html" -->
+  <div id="topbara">
+    <!--#include virtual="/topnav.html" -->
+    <div id="breadcrumbsa"><a href="/">home</a>&nbsp;&raquo;&nbsp;<a href="/download/">download</a>&nbsp;&raquo;&nbsp;<a href="/download/test/">test</a>&nbsp;&raquo;&nbsp;<a href="/download/test/new/">new</a></div>
+  </div>
+  <div id="clear"></div>
+  
+  
+  <div id="content">
+    
+    
+    
+
+<script type="text/javascript">
+  document.write( "<table style='text-align: left' border='1'><tbody>" );
+  document.write( "<tr><td><b>Variables from the browser		</b></td><td><b>Values</b></td></tr>" );
+  // document.write( "<tr><td>window.location.href			</td><td>" + window.location.href			+ "</td></tr>" );
+  document.write( "<tr><td>navigator.platform				</td><td>" + navigator.platform				+ "</td></tr>" );
+  document.write( "<tr><td>navigator.platform.toLowerCase()		</td><td>" + navigator.platform.toLowerCase()		+ "</td></tr>" );
+  document.write( "<tr><td>navigator.language				</td><td>" + navigator.language				+ "</td></tr>" );
+  document.write( "<tr><td>navigator.userLanguage			</td><td>" + navigator.userLanguage			+ "</td></tr>" );
+  document.write( "<tr><td>navigator.systemLanguage			</td><td>" + navigator.systemLanguage			+ "</td></tr>" );
+  document.write( "<tr><td>navigator.userAgent				</td><td>" + navigator.userAgent			+ "</td></tr>" );
+  if ( navigator.userAgent.indexOf( "Debian" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with Debian ?)	</td><td>" + navigator.userAgent.indexOf( "Debian" )	+ "</td></tr>" );
+  if ( navigator.userAgent.indexOf( "Ubuntu" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with Ubuntu ?)	</td><td>" + navigator.userAgent.indexOf( "Ubuntu" )	+ "</td></tr>" );
+  if ( navigator.userAgent.indexOf( "IceWeasel" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with IceWeasel ?)	</td><td>" + navigator.userAgent.indexOf( "IceWeasel" )	+ "</td></tr>" );
+    document.write( "<tr><td>navigator.userAgent.toLowerCase()		</td><td>" + navigator.userAgent.toLowerCase()		+ "</td></tr>" );
+  if ( navigator.userAgent.toLowerCase().indexOf( "debian" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with Debian ?)	</td><td>" + navigator.userAgent.toLowerCase().indexOf( "debian" )    + "</td></tr>" );
+  if ( navigator.userAgent.toLowerCase().indexOf( "ubuntu" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with Ubuntu ?)	</td><td>" + navigator.userAgent.toLowerCase().indexOf( "ubuntu" )    + "</td></tr>" );
+  if ( navigator.userAgent.toLowerCase().indexOf( "iceweasel" ) != -1 )
+    document.write( "<tr><td>navigator.UserAgent (with IceWeasel ?)	</td><td>" + navigator.userAgent.toLowerCase().indexOf( "iceweasel" ) + "</td></tr>" );
+  if ( navigator.javaEnabled() ) {
+    document.write( "<tr><td>navigator.javaEnabled()			</td><td>Yes</td></tr>" );
+  } else {
+    document.write( "<tr><td>navigator.javaEnabled()			</td><td>No </td></tr>" );
+  }
+  document.write( "<tr><td><b>JavaScript functions from the DL scripts	</b></td><td><b>Return values</b></td></tr>" );
+  document.write( "<tr><td>getArray( LANGUAGE )				</td><td>" + getArray( "" )				+ "</td></tr>" );
+  document.write( "<tr><td>getLanguageISO( LANGUAGE )			</td><td>" + getLanguageISO( "" )			+ "</td></tr>" );
+  document.write( "<tr><td>Native language name				</td><td>" + NATIVE_LANG				+ "</td></tr>" );
+  document.write( "<tr><td>getPlatform()				</td><td>" + getPlatform()				+ "</td></tr>" );
+  document.write( "<tr><td>Native platform name				</td><td>" + PLATFORM					+ "</td></tr>" );
+  document.write( "<tr><td>getFilename( VERSION, LANGUAGE )		</td><td>" + getFilename( VERSION, "" )			+ "</td></tr>" );
+  document.write( "<tr><td>Native file extension name			</td><td>" + EXTENSION					+ "</td></tr>" );
+  document.write( "<tr><td>getChecksum( VERSION, LANGUAGE, HASH )	</td><td>" + getChecksum( VERSION, "", "md5" )		+ "</td></tr>" );
+  document.write( "<tr><td>getLink( VERSION, LANGUAGE )			</td><td>" + getLink( VERSION, "" )			+ "</td></tr>" );
+  document.write( "<tr><td>hasMirrorLink()				</td><td>" + hasMirrorLink()				+ "</td></tr>" );
+  document.write( "</tbody></table><br/><br/>" );
+</script>
+
+
+  </div>
+<!--#include virtual="/footer.html" -->
+</body>
+</html>

Added: websites/staging/ooo-site/trunk/content/download/test/new/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/new/download.js (added)
+++ websites/staging/ooo-site/trunk/content/download/test/new/download.js Sun Sep  2 14:33:23 2012
@@ -0,0 +1,292 @@
+/*
+ * Overview of all functions defined below
+ * function getArray       ( nl_language )
+ * function getLanguageISO ( nl_language )
+ * function hasMirrorLink  ()
+ * function getLink        ( version, nl_language )
+ * function getPlatform    ()
+ * function getFilename    ( version, nl_language )
+ * function getChecksum    ( version, nl_language, hash )
+ * function openItem       ( itemid, uri )
+ */
+
+/*
+ * get array for language
+ * depends on nl_language
+ */
+function getArray( nl_language ) {
+	var language = "";
+
+	if ( nl_language != "" )
+		language = nl_language;
+	else if ( navigator.language )
+		language = navigator.language;
+	else if ( navigator.userLanguage )
+		language = navigator.userLanguage;
+	else if ( navigator.systemLanguage )
+		language = navigator.systemLanguage;
+
+	// Convert "en" to "en-US" as well since en-US build is the canonical
+	// translation, and thus better tested.
+	if ( !language || language == "" || language == "null" || language == "en" )
+		language = "en-US";
+	if ( language == "pt" )
+		language = "pt-PT";
+
+	// Konqueror uses '_' where other browsers use '-'.
+	if ( language.indexOf( "_" ) != -1 ) {
+		language = language.split( "_" ).join( "-" );
+	}
+
+	language         = language.toLowerCase();
+	var languageCode = language.split( "-" )[ 0 ];
+	var regionCode   = language.split( "-" )[ 1 ];
+
+	var thisLanguageSet  = languages[ languageCode ];
+	if ( thisLanguageSet == null ) {
+		// language code not found inside array
+		languageCode     = "en";
+		regionCode       = "us";
+		thisLanguageSet  = languages[ languageCode ];
+	}
+
+	if ( regionCode != null ) {
+		// found additional region code
+		if ( thisLanguageSet[ regionCode ] != null ) {
+			// choose langCode-regionCode
+			thisLanguage = thisLanguageSet[ regionCode ];
+		} else {
+			// choose default
+			thisLanguage = thisLanguageSet[ "-" ];
+			if ( languageCode == "en" ) {
+				// special case, default is en-US for en-XX
+				regionCode       = "us";
+				thisLanguageSet  = languages[ languageCode ];
+				thisLanguage     = thisLanguageSet[ regionCode ];
+			}
+		}
+	} else {
+		// choose default for none given region code
+		thisLanguage = thisLanguageSet[ "-" ];
+	};
+	LANG_ARRAY  = thisLanguage;
+	NATIVE_LANG = thisLanguage[ 2 ];
+	return thisLanguage;
+}
+
+/*
+ * get language for user-language in ISO format
+ * depends on nl_language
+ */
+function getLanguageISO( nl_language ) {
+	var language = "";
+
+	if ( nl_language != "" )
+		language = nl_language;
+	else if ( navigator.language )
+		language = navigator.language;
+	else if ( navigator.userLanguage )
+		language = navigator.userLanguage;
+	else if ( navigator.systemLanguage )
+		language = navigator.systemLanguage;
+
+	// Convert "en" to "en-US" as well since en-US build is the canonical
+	// translation, and thus better tested.
+	if ( language == "" || language == "null" || language == "en" )
+		language = "en-US";
+	if ( language == "pt" )
+		language = "pt-PT";
+
+	// Konqueror uses '_' where other browsers use '-'.
+	if ( language.indexOf( "_" ) != -1 )
+		language = language.split( "_" ).join( "-" );
+
+	language         = language.toLowerCase();
+	var languageCode = language.split( "-" )[ 0 ];
+	var regionCode   = language.split( "-" )[ 1 ];
+
+	var thisLanguageSet  = languages[ languageCode ];
+	if ( thisLanguageSet == null ) {
+		language = "en-US";
+	} else if ( regionCode  != null ) {
+		if ( regionCode == "pt" && languageCode == "pt" ) {
+			// fix for Port. pt-PT downloads named only pt without region code!
+			language = languageCode;
+		}
+		if ( thisLanguageSet[ regionCode ] != null ) {
+			// choose langCode-regionCode
+			language = languageCode + "-" + regionCode.toUpperCase();
+		} else {
+			// choose default
+			if ( languageCode == "en" ) {
+				// special case, default is en-US for en-XX
+				language = "en-US";
+			} else
+				language = languageCode;
+		}
+	} else {
+		// choose default
+		language = languageCode;
+	};
+	LANG_ISO = language;
+	return language;
+}
+
+/*
+ * get flag for mirror link
+ * depends on array-list
+ */
+function hasMirrorLink() {
+	if ( PLATFORM == "no_native_platform" )
+		 return false;
+
+	// Check the flag in "languages.js", 'y' -> provide download link, 'n' -> redirect to alternative webpage
+	if ( LANG_ARRAY[ 3 ] == 'y' ) {
+		return true;
+	} else {
+		return false;
+	}
+}
+
+/*
+ * get link to mirror system for download-set
+ * depends on array-list
+ */
+function getLink( version, nl_language ) {
+	var LANG_ARRAY = getArray( nl_language );
+	var LANG_ISO   = getLanguageISO( nl_language );
+	var PLATFORM   = getPlatform();
+	var link       = "";
+
+	if ( nl_language == "" )
+		nl_language = LANG_ISO;
+
+	// trim timestamp from version, required for RC
+	if ( version.indexOf( "_" ) > -1 )
+		version = version.split( "_" )[0];
+
+	if ( hasMirrorLink() ) {
+		link = SOURCEFORGE_BASE_URL + "files/";
+		if ( nl_language == "en-US" ) {
+			link = link + "stable/"                        + version + "/";
+		} else {
+			link = link + "localized/" + nl_language + "/" + version + "/";
+		}
+		link = link + getFilename( version, nl_language );
+		return link + "/download";
+	} else {
+		return LANG_ARRAY[ 4 ];
+	}
+}
+
+/*
+ * get checksum file
+ * depending on which install file was recognized and assembled
+ */
+function getChecksum( version, nl_language, hash ) {
+	var link = "";
+
+	if ( hasMirrorLink() ) {
+		if ( LANG_ISO == "en-US" ) {
+			link = APACHE_DIST_BASE_URL + "files/stable/"                     + version + "/";
+		} else {
+			link = APACHE_DIST_BASE_URL + "files/localized/" + LANG_ISO + "/" + version + "/";
+		}
+	} else {
+		return "no_checksum";
+	}
+	return link + getFilename( version, nl_language ) + "." + hash;
+}
+
+/*
+ * get platform of browser
+ * depending on what is recognized from browser's user-agent data
+ */
+function getPlatform() {
+	var mirror_platform = "";
+
+	if ( navigator.platform != "" ) {
+		if ( navigator.platform.toLowerCase().indexOf( "windows" ) != -1 ||
+		     navigator.platform.toLowerCase().indexOf( "win" )     != -1 ) {
+			mirror_platform = "Win_x86_install";
+			PLATFORM        = "Windows (EXE)";
+			EXTENSION       = ".exe";
+		} else if ( navigator.platform.toLowerCase().indexOf( "linux" ) != -1 ) {
+			if ( navigator.platform.indexOf( "64" ) != -1 ) {
+				if ( navigator.platform != "" ) {
+					if ( navigator.userAgent.toLowerCase().indexOf( "debian" )    != -1 ||
+					     navigator.userAgent.toLowerCase().indexOf( "ubuntu" )    != -1 ||
+					     navigator.userAgent.toLowerCase().indexOf( "iceweasel" ) != -1 ) {
+						mirror_platform = "Linux_x86-64_install-deb";
+						PLATFORM        = "Linux Debian 64-bit (DEB)";
+						EXTENSION       = ".tar.gz";
+					} else {
+						mirror_platform = "Linux_x86-64_install-rpm";
+						PLATFORM        = "Linux 64-bit (RPM)";
+						EXTENSION       = ".tar.gz";
+					}
+				} else {
+					mirror_platform = "Linux_x86-64_install-rpm";
+					PLATFORM        = "Linux 64-bit (RPM)";
+					EXTENSION       = ".tar.gz";
+				}
+			} else {
+				if ( navigator.platform != "" ) {
+					if ( navigator.userAgent.toLowerCase().indexOf( "debian" )    != -1 ||
+					     navigator.userAgent.toLowerCase().indexOf( "ubuntu" )    != -1 ||
+					     navigator.userAgent.toLowerCase().indexOf( "iceweasel" ) != -1 ) {
+						mirror_platform = "Linux_x86_install-deb";
+						PLATFORM        = "Linux Debian 32-Bit (DEB)";
+						EXTENSION       = ".tar.gz";
+					} else {
+						mirror_platform = "Linux_x86_install-rpm";
+						PLATFORM        = "Linux 32-Bit (RPM)";
+						EXTENSION       = ".tar.gz";
+					}
+				} else {
+					mirror_platform = "Linux_x86-64_install-rpm";
+					PLATFORM        = "Linux 32-Bit (RPM)";
+					EXTENSION       = ".tar.gz";
+				}
+			}
+		} else if ( navigator.platform.toLowerCase().indexOf( "mac" ) != -1 ) {
+			mirror_platform = "MacOS_x86_install";
+			PLATFORM        = "Mac OS Intel (DMG)";
+			EXTENSION       = ".dmg";
+		}
+	} else {
+		// if navigator.platform is null or empty, then no platform was recognized
+		mirror_platform = "no_platform";
+		PLATFORM        = "no_native_platform";
+		EXTENSION       = "no_native_extension";
+	}
+	return mirror_platform;
+}
+
+/*
+ * get filename for mirror-link
+ * depends on nl_language
+ */
+function getFilename( version, nl_language ) {
+	var filename = "";
+
+	if ( nl_language == "" )
+		nl_language = LANG_ISO;
+
+	if ( hasMirrorLink() ) {
+		filename = "Apache_OpenOffice_incubating_" + version + "_" + getPlatform() + "_" + nl_language + EXTENSION;
+	} else {
+		filename = "no_filename";
+	}
+	return filename;
+}
+
+/*
+ * set document.location to start the download
+ */
+function openItem( itemid, uri ) {
+	var thisDocument  = document.getElementById( "downloadextendedtext" );
+	var thisDocument  = document.getElementById( itemid );
+	document.location = uri;
+};
+

Added: websites/staging/ooo-site/trunk/content/download/test/new/download_tables.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/new/download_tables.js (added)
+++ websites/staging/ooo-site/trunk/content/download/test/new/download_tables.js Sun Sep  2 14:33:23 2012
@@ -0,0 +1,541 @@
+/*
+ * Overview of all functions defined below
+ * function write_table     ( REL_MODE )
+ * function write_empty_row ()
+ * function write_top       ()
+ * function write_header    ( FIRST_HEADER )
+ * function write_build     ( URL_AOO, URL_HASH, PLATFORM, INSTALL_LANG, i, k, VERSION, AOO, TYPE )
+ * function write_lang      ( REL_MODE, URL_AOO, URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO )
+ * function write_sdk       ( REL_MODE, URL_SDK, URL_SRC, URL_HASH, PLATFORM, SDK_LANG, VERSION, AOO )
+ */
+
+/*
+ * Define global variables 
+ */
+var COLSPAN		= 9;	// Defines the default number of columns for the table (default = 9)
+var ROW_COUNT		= 1;	// Counts the number of rows (default = 1)
+var FULL_LANG_COUNT	= 1;	// Counts the max number of languages for full install sets (default = 1)
+var LP_LANG_COUNT	= 1;	// Counts the max number of languages for language packs (default = 1)
+var LANG_MAX		= 133;  // The maximal available number of languages (see the bottom)
+
+/*
+ * Define base variables
+ * The main entry for writting the table into the webpage 
+ */
+function write_table( REL_MODE ) {
+	// Depending from the release mode variables
+	if ( REL_MODE == "aoo" ) {
+		var PLATFORM	= AOO_PLATFORM;
+		var FULL_LANG	= AOO_FULL_LANG;
+		var LP_LANG	= AOO_LP_LANG;
+		var SDK_LANG	= AOO_SDK_LANG;
+		var AOO		= "/Apache_OpenOffice_incubating_";
+		var AOO_SDK	= "/Apache_OpenOffice_incubating-SDK_";
+		var VERSION	= AOO_VERSION;
+		var NAME	= "Apache OpenOffice " + AOO_VERSION + " - Full installation sets and language packs";
+		var DEV		= "";
+		var DEV_SRC	= "/source/aoo-";
+	} else {
+		// Write a hint when the release mode is unknown to have a starting point for debugging
+		document.write( "" );
+		document.write( "write_table(): Unknown release mode: '" + REL_MODE + "'" );
+		document.write( "<br /><br />" );
+
+		return;
+	}
+	var URL_AOO	= SOURCEFORGE_BASE_URL + "files/";
+	var URL_SDK	= SOURCEFORGE_BASE_URL + "files/stable/" + VERSION + AOO_SDK + VERSION;
+	var URL_SRC	= APACHE_BASE_URL                        + VERSION + DEV_SRC;
+	var URL_HASH	= APACHE_DIST_BASE_URL;
+
+	document.write( "<hr style='display: block;' />" );
+	document.write( "<div class='largetable'>" );
+	document.write( "<h3 id='" + REL_MODE + "'>" + NAME + "</h3><br />" );
+	document.write( "<table class='builds' cellpadding='2' cellspacing='2'>" );
+
+	write_header( 1 );
+	document.write( "<tbody>" );
+	write_lang( REL_MODE, URL_AOO,                   URL_HASH,          PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO     );
+	write_sdk(  REL_MODE,          URL_SDK, URL_SRC, URL_HASH, DEV_SRC, PLATFORM, SDK_LANG,           VERSION, AOO_SDK );
+	write_top();
+
+	document.write( "</tbody></table>" );
+	document.write( "</div>" );
+}
+
+/*
+ * This writes an empty row
+ */
+function write_empty_row() {
+	if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
+	     ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 ) {
+
+// Debug: Uncomment to get output inside the table
+		document.write( "<tr class='a'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
+//		document.write( "<tr class='a'><td class='footer' colspan='" + COLSPAN + "'>" + ROW_COUNT + "&nbsp;</td></tr>" );
+	} else {
+		document.write( "<tr class='b'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
+//		document.write( "<tr class='b'><td class='footer' colspan='" + COLSPAN + "'>" + ROW_COUNT + "&nbsp;</td></tr>" );
+		ROW_COUNT++;
+	}
+}
+
+/*
+ * This writes the "Start of page" link within the table
+ */
+function write_top() {
+	document.write( "<tr><td class='footer' colspan='" + COLSPAN + "'>&nbsp;" );
+	document.write( "<div><small><a href='#' title='Go to the start of the page'>Start of page</a></small></div>" );
+	document.write( "&nbsp;</td></tr>" );
+}
+
+/*
+ * This writes the header row with the OS headlines
+ */
+function write_header( FIRST_HEADER ) {
+	// If it's the first header at the top of a table use a normal font size,
+	// use a smaller font size for further headers within the table.
+	if ( FIRST_HEADER == 1 ) {
+		var SMALL1 = "";
+		var SMALL2 = "";
+	} else {
+		var SMALL1 = "<small>";
+		var SMALL2 = "</small>";
+	}
+
+	document.write( "<thead><tr>" );
+	document.write( "<th colspan='2' style='text-align: center'>"                  + SMALL1 + "Language<br />The names do not refer to countries.<br />&nbsp;" + SMALL2 + "</th>" );
+	document.write( "<th><span style='text-align: center' class='builds'>"         + SMALL1 + "Type<br />&nbsp;<br />&nbsp;"     + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Windows    <br />Intel <br />EXE" + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />Intel <br />RPM" + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />Intel <br />DEB" + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />x86-64<br />RPM" + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Linux      <br />x86-64<br />DEB" + SMALL2 + "</span></th>" );
+	if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 )
+		document.write( "<th><span style='text-align: center' class='builds'>" + SMALL1 + "Mac&nbsp;OS<br />Intel <br />DMG" + SMALL2 + "</span></th>" );
+	document.write( "</tr></thead>" );
+}
+
+/*
+ * This writes the build rows (full install, langpack, SDK)
+ */
+function write_build( URL_AOO, URL_HASH, PLATFORM, INSTALL_LANG, i, k, VERSION, AOO, TYPE ) {
+	if ( ROW_COUNT ==  1 || ROW_COUNT ==  2 || ROW_COUNT ==  5 || ROW_COUNT == 6  || ROW_COUNT == 9 ||
+	     ROW_COUNT == 10 || ROW_COUNT == 13 || ROW_COUNT == 14 || ROW_COUNT == 17 || ROW_COUNT == 18 )
+		document.write( "<tr class='a'>" );
+	else
+		document.write( "<tr class='b'>" );
+
+// Debug: uncomment to get output inside the table
+	if ( URL_AOO.indexOf( "SDK" ) < 0 ) {
+		if ( TYPE == "install" ) {
+			document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Full&nbsp;Install</small></td>" );
+//			document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + FULL_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Full&nbsp;Install</small></td>" );
+		} else {
+			document.write( "<td>                                        </td><td>                                            </td><td><small>Langpack</small></td>" );
+//			document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + LP_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>Langpack</small></td>" );
+		}
+	} else {
+		document.write( "<td><small>" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td id='sdk'><small>SDK</small></td>" );
+//		document.write( "<td><small>" + ROW_COUNT + "&nbsp;:&nbsp;" + FULL_LANG_COUNT + "&nbsp;:&nbsp;" + i + "&nbsp;:&nbsp;" + k + "&nbsp;" + LANG[ i ][ "EN" ] + "</small></td><td><small>" + LANG[ i ][ "NATIVE" ] + "</small></td><td><small>SDK</small></td>" );
+	}
+
+	if ( INSTALL_LANG[ k ] != "en-US" ) {
+		// Write download links for localized builds and its checksums
+		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "localized/"       + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/localized/" + INSTALL_LANG[ k ] + "/" + VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		}
+	} else if ( URL_AOO.indexOf( "SDK" ) > -1 ) {
+		// Write download links for SDK VERSIONs and its checksums
+		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Win_x86_"           + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86_"         + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86_"         + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86-64_"      + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_Linux_x86-64_"      + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  +                                                                      "_MacOS_x86_"         + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		}
+	} else {
+		// Write download links for en-US VERSIONs and its checksums
+		if ( AOO_PLATFORM.indexOf( "Win_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe/download'><b>exe</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Win_x86_"       + TYPE          + "_" + INSTALL_LANG[ k ] + ".exe.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_rpm" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-rpm" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>rpm</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Linux_x86-64_deb" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE + "-deb" + "_" + INSTALL_LANG[ k ] + ".tar.gz/download'><b>deb</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_Linux_x86-64_"  + TYPE          + "_" + INSTALL_LANG[ k ] + ".tar.gz.sha256'>SHA256</a></td>" );
+		}
+		if ( AOO_PLATFORM.indexOf( "Mac_OS_x86" ) > -1 ) {
+			document.write( "<td style='text-align: center'><a href='" + URL_AOO  + "stable/"          +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg/download'><b>dmg</b></a><br /><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.asc'>ASC</a>" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.md5'>MD5</a><br />" );
+			document.write( "                               <a href='" + URL_HASH + "files/stable/"    +                           VERSION + AOO + VERSION + "_MacOS_x86_"     + TYPE          + "_" + INSTALL_LANG[ k ] + ".dmg.sha256'>SHA256</a></td>" );
+		}
+	}
+
+	document.write( "</tr>" );
+
+	// When enough rows are on the screen then write a small header for better visual orientation
+	ROW_COUNT++;
+	if ( ROW_COUNT == 9 ) {
+		write_top();
+		write_header( 0 );
+		ROW_COUNT = 1;
+	}
+}
+
+/*
+ * This writes the English and native name of a language and all download links
+ */
+function write_lang( REL_MODE, URL_AOO, URL_HASH, PLATFORM, FULL_LANG, LP_LANG, VERSION, AOO ) {
+	ROW_COUNT	= 1;
+	FULL_LANG_COUNT	= 1;
+	LP_LANG_COUNT	= 1;
+
+// Debug: Uncomment to get output at the beginning of the table.
+/*
+	for ( var i = 0; i < FULL_LANG.length; i++ ) {
+		document.write( i + ": " + FULL_LANG[i] + " " );
+	}
+	document.write( "<br />" );
+	for ( var i = 0; i < LP_LANG.length; i++ ) {
+		document.write( i + ": " + LP_LANG[i] + " " );
+	}
+	document.write( "<br />" );
+*/
+	if ( FULL_LANG.length == 1 ) {
+		for ( var i = 0; i < LANG_MAX; i++ ) {
+			for ( var k = 0; k < FULL_LANG.length; k++ ) {
+				if ( FULL_LANG[ k ] == LANG[ i ][ "ISO" ] ) {
+					if ( FULL_LANG[ k ] == "en-US" ) {
+						write_build( URL_AOO, URL_HASH, PLATFORM, FULL_LANG, i, k, VERSION, AOO, "install" );
+					}
+					FULL_LANG_COUNT++;
+
+					// if ( URL_AOO.indexOf( "SDK" ) == -1 ) {
+					//	write_empty_row();
+					// }
+				}
+			}
+		}
+	}
+
+	for ( var i = 0; i < LANG_MAX; i++ ) {
+		for ( var j = 0; j < LP_LANG.length; j++ ) {
+			if ( LP_LANG[ j ] == LANG[ i ][ "ISO" ] ) {
+				for ( var k = 0; k < FULL_LANG.length; k++ ) {
+					if ( FULL_LANG.length > 1 && FULL_LANG[ k ] == LANG[ i ][ "ISO" ] ) {
+						write_build( URL_AOO, URL_HASH, PLATFORM, FULL_LANG, i, k, VERSION, AOO, "install" );
+						FULL_LANG_COUNT++;
+					}
+				}
+				if ( URL_AOO.indexOf( "SDK" ) == -1 ) {
+					write_build( URL_AOO, URL_HASH, PLATFORM, LP_LANG, i, j, VERSION, AOO, "langpack", "_" );
+					LP_LANG_COUNT++;
+				}
+			}
+		}
+	}
+
+// Debug: uncomment to get output at the beginning of the table
+//	document.write( ( FULL_LANG_COUNT - 1 ) + " " + ( LP_LANG_COUNT - 1 ) + "<br />" );
+}
+
+/*
+ * This writes the column names and download links for SDK builds, source tarballs and other files
+ */
+function write_sdk( REL_MODE, URL_SDK, URL_SRC, URL_HASH, DEV_SRC, PLATFORM, SDK_LANG, VERSION, AOO_SDK ) {
+	// Frist write one or two empty rows (depending on the previous row, odd or even row number --> class a or b)
+	// if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
+	//    ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
+	//	document.write( "<tr class='a'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
+
+	// document.write( "<tr id='sdk' class='b'><td class='footer' colspan='" + COLSPAN + "'>&nbsp;</td></tr>" );
+
+	// Then write the row with the SDK builds
+	write_lang( REL_MODE, URL_SDK, URL_HASH, PLATFORM, SDK_LANG, SDK_LANG, VERSION, AOO_SDK );
+	if ( REL_MODE == "aoo" )
+		write_empty_row();
+
+	// Then write the row with the source tarballs
+	if ( ROW_COUNT ==  1 || ROW_COUNT ==  3 || ROW_COUNT ==  5 || ROW_COUNT ==  7 || ROW_COUNT ==  9 ||
+	     ROW_COUNT == 11 || ROW_COUNT == 13 || ROW_COUNT == 15 || ROW_COUNT == 17 || ROW_COUNT == 19 )
+		document.write( "<tr class='a'><td>-</td><td>-</td><td><small>Source</small></td>" );
+	else
+		document.write( "<tr class='b'><td>-</td><td>-</td><td><small>Source</small></td>" );
+
+	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.tar.bz2'><b>tar.bz2</b></a><br /><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.bz2.sha256'>SHA256</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
+	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.tar.gz'><b>tar.gz</b></a><br /><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.tar.gz.sha256'>SHA256</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
+	document.write( "<td style='text-align: center'><a href='" + URL_SRC                      + VERSION + "-incubating-src.zip'><b>zip</b></a><br /><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.asc'>ASC</a>" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.md5'>MD5</a><br />" );
+	document.write( "                               <a href='" + URL_HASH + VERSION + DEV_SRC + VERSION + "-incubating-src.zip.sha256'>SHA256</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
+
+	document.write( "</tr>" );
+	ROW_COUNT++;
+
+	// At last write the row with the other files (release notes and checksums)
+	if ( REL_MODE == "aoo" )
+		write_empty_row();
+
+	document.write( "<tr class='a'><td>-</td><td>-</td><td><small>Other&nbsp;files</small></td>" );
+
+	if ( REL_MODE == "aoo" ) {
+		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + ".html'>         AOO<br />Release<br />Notes</a></td>" );
+		document.write( "<td>&nbsp;</td>" );
+		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + "_sdk.html'>     SDK<br />Release<br />Notes</a></td>" );
+	} else {
+		document.write( "<td style='text-align: center'><a href='http://www.openoffice.org/development/releases/" + VERSION + "_snapshot.html'>AOO<br />Release<br />Notes</a></td>" );
+		document.write( "<td>&nbsp;</td>" );
+		document.write( "<td>&nbsp;</td>" );
+	}
+
+	document.write( "<td>&nbsp;</td>" );
+	document.write( "<td style='text-align: center'><a href='../checksums/"                                           + VERSION + "_checksums.html'>Checksums:<br />ASC, MD5,<br />SHA1, SHA256</a></td>" );
+	document.write( "<td>&nbsp;</td>" );
+
+	document.write( "</tr>" );
+}
+
+/*
+ * Define languages with ISO code, en-US name and native name
+ * All language names were taken from Wikipedia (http://en.wikipedia.org)
+ *
+ * Important:
+ * When new languages where added please increase the value appropriate
+ * in the "LANG_MAX" at the top.
+ */
+
+var LANG  = new Array();
+LANG[0]   = new Array(); LANG[0]["ISO"]   = "ISO";   LANG[0]["EN"]   = "en-US name";  LANG[0]["NATIVE"]   = "Native name";
+LANG[1]   = new Array(); LANG[1]["ISO"]   = "af";    LANG[1]["EN"]   = "Afrikaans";   LANG[1]["NATIVE"]   = "Afrikaans";
+LANG[2]   = new Array(); LANG[2]["ISO"]   = "sq";    LANG[2]["EN"]   = "Albanian";    LANG[2]["NATIVE"]   = "Gjuha&nbsp;shqipe";
+LANG[3]   = new Array(); LANG[3]["ISO"]   = "am";    LANG[3]["EN"]   = "Amharic";     LANG[3]["NATIVE"]   = "አማርኛ";
+LANG[4]   = new Array(); LANG[4]["ISO"]   = "ar";    LANG[4]["EN"]   = "Arabic";      LANG[4]["NATIVE"]   = "عربي";
+LANG[5]   = new Array(); LANG[5]["ISO"]   = "hy";    LANG[5]["EN"]   = "Armenian";    LANG[5]["NATIVE"]   = "Հայերէն";
+LANG[6]   = new Array(); LANG[6]["ISO"]   = "as";    LANG[6]["EN"]   = "Assamese";    LANG[6]["NATIVE"]   = "অসমীয়া";
+LANG[7]   = new Array(); LANG[7]["ISO"]   = "ast";   LANG[7]["EN"]   = "Asturian";    LANG[7]["NATIVE"]   = "Asturianu";
+LANG[8]   = new Array(); LANG[8]["ISO"]   = "az";    LANG[8]["EN"]   = "Azerbaijani"; LANG[8]["NATIVE"]   = "Азәрбајҹан&nbsp;дили";
+LANG[9]   = new Array(); LANG[9]["ISO"]   = "bal";   LANG[9]["EN"]   = "Balochi";     LANG[9]["NATIVE"]   = "بلوچی";
+LANG[10]  = new Array(); LANG[10]["ISO"]  = "eu";    LANG[10]["EN"]  = "Basque";      LANG[10]["NATIVE"]  = "Euskara";
+LANG[11]  = new Array(); LANG[11]["ISO"]  = "be-BY"; LANG[11]["EN"]  = "Belarusian";  LANG[11]["NATIVE"]  = "Беларуская&nbsp;мова";
+LANG[12]  = new Array(); LANG[12]["ISO"]  = "bn";    LANG[12]["EN"]  = "Bengali";     LANG[12]["NATIVE"]  = "বাংলা";
+LANG[13]  = new Array(); LANG[13]["ISO"]  = "brx";   LANG[13]["EN"]  = "Bodo";        LANG[13]["NATIVE"]  = "बड़ो";
+LANG[14]  = new Array(); LANG[14]["ISO"]  = "bs";    LANG[14]["EN"]  = "Bosnian<br />(Cyrillic)";      LANG[14]["NATIVE"] = "босански<br />(ћирилицом)";
+LANG[15]  = new Array(); LANG[15]["ISO"]  = "br";    LANG[15]["EN"]  = "Breton";      LANG[15]["NATIVE"]  = "Brezhoneg";
+LANG[16]  = new Array(); LANG[16]["ISO"]  = "bg";    LANG[16]["EN"]  = "Bulgarian";   LANG[16]["NATIVE"]  = "български&nbsp;език";
+LANG[17]  = new Array(); LANG[17]["ISO"]  = "my";    LANG[17]["EN"]  = "Burmese";     LANG[17]["NATIVE"]  = "မြန်မာဘာသာ";
+LANG[18]  = new Array(); LANG[18]["ISO"]  = "ca";    LANG[18]["EN"]  = "Catalan";     LANG[18]["NATIVE"]  = "Català";
+LANG[19]  = new Array(); LANG[19]["ISO"]  = "ca-XV"; LANG[19]["EN"]  = "Catalan<br />(Valencian)";     LANG[19]["NATIVE"] = "Català<br />(Valencià)";
+LANG[20]  = new Array(); LANG[20]["ISO"]  = "zh-CN"; LANG[20]["EN"]  = "Chinese&nbsp;(simplified)";    LANG[20]["NATIVE"] = "简体中文";
+LANG[21]  = new Array(); LANG[21]["ISO"]  = "zh-TW"; LANG[21]["EN"]  = "Chinese&nbsp;(traditional)";   LANG[21]["NATIVE"] = "正體中文";
+LANG[22]  = new Array(); LANG[22]["ISO"]  = "hr";    LANG[22]["EN"]  = "Croatian";    LANG[22]["NATIVE"]  = "hrvatski";
+LANG[23]  = new Array(); LANG[23]["ISO"]  = "cs";    LANG[23]["EN"]  = "Czech";       LANG[23]["NATIVE"]  = "Čeština";
+LANG[24]  = new Array(); LANG[24]["ISO"]  = "da";    LANG[24]["EN"]  = "Danish";      LANG[24]["NATIVE"]  = "Dansk";
+LANG[25]  = new Array(); LANG[25]["ISO"]  = "dgo";   LANG[25]["EN"]  = "Dogri";       LANG[25]["NATIVE"]  = "डोगरी";
+LANG[26]  = new Array(); LANG[26]["ISO"]  = "nl";    LANG[26]["EN"]  = "Dutch";       LANG[26]["NATIVE"]  = "Nederlands";
+LANG[27]  = new Array(); LANG[27]["ISO"]  = "dz";    LANG[27]["EN"]  = "Dzongkha";    LANG[27]["NATIVE"]  = "རྫོང་ཁ";
+LANG[28]  = new Array(); LANG[28]["ISO"]  = "en-GB"; LANG[28]["EN"]  = "English&nbsp;(GB)";            LANG[28]["NATIVE"] = "English&nbsp;(British)";
+LANG[29]  = new Array(); LANG[29]["ISO"]  = "en-ZA"; LANG[29]["EN"]  = "English&nbsp;(ZA)";            LANG[29]["NATIVE"] = "English<br />(Zuid-Afrikaans)";
+LANG[30]  = new Array(); LANG[30]["ISO"]  = "en-US"; LANG[30]["EN"]  = "English&nbsp;(US)";            LANG[30]["NATIVE"] = "English&nbsp;(US)";
+LANG[31]  = new Array(); LANG[31]["ISO"]  = "eo";    LANG[31]["EN"]  = "Esperanto";   LANG[31]["NATIVE"]  = "Esperanto";
+LANG[32]  = new Array(); LANG[32]["ISO"]  = "et";    LANG[32]["EN"]  = "Estonian";    LANG[32]["NATIVE"]  = "Eesti&nbsp;keel";
+LANG[33]  = new Array(); LANG[33]["ISO"]  = "fi";    LANG[33]["EN"]  = "Finnish";     LANG[33]["NATIVE"]  = "Suomi";
+LANG[34]  = new Array(); LANG[34]["ISO"]  = "fr";    LANG[34]["EN"]  = "French";      LANG[34]["NATIVE"]  = "Fran&ccedil;ais";
+LANG[35]  = new Array(); LANG[35]["ISO"]  = "fr-CA"; LANG[35]["EN"]  = "French<br />(Canadian)";       LANG[35]["NATIVE"] = "Fran&ccedil;ais<br />(Canadien)";
+LANG[36]  = new Array(); LANG[36]["ISO"]  = "fur";   LANG[36]["EN"]  = "Friulian";    LANG[36]["NATIVE"]  = "Furlan";
+LANG[37]  = new Array(); LANG[37]["ISO"]  = "gd";    LANG[37]["EN"]  = "Gaelic<br />(Scottish)";       LANG[37]["NATIVE"] = "Gàidhlig";
+LANG[38]  = new Array(); LANG[38]["ISO"]  = "gl";    LANG[38]["EN"]  = "Galician";    LANG[38]["NATIVE"]  = "Galego";
+LANG[39]  = new Array(); LANG[39]["ISO"]  = "ka";    LANG[39]["EN"]  = "Georgian";    LANG[39]["NATIVE"]  = "ქართული&nbsp;ენა";
+LANG[40]  = new Array(); LANG[40]["ISO"]  = "de";    LANG[40]["EN"]  = "German";      LANG[40]["NATIVE"]  = "Deutsch";
+LANG[41]  = new Array(); LANG[41]["ISO"]  = "el";    LANG[41]["EN"]  = "Greek";       LANG[41]["NATIVE"]  = "&Epsilon;&lambda;&lambda;&eta;&nu;&iota;&kappa;ά";
+LANG[42]  = new Array(); LANG[42]["ISO"]  = "gn";    LANG[42]["EN"]  = "Guarani";     LANG[42]["NATIVE"]  = "Avañe'ẽ";
+LANG[43]  = new Array(); LANG[43]["ISO"]  = "gu";    LANG[43]["EN"]  = "Gujarati";    LANG[43]["NATIVE"]  = "ગુજરાતી";
+LANG[44]  = new Array(); LANG[44]["ISO"]  = "he";    LANG[44]["EN"]  = "Hebrew";      LANG[44]["NATIVE"]  = "עִבְרִית";
+LANG[45]  = new Array(); LANG[45]["ISO"]  = "hi";    LANG[45]["EN"]  = "Hindi";       LANG[45]["NATIVE"]  = "हिन्दी";
+LANG[46]  = new Array(); LANG[46]["ISO"]  = "hu";    LANG[46]["EN"]  = "Hungarian";   LANG[46]["NATIVE"]  = "Magyar";
+LANG[47]  = new Array(); LANG[47]["ISO"]  = "is";    LANG[47]["EN"]  = "Icelandic";   LANG[47]["NATIVE"]  = "Íslenska";
+LANG[48]  = new Array(); LANG[48]["ISO"]  = "id";    LANG[48]["EN"]  = "Indonesian";  LANG[48]["NATIVE"]  = "Bahasa&nbsp;Indonesia";
+LANG[49]  = new Array(); LANG[49]["ISO"]  = "ga";    LANG[49]["EN"]  = "Irish";       LANG[49]["NATIVE"]  = "Gaeilge";
+LANG[50]  = new Array(); LANG[50]["ISO"]  = "it";    LANG[50]["EN"]  = "Italian";     LANG[50]["NATIVE"]  = "Italiano";
+LANG[51]  = new Array(); LANG[51]["ISO"]  = "ja";    LANG[51]["EN"]  = "Japanese";    LANG[51]["NATIVE"]  = "日本語";
+LANG[52]  = new Array(); LANG[52]["ISO"]  = "kab";   LANG[52]["EN"]  = "Kabyle";      LANG[52]["NATIVE"]  = "Taqbaylit";
+LANG[53]  = new Array(); LANG[53]["ISO"]  = "kn";    LANG[53]["EN"]  = "Kannada";     LANG[53]["NATIVE"]  = "ಕನ್ನಡ";
+LANG[54]  = new Array(); LANG[54]["ISO"]  = "ks";    LANG[54]["EN"]  = "Kashmiri";    LANG[54]["NATIVE"]  = "कॉशुर";
+LANG[55]  = new Array(); LANG[55]["ISO"]  = "kk";    LANG[55]["EN"]  = "Kazakh";      LANG[55]["NATIVE"]  = "Қазақ&nbsp;тілі";
+LANG[56]  = new Array(); LANG[56]["ISO"]  = "km";    LANG[56]["EN"]  = "Khmer";       LANG[56]["NATIVE"]  = "ភាសាខ្មែរ";
+LANG[57]  = new Array(); LANG[57]["ISO"]  = "rw";    LANG[57]["EN"]  = "Kinyarwanda"; LANG[57]["NATIVE"]  = "Kinyarwanda";
+LANG[58]  = new Array(); LANG[58]["ISO"]  = "kok";   LANG[58]["EN"]  = "Konkani";     LANG[58]["NATIVE"]  = "कोंकणी";
+LANG[59]  = new Array(); LANG[59]["ISO"]  = "ko";    LANG[59]["EN"]  = "Korean";      LANG[59]["NATIVE"]  = "한국어";
+LANG[60]  = new Array(); LANG[60]["ISO"]  = "kid";   LANG[60]["EN"]  = "Koshin";      LANG[60]["NATIVE"]  = "Koshin";
+LANG[61]  = new Array(); LANG[61]["ISO"]  = "ku";    LANG[61]["EN"]  = "Kurdish";     LANG[61]["NATIVE"]  = "Kurdî";
+LANG[62]  = new Array(); LANG[62]["ISO"]  = "ky";    LANG[62]["EN"]  = "Kyrgyz";      LANG[62]["NATIVE"]  = "Кыргыз&nbsp;тили";
+LANG[63]  = new Array(); LANG[63]["ISO"]  = "lo";    LANG[63]["EN"]  = "Laotian";     LANG[63]["NATIVE"]  = "ພາສາລາວ";
+LANG[64]  = new Array(); LANG[64]["ISO"]  = "lv";    LANG[64]["EN"]  = "Latvian";     LANG[64]["NATIVE"]  = "Latviešu&nbsp;valoda";
+LANG[65]  = new Array(); LANG[65]["ISO"]  = "lt";    LANG[65]["EN"]  = "Lithuanian";  LANG[65]["NATIVE"]  = "Lietuvių";
+LANG[66]  = new Array(); LANG[66]["ISO"]  = "jbo";   LANG[66]["EN"]  = "Lojban";      LANG[66]["NATIVE"]  = "Lojban";
+LANG[67]  = new Array(); LANG[67]["ISO"]  = "mk";    LANG[67]["EN"]  = "Macedonian";  LANG[67]["NATIVE"]  = "Македонски";
+LANG[68]  = new Array(); LANG[68]["ISO"]  = "mai";   LANG[68]["EN"]  = "Maithili";    LANG[68]["NATIVE"]  = "मैथिली";
+LANG[69]  = new Array(); LANG[69]["ISO"]  = "mg";    LANG[69]["EN"]  = "Malagasy";    LANG[69]["NATIVE"]  = "Malagasy";
+LANG[70]  = new Array(); LANG[70]["ISO"]  = "ms";    LANG[70]["EN"]  = "Malay";       LANG[70]["NATIVE"]  = "بهاس ملايو";
+LANG[71]  = new Array(); LANG[71]["ISO"]  = "ml";    LANG[71]["EN"]  = "Malayalam";   LANG[71]["NATIVE"]  = "മലയാളം";
+LANG[72]  = new Array(); LANG[72]["ISO"]  = "mni";   LANG[72]["EN"]  = "Manipuri";    LANG[72]["NATIVE"]  = "মণিপুরি";
+LANG[73]  = new Array(); LANG[73]["ISO"]  = "mr";    LANG[73]["EN"]  = "Marathi";     LANG[73]["NATIVE"]  = "मराठी";
+LANG[74]  = new Array(); LANG[74]["ISO"]  = "miq";   LANG[74]["EN"]  = "Miskito";     LANG[74]["NATIVE"]  = "Mískitu";
+LANG[75]  = new Array(); LANG[75]["ISO"]  = "mn";    LANG[75]["EN"]  = "Mongolian";   LANG[75]["NATIVE"]  = "Монгол&nbsp;хэл";
+LANG[76]  = new Array(); LANG[76]["ISO"]  = "ne";    LANG[76]["EN"]  = "Nepali";      LANG[76]["NATIVE"]  = "नेपाली";
+LANG[77]  = new Array(); LANG[77]["ISO"]  = "nb";    LANG[77]["EN"]  = "Norwegian<br />(Bokmal)";      LANG[77]["NATIVE"] = "Norsk<br />(Bokmål)";
+LANG[78]  = new Array(); LANG[78]["ISO"]  = "nn";    LANG[78]["EN"]  = "Norwegian<br />(Nynorsk)";     LANG[78]["NATIVE"] = "Norsk<br />(Nynorsk)";
+LANG[79]  = new Array(); LANG[79]["ISO"]  = "nd";    LANG[79]["EN"]  = "Ndebele<br />(North)";         LANG[79]["NATIVE"] = "isiNdebele";
+LANG[80]  = new Array(); LANG[80]["ISO"]  = "nr";    LANG[80]["EN"]  = "Ndebele<br />(South)";         LANG[80]["NATIVE"] = "isiNdebele";
+LANG[81]  = new Array(); LANG[81]["ISO"]  = "oc";    LANG[81]["EN"]  = "Occitan";     LANG[81]["NATIVE"]  = "Occitan";
+LANG[82]  = new Array(); LANG[82]["ISO"]  = "or";    LANG[82]["EN"]  = "Oriya";       LANG[82]["NATIVE"]  = "ଓଡ଼ିଆ";
+LANG[83]  = new Array(); LANG[83]["ISO"]  = "om";    LANG[83]["EN"]  = "Oromo";       LANG[83]["NATIVE"]  = "ኦሮሚኛ";
+LANG[84]  = new Array(); LANG[84]["ISO"]  = "pap";   LANG[84]["EN"]  = "Papmiento";   LANG[84]["NATIVE"]  = "Papiamentu";
+LANG[85]  = new Array(); LANG[85]["ISO"]  = "ps";    LANG[85]["EN"]  = "Pashto";      LANG[85]["NATIVE"]  = "پښتو";
+LANG[86]  = new Array(); LANG[86]["ISO"]  = "fa";    LANG[86]["EN"]  = "Persian<br />(Farsi)";         LANG[86]["NATIVE"] = "فارسی";
+LANG[87]  = new Array(); LANG[87]["ISO"]  = "pl";    LANG[87]["EN"]  = "Polish";      LANG[87]["NATIVE"]  = "Polski";
+LANG[88]  = new Array(); LANG[88]["ISO"]  = "pt-BR"; LANG[88]["EN"]  = "Portuguese&nbsp;(Brazilian)";  LANG[88]["NATIVE"] = "Portugu&ecirc;s&nbsp;(do Brasil)";
+LANG[89]  = new Array(); LANG[89]["ISO"]  = "pt";    LANG[89]["EN"]  = "Portuguese&nbsp;(European)";   LANG[89]["NATIVE"] = "Portugu&ecirc;s&nbsp;(Europeu)";
+LANG[90]  = new Array(); LANG[90]["ISO"]  = "pa-IN"; LANG[90]["EN"]  = "Punjabi";     LANG[90]["NATIVE"]  = "ਪੰਜਾਬੀ";
+LANG[91]  = new Array(); LANG[91]["ISO"]  = "ro";    LANG[91]["EN"]  = "Romanian";    LANG[91]["NATIVE"]  = "Română";
+LANG[92]  = new Array(); LANG[92]["ISO"]  = "ru";    LANG[92]["EN"]  = "Russian";     LANG[92]["NATIVE"]  = "Русский";
+LANG[93]  = new Array(); LANG[93]["ISO"]  = "sg";    LANG[93]["EN"]  = "Sango";       LANG[93]["NATIVE"]  = "yângâ&nbsp;tî&nbsp;sängö";
+LANG[94]  = new Array(); LANG[94]["ISO"]  = "sa";    LANG[94]["EN"]  = "Sanskrit";    LANG[94]["NATIVE"]  = "संस्कृतम्";
+LANG[95]  = new Array(); LANG[95]["ISO"]  = "sat";   LANG[95]["EN"]  = "Santali";     LANG[95]["NATIVE"]  = "Santali";
+LANG[96]  = new Array(); LANG[96]["ISO"]  = "sc";    LANG[96]["EN"]  = "Sardinian";   LANG[96]["NATIVE"]  = "Sardu";
+LANG[97]  = new Array(); LANG[97]["ISO"]  = "sr";    LANG[97]["EN"]  = "Serbian<br />(Cyrillic)";      LANG[97]["NATIVE"] = "Cрпски<br />(ћирилицом)";
+LANG[98]  = new Array(); LANG[98]["ISO"]  = "sh";    LANG[98]["EN"]  = "Serbian<br />(Latin)";         LANG[98]["NATIVE"] = "Srpski<br />(latinicom)";
+LANG[99]  = new Array(); LANG[99]["ISO"]  = "shs";   LANG[99]["EN"]  = "Shuswap";     LANG[99]["NATIVE"]  = "ʃəxwəpəmxˈtʃin";
+LANG[100] = new Array(); LANG[100]["ISO"] = "sd";    LANG[100]["EN"] = "Sindhi";      LANG[100]["NATIVE"] = "سنڌي";
+LANG[101] = new Array(); LANG[101]["ISO"] = "si";    LANG[101]["EN"] = "Sinhala";     LANG[101]["NATIVE"] = "සිංහල";
+LANG[102] = new Array(); LANG[102]["ISO"] = "sk";    LANG[102]["EN"] = "Slovak";      LANG[102]["NATIVE"] = "Slovenský<br />jazyk (slovenčina)";
+LANG[103] = new Array(); LANG[103]["ISO"] = "sl";    LANG[103]["EN"] = "Slovenian";   LANG[103]["NATIVE"] = "Slovenski<br />jezik (slovenščina)";
+LANG[104] = new Array(); LANG[104]["ISO"] = "dsb";   LANG[104]["EN"] = "Sorbian<br />(Lower Sorbian)"; LANG[104]["NATIVE"] = "Dolnoserbski";
+LANG[105] = new Array(); LANG[105]["ISO"] = "hsb";   LANG[105]["EN"] = "Sorbian<br />(Upper Sorbian)"; LANG[105]["NATIVE"] = "Hornjoserbšćina";
+LANG[106] = new Array(); LANG[106]["ISO"] = "ns";    LANG[106]["EN"] = "Sotho<br />(Northern)";        LANG[106]["NATIVE"] = "Sesotho&nbsp;sa&nbsp;Leboa";
+LANG[107] = new Array(); LANG[107]["ISO"] = "st";    LANG[107]["EN"] = "Sotho<br />(Southern)";        LANG[107]["NATIVE"] = "sɪ̀sʊ́tʰʊ̀";
+LANG[108] = new Array(); LANG[108]["ISO"] = "es";    LANG[108]["EN"] = "Spanish";     LANG[108]["NATIVE"] = "Espa&ntilde;ol";
+LANG[109] = new Array(); LANG[109]["ISO"] = "sw";    LANG[109]["EN"] = "Swahili";     LANG[109]["NATIVE"] = "Kiswahili";
+LANG[110] = new Array(); LANG[110]["ISO"] = "ss";    LANG[110]["EN"] = "Swati";       LANG[110]["NATIVE"] = "siSwati";
+LANG[111] = new Array(); LANG[111]["ISO"] = "sv";    LANG[111]["EN"] = "Swedish";     LANG[111]["NATIVE"] = "Svenska";
+LANG[112] = new Array(); LANG[112]["ISO"] = "tg";    LANG[112]["EN"] = "Tajik";       LANG[112]["NATIVE"] = "تاجیکی‎";
+LANG[113] = new Array(); LANG[113]["ISO"] = "ta";    LANG[113]["EN"] = "Tamil";       LANG[113]["NATIVE"] = "தமிழ்";
+LANG[114] = new Array(); LANG[114]["ISO"] = "tt";    LANG[114]["EN"] = "Tatar";       LANG[114]["NATIVE"] = "Татарча";
+LANG[115] = new Array(); LANG[115]["ISO"] = "te";    LANG[115]["EN"] = "Telugu";      LANG[115]["NATIVE"] = "తెలుగు";
+LANG[116] = new Array(); LANG[116]["ISO"] = "tet";   LANG[116]["EN"] = "Tetum";       LANG[116]["NATIVE"] = "Tetun";
+LANG[117] = new Array(); LANG[117]["ISO"] = "th";    LANG[117]["EN"] = "Thai";        LANG[117]["NATIVE"] = "ภาษาไทย";
+LANG[118] = new Array(); LANG[118]["ISO"] = "bo";    LANG[118]["EN"] = "Tibetan";     LANG[118]["NATIVE"] = "བོད་སྐད་";
+LANG[119] = new Array(); LANG[119]["ISO"] = "tr";    LANG[119]["EN"] = "Turkish";     LANG[119]["NATIVE"] = "T&uuml;rk&ccedil;e";
+LANG[120] = new Array(); LANG[120]["ISO"] = "tk";    LANG[120]["EN"] = "Turkmen";     LANG[120]["NATIVE"] = "T&uuml;rkmen&ccedil;e";
+LANG[121] = new Array(); LANG[121]["ISO"] = "ts";    LANG[121]["EN"] = "Tsonga";      LANG[121]["NATIVE"] = "Xitsonga";
+LANG[122] = new Array(); LANG[122]["ISO"] = "tn";    LANG[122]["EN"] = "Tswana";      LANG[122]["NATIVE"] = "Setswana";
+LANG[123] = new Array(); LANG[123]["ISO"] = "ti";    LANG[123]["EN"] = "Tigrinya";    LANG[123]["NATIVE"] = "ትግርኛ";
+LANG[124] = new Array(); LANG[124]["ISO"] = "uk";    LANG[124]["EN"] = "Ukrainian";   LANG[124]["NATIVE"] = "Yкраї́нська&nbsp;мо́ва";
+LANG[125] = new Array(); LANG[125]["ISO"] = "ur";    LANG[125]["EN"] = "Urdu";        LANG[125]["NATIVE"] = "اردو";
+LANG[126] = new Array(); LANG[126]["ISO"] = "ug";    LANG[126]["EN"] = "Uyghur";      LANG[126]["NATIVE"] = "ئۇيغۇرچە‎";
+LANG[127] = new Array(); LANG[127]["ISO"] = "uz";    LANG[127]["EN"] = "Uzbek";       LANG[127]["NATIVE"] = "Ўзбек";
+LANG[128] = new Array(); LANG[128]["ISO"] = "ve";    LANG[128]["EN"] = "Venda";       LANG[128]["NATIVE"] = "Tshivenḓa";
+LANG[129] = new Array(); LANG[129]["ISO"] = "vi";    LANG[129]["EN"] = "Vietnamese";  LANG[129]["NATIVE"] = "Tiếng&nbsp;Việt";
+LANG[130] = new Array(); LANG[130]["ISO"] = "wa";    LANG[130]["EN"] = "Walloon";     LANG[130]["NATIVE"] = "Walon";
+LANG[131] = new Array(); LANG[131]["ISO"] = "cy";    LANG[131]["EN"] = "Welsh";       LANG[131]["NATIVE"] = "Cymraeg";
+LANG[132] = new Array(); LANG[132]["ISO"] = "xh";    LANG[132]["EN"] = "Xhosa";       LANG[132]["NATIVE"] = "isiXhosa";
+LANG[133] = new Array(); LANG[133]["ISO"] = "zu";    LANG[133]["EN"] = "Zulu";        LANG[133]["NATIVE"] = "isiZulu";
+

Added: websites/staging/ooo-site/trunk/content/download/test/new/exceptions.css
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/new/exceptions.css (added)
+++ websites/staging/ooo-site/trunk/content/download/test/new/exceptions.css Sun Sep  2 14:33:23 2012
@@ -0,0 +1,111 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+img { border: 0px; }
+h1 { padding-left: 0.5em; }
+#hr { visibility:hidden; }
+
+#leftcol { display: none; }
+#bodytd { padding: 0px; width: 100%; margin: 0px; }
+#navcol { display: none; }
+.warning { border: solid 3px #F00; background: #FDD; padding: 1em; }
+
+.optionset { margin: 0 0 0 -2px; float: left; width: 67%; max-width: 1200px; }
+.optionset a { margin: 0; padding: .1em 0 .25em 3%; width: 97%; color: #333; }
+.optionset p { margin: 0; padding: .1em 0 .25em 3%; width: 97%; color: #333; }
+.optionset p a { margin: 0; padding: 0; color: #333; }
+#bodycol .optionset p a:hover, #bodycol .optionset .button:hover p a { color: #000; }
+.optionset .button { margin-top: 20px; }
+.optionset .button h2 { margin: 0 0 0 -1px; padding: 0; cursor: pointer; border: none; }
+.optionset .button h2 a { display: block; padding: 25px 25% 0 3%; font-weight: bold; width: 72%; text-decoration: none; cursor: pointer; }
+.optionset .button h3 { margin: 0 0 0 -1px; padding: 0; cursor: pointer; border: none; }
+.optionset .button h3 a { display: block; padding: 5px 25% 0 3%; font-weight: bold; width: 72%; text-decoration: none; cursor: pointer; }
+.optionset .button p { padding: 0; font-size: .9em; padding-bottom: 25px; cursor: pointer; }
+.optionset .button p a { display: block; padding: .1em 25% .25em 3%; text-decoration: none; cursor: pointer; width: 72%; }
+.optionset .first { margin-top: 0; }
+.optionset p.promotional { margin-top: 25px; }
+
+.green { background: url(/download/cachedimages/button-green.png) #D1EAA0 right top no-repeat; }
+.green:hover { background: url(/download/cachedimages/button-green.png) #C3E480 right -200px no-repeat; }
+.green h2 a { color: #718D36; }
+.green:hover h2 a, #bodycol .green h2 a:hover { color: #546828; }
+.sub-green { background: #E9FEBE; border-top: 1px solid #C3E480; border-bottom: 1px solid #C3E480; font-size: .8em; }
+.sub-green p { padding: .1em 3%; width: 94%; }
+
+.grey { background: #C0C0C0 right top no-repeat; cursor: default; }
+.grey:hover { background: #A0A0A0 right -200px no-repeat; cursor: default; }
+.grey h2 a { color: #404040; cursor: default; }
+.grey h3 { color: #404040; cursor: default; }
+.grey h3 a { color: #404040; cursor: default; }
+.grey p { color: #404040; cursor: default; }
+.grey p a { color: #404040; cursor: default; }
+.grey:hover h2 a, #bodycol .grey h2 a:hover { color: #202020; cursor: default; }
+.grey:hover h3 a, #bodycol .grey h3 a:hover { color: #202020; cursor: default; }
+.grey:hover p a, #bodycol .grey p a:hover { color: #202020; cursor: default; }
+.sub-grey { background: #E0E0E0; border-top: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0; font-size: .8em; cursor: default; }
+.sub-grey p { padding: .1em 3%; width: 94%; cursor: default; }
+
+/* exchanged the normal picture with one that includes the extension repository graphic */
+.blue { background: url(/download/cachedimages/button-blue-ext.png) #D8E5F6 right top no-repeat; }
+.blue:hover { background: url(/download/cachedimages/button-blue-ext.png) #C3D9F1 right -200px no-repeat; }
+.blue h2 a { color: #2D72CE; }
+.blue:hover h2 a, #bodycol .blue h2 a:hover { color: #21549A; }
+.sub-blue { background: #E1E1FF; border-top: 1px solid #D1D1FF; border-bottom: 1px solid #D1D1FF; font-size: .8em; }
+.sub-blue p { padding: .1em 3%; width: 94%; }
+
+.yellow { background: url(/download/cachedimages/button-yellow.png) #FFF379 right top no-repeat; }
+.yellow:hover { background: url(/download/cachedimages/button-yellow.png) #FFF24F right -200px no-repeat; }
+.yellow h2 a { color: #E09C09; }
+.yellow:hover h2 a, #bodycol .yellow h2 a:hover { color: #C80; }
+.sub-yellow { background: #FFFEAF; border-top: 1px solid #FBD34E; border-bottom: 1px solid #FBD34E; font-size: .8em; }
+.sub-yellow p { padding: .1em 3%; width: 94%; }
+
+.orange { background: url(/download/cachedimages/button-orange.png) #FFD9A7 right 0 no-repeat; }
+.orange:hover { background: url(/download/cachedimages/button-orange.png) #FFBE67 right -200px no-repeat; }
+.orange h2 a { color: #D36812; }
+.orange:hover h2 a, #bodycol .orange h2 a:hover { color: #C94800; }
+.sub-orange { background: #FFE2B5; border-top: 1px solid #FFB15E; border-bottom: 1px solid #FFB15E; font-size: .8em; }
+.sub-orange p { padding: .1em 3%; width: 94%; }
+
+.additionalinformation { background: none; float: right; width: 28%; clear: none; }
+.additionalinformation h2 { border-bottom: 1px solid #CCC; margin-bottom: 5px; margin-top: 0px; }
+.additionalinformation h3 { margin-left: 5px; margin-bottom: 5px; }
+.additionalinformation li { margin-left: 5px; font-size: 12px; }
+.additionalinformation a {color:#107EC0;text-decoration:underline;}
+.additionalinformation a:hover {background-color: #e6ebed;}
+
+.additionalinformation #nativelang { background-image: url(/download/cachedimages/nativelang.gif); background-repeat: no-repeat; background-position: top left; }
+
+#downloadextendedtext p { background: none; }
+#downloadextendedtext ul { background: none; font-weight: bold; list-style: none; margin: 0px; padding: 0px; font-size: 2em; width: 100%; float: left; color: #333; padding-left: 20px; }
+#downloadextendedtext ul a { color: #333; text-decoration: none; background: none; }
+#downloadextendedtext ul a:hover { color: #666;text-decoration: none; }
+#downloadextendedtext ul li { float: left; margin: 0px; padding: 4px; margin-right: .5em; border: 1px #D7EFA4 solid; margin-bottom: .5em; width: 7em; height: 1.7em; }
+#downloadextendedtext ul li:hover { background: #D7EFA4; }
+#downloadextendedtext ul li ul { font-weight: normal; width: auto; margin: 0px; padding: 0px; font-size: .4em; color: #555; }
+#downloadextendedtext ul.nonqabuilds { font-size: 1.4em; }
+#downloadextendedtext ul.nonqabuilds li { width: auto; }
+#downloadextendedtext ul.nonqabuilds li ul { font-size: .5em; }
+
+/* .4em is a little bit too small for nonqa */
+/*Overrides some of the special settings for the parent li*/
+#downloadextendedtext ul li ul li { border: 0px none; margin: 0px; padding: 0px; width: auto; margin-right: .4em; }
+#downloadextendedtext ul li ul li:hover { background: none; }
+
+.largetable table tr.even td { background: #EEEEEE; }
+.largetable table tr.odd td  { background: none; }
+.builds   { background-position: left; background-repeat: no-repeat; padding: 2px 0 2px 18px; display: block; }

Added: websites/staging/ooo-site/trunk/content/download/test/new/globalvars.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/new/globalvars.js (added)
+++ websites/staging/ooo-site/trunk/content/download/test/new/globalvars.js Sun Sep  2 14:33:23 2012
@@ -0,0 +1,37 @@
+/* This file is to maintain version information that can be used on all websites via JavaScript when including this file.
+
+   Instead of hard coded version data please use these variables. Example:
+
+   Wrong:   "We are proud to announce the availability of the new Apache OpenOffice 3.4.1 release."
+   Correct: "We are proud to announce the availability of the new Apache OpenOffice " + VERSION + " release."
+
+   VERSION: Set the release version (e.g., "3.4.1") that is currently on the mirrors.
+   MIRROR:  Set default mirror site ("sourceforge", "apache" or "mirrorbrain") (not used as there is only 1 mirror system used)
+   SCHEMA:  Set the naming-schema for the download-set (e.g., "aoo") (not used as there is only 1 mirror system used)
+*/
+
+// Base URLs to the Sourceforge and Apache mirror server
+var SOURCEFORGE_BASE_URL	= "http://sourceforge.net/projects/openofficeorg.mirror/";
+var APACHE_BASE_URL		= "http://www.apache.org/dyn/aoo-closer.cgi/incubator/ooo/";
+var APACHE_DIST_BASE_URL	= "http://www.apache.org/dist/incubator/ooo/";
+
+// General variables for the most recent stable release
+var VERSION			= "3.4.1";
+var MIRROR			= "sourceforge";
+var SCHEMA			= "aoo";
+
+// Variables for the tables for the most recent stable release
+var AOO_VERSION			= "3.4.1";
+var AOO_ACTIVE			= 1;
+var AOO_PLATFORM		= new Array( "Win_x86", "Linux_x86_rpm", "Linux_x86_deb", "Linux_x86-64_rpm", "Linux_x86-64_deb", "Mac_OS_x86" );
+var AOO_FULL_LANG		= new Array( "ar","cs","de","en-GB","en-US","es","fi","fr","gl","hu","it","ja","km","nl","pt-BR","ru","sk","sl","zh-CN","zh-TW" );
+var AOO_LP_LANG			= new Array( "ar","cs","de","en-GB","en-US","es","fi","fr","gl","hu","it","ja","km","nl","pt-BR","ru","sk","sl","zh-CN","zh-TW" );
+var AOO_SDK_LANG		= new Array( "en-US" );
+var AOO_MIRROR			= "sourceforge";
+var AOO_SCHEMA			= "aoo";
+
+// Deprecated mirror server
+// var MIRROR_BOUNCER_URL	= "http://openoffice.bouncer.osuosl.org/";
+// var MIRROR_MIRRORBRAIN_URL	= "http://download.services.openoffice.org/";
+// var MIRROR_MIRRORBRAIN_URL2	= "http://openoffice.mirrorbrain.org/";
+



Mime
View raw message