Index: main/trunk/model-sites-dev/hauraki-dl/groupConfig.xml
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/groupConfig.xml	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/groupConfig.xml	(revision 32597)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Collection groups configuration file
+     	Uncomment hierarchy and groupDescription elements to make collection groups work.
+	Describe your structure inside hiearchy tag as shown in example below.
+	Describe your groups in groupDescriptions element as shown below.
+	Without group tag with @name in groupDescriptions group will be invisible(but available).
+	If your collection not described in hierarchy element it will be visible after described
+	groups and collections at home page.
+		First level - home page
+			Second level - inside first group
+				Third level - inside second group
+					
+	-->
+<groupConfig>
+	<!--
+	<hierarchy>
+		<group name="group2">
+			<collection name="solr-jdbm-demo" />
+		</group>
+		<group name="group1">
+			<group name="group3">
+				<collection name="solr-jdbm-demo" />
+				<group name="group1">
+					<collection name="solr-jdbm-demo" />
+					<group name="group1">
+					</group>
+				</group>
+			</group>
+		</group>
+		<collection name="lucene-jdbm-demo" />
+	</hierarchy>
+	<groupDescriptions>
+		<group name="group1">
+		</group>
+		<group name="group2">
+			<title>Group 2 title</title>
+			<description>Second group full description example</description>
+			<shortDescription>Second group short description example</shortDescription>
+			
+		</group>
+		<group name="group3">
+			<title>Group 3 title</title>
+			<description>Group 3 full description example </description>
+			<shortDescription>Group 3 short description example</shortDescription>
+			<backgroundImage>/images/Group3.jpg</backgroundImage>
+		</group>
+	</groupDescriptions>
+	-->
+</groupConfig>
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig.properties	(revision 32597)
@@ -0,0 +1,3 @@
+siteName=My Greenstone Library
+siteDescription=This is a digital library built using the open-source Greenstone Digital Library software, version 3. Edit the site name and description in web/sites/localsite/siteConfig.xml or web/sites/localsite/resources/siteConfig_xx.properties.
+
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_es.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_es.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_es.properties	(revision 32597)
@@ -0,0 +1,2 @@
+siteName:Mi biblioteca Greenstone
+siteDescription:Esta es una biblioteca digital construida con el software Greenstone Digital Library, versiÃ³n 3. Edite el nombre del sitio y la descripciÃ³n en web/sites/localsite/siteConfig.xml o web/sites/localsite/resources/siteConfig_xx.properties.
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_fr.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_fr.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_fr.properties	(revision 32597)
@@ -0,0 +1,2 @@
+siteName:Ma bibliothÃšque Greenstone
+siteDescription:ceci est une bibliothÃšque numÃ©rique utilisant le logiciel open source Greenstone Digital Library dans sa version 3. Vous pouvez modifier le nom et la description dans le fichier web/sites/localsite/siteConfig.xml ou web/sites/localsite/resources/siteConfig_xx.properties.
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_gu.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_gu.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_gu.properties	(revision 32597)
@@ -0,0 +1,3 @@
+siteName:àª®àªŸàª°à« àªà«àª°à«àªšàªžà«àªà«àªš àªà«àª°àªàª¥àªŸàª²àª¯
+siteDescription:àª àª¡à«àªà«àªàª² àª²àªŸàªàª¬à«àª°à«àª°à« àªà« àªà« àªà«àª°à«àªšàªžà«àªà«àªš àª¡à«àªà«àªàª² àª²àªŸàªàª¬à«àª°à«àª°à« àªžà«àª«à«àªàªµà«àª°, àªµàª°à«àªàªš 3àªšàªŸ àªàªªàª¯à«àªàª¥à« àª€à«àª¯àªŸàª° àªàª°àªµàªŸàª®àªŸàª àªàªµà« àªà«. web/sites/localsite/siteConfig.xml or web/sites/localsite/resources/siteConfig_xx.propertiesàª®àªŸàª àªžàªŸàªàª àªšàªŸàª® àª
+àªšà« àªµàª°à«àª£àªšàª®àªŸàª àªàª¡àª¿àª àªàª°à«.
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_ja.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_ja.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_ja.properties	(revision 32597)
@@ -0,0 +1,2 @@
+siteName:èªåã®Greenstoneå³æžé€š
+siteDescription:ããã¯ãªãŒãã³ãœãŒã¹ã§ããã°ãªãŒã³ã¹ããŒã³ã®ããžã¿ã«å³æžé€šãœãããŠãšã¢ããŒãžã§ã³3ãçšããŠæ§ç¯ãããããžã¿ã«å³æžé€šã§ããweb/sites/localsite/siteConfig.xml ãŸãã¯ web/sites/localsite/resources/siteConfig_xx.propertiesã§ãµã€ãåãšèšè¿°ãç·šéããŠãã ããã
Index: main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_pl.properties
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_pl.properties	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/resources/siteConfig_pl.properties	(revision 32597)
@@ -0,0 +1,3 @@
+siteName:Moja Biblioteka Greenstone
+siteDescription:To jest cyfrowa biblioteka zbudowana za pomocÄ
+ otwartoÅºrÃ³dÅowego oprogramowania Greenstone Digital Library wersja 3. NazwÄ witryny i opis moÅŒesz zmieniÄ w pliku `web/sites/localsite/siteConfig.xml` lub `web/sites/localsite/resources/siteConfig_xx.properties`.
Index: main/trunk/model-sites-dev/hauraki-dl/script/hdl-core.js
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/script/hdl-core.js	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/script/hdl-core.js	(revision 32597)
@@ -0,0 +1,111 @@
+
+
+function tidy_imgurl (gsurl,gstitle)
+{
+    var url = gsurl;
+    var cutpos = url.indexOf(" ");
+    if (cutpos>0) {
+	url=url.substring(0,cutpos);
+    }
+
+    var img = "<img src='" + url + "' alt='" + gstitle + "'>";
+    document.write(img);
+}
+
+
+function access_hrefurl (url)
+{
+    access_url = url.replace(/profile=(thumb|profile)/,"profile=access");
+
+    var img = "<a href='" + access_url + "'" + " alt='Click on image to view larger version of image'>";
+    document.write(img);
+}
+
+
+function mp_access_hrefurl (url)
+{
+    access_url = url.replace(/\?profile=(thumb|profile)/,"&profile=access");
+    access_url = access_url.replace(/digital.natlib.govt.nz\/get\//,"mp.natlib.govt.nz/image/?imageId=images-");
+
+    var img = "<a href='" + access_url + "'" + " alt='Click on image to view larger version of image'>";
+    document.write(img);
+}
+
+function mp_access_hrefurl_close ()
+{
+    document.write("</a>");
+}
+
+function mp_thumb_imgurl (thumb_id,url,title)
+{
+    thumb_url = url.replace(/\?profile=(thumb|profile)/,"&profile=thumb");
+    thumb_url = thumb_url.replace(/digital.natlib.govt.nz\/get\//,"mp.natlib.govt.nz/image/?imageId=images-");
+    
+    //var img = "<img class='thumbnail_image' src='" + thumb_url + "'" + " alt='"+title+"'>";
+
+    thumb_img = $('#'+thumb_id);
+    thumb_img.attr('src',thumb_url);
+    thumb_img.attr('alt',title);
+
+    //document.write(img);
+}
+
+function mp_fullsize_imgurl (url,title,extra)
+{
+    thumb_url = url.replace(/\?profile=(thumb|profile)/,"&profile=access");
+    thumb_url = thumb_url.replace(/digital.natlib.govt.nz\/get\//,"mp.natlib.govt.nz/image/?imageId=images-");
+
+    if (thumb_url)
+    {
+	var img = "<img class='fullsize_image' src='" + thumb_url + "'" + " alt='"+title+"'>";
+	document.write(img);
+    }
+}
+
+function role_hrefurl (url)
+{
+    access_url = url.replace(/profile=(thumb|access)/,"role=PM");
+
+    var img = "<a href='" + access_url + "'" + " alt='Click on image to view larger version of image'>";
+    document.write(img);
+}
+
+//// Used in the Hauraki Photos collections
+var trcolchoice = ['#DAEFF7', '#FFFFFF'];
+var choice = 0;
+
+function trcolor()
+{
+    document.write('<tr bgcolor="' + trcolchoice[choice] + '">');
+    choice = (choice + 1) %2;
+}
+
+function trcolor_close()
+{
+    document.write('</tr>');
+}
+    
+function restricted_image(id)
+{
+    var spanElem = document.getElementById(id);
+    spanElem.innerHTML = "<p>Image not available on-line.</p>";
+}
+
+function at_timeframes(refnum,text)
+{
+    var hrefXX = "http://timeframes.natlib.govt.nz/Search for " + refnum;
+    var href = "http://mp.natlib.govt.nz/Search Manuscripts and Portfolio for " + refnum;
+    var onclickXXXXXX = "javascript:window.open('http://timeframes.natlib.govt.nz/logicrouter/servlet/LogicRouter?OUTPUTXSL=simsearch.xslt&pm_BT=%28GKEY+%22" + refnum + "%22%29+&pm_MH=10&pm_USI=3&ds_svGeneric_DDF=Y&api_2=SIMULFIND&DIRECTIVE=createSrHist&ds_svGeneric_MH=10&pm_OPC=N&pm_CL=281&pm_CL=&pm_CL=&pm_CL=&pm_CL=&pm_CL=&api_1=COLLECTION_REPOLOGIN'";
+
+    var onclickXXXX = "javascript:window.open('http://find.natlib.govt.nz/primo_library/libweb/action/search.do?dscnt=0&fn=search&ct=search&vid=TF&vl(D31185043UI0)=any&indx=1&dum=true&vl(freeText0)=" + refnum + "&vl(35124698UI1)=all_items&srt=rank&vl(1UI0)=contains&frbg=&tab=default_tab&dstmp=1340939032280&mode=Basic&scp.scps=scope%3A(Timeframes)'";
+
+    var onclickXX = "javascript:window.open('https://natlib.govt.nz/items?utf8=%E2%9C%93&il%5Bcategory%5D=Images&text="+refnum+"1%2F2-115915-F)'"
+
+    var onclick = "javascript:window.open('http://mp.natlib.govt.nz/search/?l=en&q="+refnum+"&t=items&s=a'";
+    onclick += ",'natlib', 'toolbar=0,menubar=0,location=0,scrollbars=1,directories=0,width=1100,height=900'); return false";
+
+    var composit = '<a href="' + href + '" onclick="' + onclick + '">' + text + '</a>';
+
+    document.write(composit);
+}
+
Index: main/trunk/model-sites-dev/hauraki-dl/siteConfig.xml
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/siteConfig.xml	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/siteConfig.xml	(revision 32597)
@@ -0,0 +1,104 @@
+<siteConfig xmlns:gsf='http://www.greenstone.org/greenstone3/schema/ConfigFormat' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
+  <metadataList xmlns:gsf="http://www.greenstone.org/greenstone3/schema/MetadataFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <metadata name="siteAdmin">admin@example.com</metadata>
+    <!--<metadata name="siteURL">http://www.greenstone.org/greenstone3/</metadata>-->
+  </metadataList>
+  <displayItemList>
+    <displayItem name="siteName" lang="en">The Hauraki Digital Library</displayItem>
+    <displayItem name="siteName" key="siteName" dictionary="siteConfig"/>
+    <displayItem name="siteDescription" lang="en">
+      Prototype version of the Hauraki Digital Library using Greenstone 3.
+    </displayItem>
+    <displayItem name="siteDescription" key="siteDescription" dictionary="siteConfig"/>
+  </displayItemList>
+  <siteList/>
+  <serviceRackList>
+   <!--Provides the Authentication service -->
+    <serviceRack name='Authentication'>
+      <!-- Go to https://www.google.com/recaptcha/admin and replace these testing keys when you deploy your site -->
+    <recaptcha name="site_key" value="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"/>
+    <recaptcha name="secret_key" value="6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"/>
+    <!-- this determines which operations to add recaptcha to. Choose from Register, AddUser, EditUser, AccountSettings -->
+    <recaptcha name="operations" value="Register,AddUser"/>
+    </serviceRack>
+    <serviceRack name="ArchiveIO"/>
+    <serviceRack name="CollectionGroups"/>
+    <serviceRack name="DocumentMaker"/>
+    <serviceRack name="DocXMLUtil"/>
+    <serviceRack name="DocumentBasket"/>
+    <serviceRack name="BerryBasket"/>
+    <serviceRack name="GS2Construct"/>
+    <serviceRack name="DebugService"/>
+    <serviceRack name="UserTracker"/>
+    <serviceRack name="CrossCollectionSearch">
+      <format>
+	<!-- this format is used for the search results -->
+	<gsf:template match="documentNode">
+	  <xsl:variable name="collname" select="@collection"/>
+	  <td><gsf:if-metadata-exists><gsf:metadata name="srclinkFile"/><gsf:if><a><xsl:attribute name='href'>sites/localsite/collect/<xsl:value-of select='@collection'/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></a></gsf:if></gsf:if-metadata-exists></td>
+	  <td><a><xsl:attribute name='href'><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select='@collection'/>/document/<xsl:value-of select='@nodeID'/></xsl:attribute><gsf:icon/></a></td>
+	  <td><gsf:metadata name='Title'/></td>
+	  <td><a href='{$library_name}/collection/{$collname}/page/about'><xsl:value-of select="/page/pageResponse/service/paramList/param[@name='collection']/option[@name=$collname]/displayItem[@name='name']"/> </a></td>
+	</gsf:template>
+      </format>
+    <!-- uncomment to provide the GATE tagging service -->	
+    <!--<serviceRack name="GATEServices"/>-->
+     </serviceRack>
+  </serviceRackList>
+  <serviceClusterList/>
+  <!-- this is a global replace list for all collections. At this stage it only applies to greenstone 2 collections. It will attempt to resolve most of the common macros that appear in metadata. You can add more items here if you want them to apply to all collections. To turn this on/off for a particular collection, add <replaceListRef id='xx'/> into the collectionConfig for each set that you want to use -->
+  <!-- replace elements can look like: 
+       <replace macro="original text" scope="text|metadata|all" text="replacement text"/>
+       <replace macro="original text" scope="text|metadata|all" metadata="metadata element value to replace with"/>
+       <replace macro="original text" scope="text|metadata|all" key="dictionary key" bundle="dictionary name"/> -->
+  <replaceList  id="gs2-standard">
+    <replace macro="_iconpdf_" scope="metadata" text="&lt;img src='interfaces/default/images/ipdf.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_icondoc_" scope="metadata" text="&lt;img src='interfaces/default/images/imsword.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconps_" scope="metadata" text="&lt;img src='interfaces/default/images/ips.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconrtf_" scope="metadata" text="&lt;img src='interfaces/default/images/irtf.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconxls_" scope="metadata" text="&lt;img src='interfaces/default/images/iexcel.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconppt_" scope="metadata" text="&lt;img src='interfaces/default/images/ippt.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_icontext_" scope="metadata" text="&lt;img src='interfaces/default/images/itext.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconblanktext_" scope="metadata" text="&lt;img src='interfaces/default/images/ibtext.gif' border='0'/&gt;" resolve="false"/>     
+    <replace macro="_iconmp3_" scope="metadata" text="&lt;img src='interfaces/default/images/imp3.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconmidi_" scope="metadata" text="&lt;img src='interfaces/default/images/imidi.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconworld_" scope="metadata" text="&lt;img src='interfaces/default/images/iworld.gif' border='0'/&gt;" resolve="false"/>
+    <replace macro="_iconunknown_" scope="metadata" text="&lt;img src='interfaces/default/images/iunknown.gif' border='0'/&gt;" resolve="false"/>
+
+    <replace macro="[archivedir]" scope="all" metadata="assocfilepath" resolve="false"/>
+    <replace macro="[assocfilepath]" scope="all" metadata="assocfilepath" resolve="false"/>
+    <replace macro="[srcurl]" scope="metadata" metadata="srcurl" resolve="false"/>
+    <replace macro="[SourceFile]" scope="metadata" metadata="SourceFile" resolve="false"/>
+    <!-- _httpsite_ and _clustername_ are macros that are defined in the java code -->
+    <replace macro="_httpcollection_" scope="metadata" text="_httpsite_/collect/_clustername_" resolve="true"/>
+    <replace macro="_httpprefix_" scope="metadata" text="_httpsite_" resolve="true"/>
+    <replace macro="_httpdocimg_" scope="text" text="_httpsite_/collect/_clustername_/index/assoc/[assocfilepath]/" resolve="true"/>
+    <replace macro="_httpsamepagelink_" scope="text" text="_libraryname_/collection/_clustername_/document/[DocOID]" resolve="true"/>
+    <replace macro="[collection]" scope="all" text="_clustername_" resolve="true"/>
+    <replace macro="_httpextlink_" scope="all" text="_libraryname_?el=&amp;a=d&amp;c=_clustername_&amp;d=" resolve="true"/>
+  </replaceList>
+  <replaceList id="gs2-image"> 
+    <replace macro="[Image]" scope="metadata" metadata="Image" resolve="false"/> 
+    <replace macro="[Thumb]" scope="metadata" metadata="Thumb" resolve="false"/> 
+    <replace macro="[ThumbWidth]" scope="metadata" metadata="ThumbWidth" resolve="false"/> 
+    <replace macro="[ThumbHeight]" scope="metadata" metadata="ThumbHeight" resolve="false"/> 
+    <replace macro="[Screen]" scope="metadata" metadata="Screen" resolve="false"/> 
+    <replace macro="[ScreenWidth]" scope="metadata" metadata="ScreenWidth" resolve="false"/> 
+    <replace macro="[ScreenHeight]" scope="metadata" metadata="ScreenHeight" resolve="false"/> 
+  </replaceList>
+  <replaceList id="gs2-months">
+    <replace macro="_textmonth01_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth01"/>
+    <replace macro="_textmonth02_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth02"/>
+    <replace macro="_textmonth03_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth03"/>
+    <replace macro="_textmonth04_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth04"/>
+    <replace macro="_textmonth05_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth05"/>
+    <replace macro="_textmonth06_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth06"/>
+    <replace macro="_textmonth07_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth07"/>
+    <replace macro="_textmonth08_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth08"/>
+    <replace macro="_textmonth09_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth09"/>
+    <replace macro="_textmonth10_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth10"/>
+    <replace macro="_textmonth11_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth11"/>
+    <replace macro="_textmonth12_" scope="metadata" resolve="false" bundle="interface_default" key="textmonth12"/>
+    <replace bundle="interface_default" key="num" macro="_num_" resolve="false" scope="metadata"/>
+  </replaceList>
+</siteConfig>
Index: main/trunk/model-sites-dev/hauraki-dl/style/hdl-core.css
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/style/hdl-core.css	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/style/hdl-core.css	(revision 32597)
@@ -0,0 +1,302 @@
+
+#container {
+	position: relative;
+	margin: 0 auto 20px auto;
+	max-width: 1290px;
+	padding: 0;
+	line-height: 120%;
+	background-color: #fff;
+	border-top-width: 0px;
+}
+
+#topArea {
+	border: none;
+	max-width: 1290px;
+	margin: 20px auto 0;
+}
+
+
+
+/* Greenstone 3 related */
+div.collectionLink {
+    min-width: 600px;
+}
+
+/* Carry over from Greenstone 2 */
+
+body {
+  font-family: Helvetica, Arial, sans-serif;
+  background-color: #103F5A;
+  color: #103F5A;
+}
+
+/* home, help, preferences links */
+p.bannerlinks {
+  font-family: Helvetica, Arial, sans-serif;
+  font-size: 10pt;
+  font-weight: bold;
+  margin:0;
+  padding:0;
+}
+
+/* the title set by the receptionist based on the page action */
+p.bannertitle {
+  font-family: Helvetica, Arial, sans-serif;
+  font-size: 24px;
+  font-weight: bold;
+  margin: 10px 0 0 0;
+  text-transform: lowercase;
+  white-space: nowrap;
+  padding: 6px 2px 10px 0px;
+  background-repeat: repeat-y;
+  background-position: top right;
+}
+
+p.collectiontitle {
+  font-family: Helvetica, Arial, sans-serif;
+  font-size: 24px;
+  font-weight: bold;
+  white-space: nowrap;
+  padding: 8px 0px 12px 2px;
+  background-repeat: repeat-y;
+  background-position: top left;
+  margin:0;
+}
+
+div.h_list {
+  padding-left: 20px;
+}
+
+/* bg image set in style macro */
+div.navbar {
+  min-width: 500px;
+  white-space: nowrap;
+  font-family: Helvetica, Arial, sans-serif;
+  font-size: 10pt;
+  font-weight: bold;
+  text-transform: capitalize;
+  border: 0;
+  width: 100%; /* for ns4 */
+  background-image: url("http://hauraki.iwi.nz/templates/rt_affinity_j15/images/style5/dark-module-h3-m.png");
+  border-top-left-radius: 15px;
+  border-top-right-radius: 15px;
+  height: 33px;
+}
+
+#hauraki_logo {
+  padding-left: 15px;
+}
+
+body.bgimage {
+
+}
+
+body {
+  margin: 0px;
+}
+
+#page {
+  margin: 0px;
+  background: url("http://hauraki.iwi.nz/templates/rt_affinity_j15/images/style5/page-bg2.png") 50% 124px no-repeat #B3CDD3;
+}
+
+.menu_outer_div {
+  background: #B3CDD3 url("http://hauraki.iwi.nz/templates/rt_affinity_j15/images/style5/header-bg2.png") 0 0 repeat-x;
+}
+
+#content_wrapper, #footer_wrapper, .wrapper {
+  margin: 0 auto;
+  width: 979px;
+}
+
+#content_outer_div {
+  background: white;
+  border: 1px solid white;
+  border-radius: 20px;
+}
+
+#header_text{
+  color: #103F5A;
+  font-family: Tandelle;
+  font-size: 40pt;
+  font-weight: bold;
+  text-shadow: 1px 1px gray;
+}
+
+#content_div {
+  background: #FBFBFB;
+  border: 1px solid #E7E7E7;
+  border-radius: 15px;
+  margin: 10px;
+  min-height: 500px;
+}
+
+#footer {
+}
+
+.bottom-bg {
+  bottom: 0;
+  position: absolute;
+  width: 100%;
+}
+
+.select_collection {
+  color: #103F5A;
+  font-size: 25px;
+  text-align: center;
+  white-space: nowrap;
+  width: 160px;
+}
+
+.collection_classification td {
+  border: 1px solid #E0E0E0;
+  border-radius: 10px;
+}
+
+.library_classification {
+  margin: 10px;
+}
+
+#content_align_with_header {
+  margin: 15px;
+}
+
+a, a:link, a:visited {
+  color: #C51019;
+  text-decoration: none;
+}
+
+a.navlink, a.navlink:visited, a.navlink_sel {
+//  background-image: url("http://hauraki.iwi.nz/templates/rt_affinity_j15/images/style5/readon-m.png");
+  background-image: url("/greenstone/web/images/hauraki/readon-m.png");
+  background-position: 0 -4px;
+  border-radius: 5px;
+  border: 1px solid maroon;
+  color: white;
+  font-size: 12px;
+  text-decoration: none;
+  display: inline-block;
+  height: 18px;
+  line-height: 20px;
+  margin-top: 6px;
+  text-align: center;
+  width: 80px;
+}
+
+a:hover {
+  text-decoration: underline;
+}
+
+div.collectionheader, div.collectionsubheader {
+  text-align: center;
+  font-family: Helvetica,Arial,sans-serif;
+  font-style: normal;
+  font-weight: bold;
+  color: rgb(31,76,99);
+}
+
+div.collectionheader {
+  font-size: 25pt;
+}
+
+div.collectionsubheader {
+  font-size: 18pt;
+  margin-top: 25px;
+}
+
+td.title {
+  font-size: 11pt;
+  font-weight: bold;
+  whitespace: nowrap;
+}
+
+table.documentinfo {
+  width: 95%;
+  margin: auto;
+}
+
+td.documentimage {
+  text-align: center;
+}
+
+#horiz-menu li ul.columns-2, #horiz-menu .drop-wrap.columns-2 {
+  height: 120px;
+  width: 450px;
+  list-style-type: none;
+  display: none;
+}
+
+#horiz-menu li:hover ul.columns-2, #horiz-menu li:hover .drop-wrap.columns-2 {
+  display: inline-block;
+  margin-left: -80px;
+}
+
+.drop-wrap {
+  margin-top: -2px;
+}
+
+.drop1 {
+  margin-left: -83px;
+  margin-top: -7px;
+  width: 452px;
+  height:15px;
+}
+
+.drop3 {
+  height: 15px;
+}
+
+.columns-2 {
+  margin-top: 40px;
+}
+
+.ccAboutPage1 {
+  margin-top: -2px;
+}
+
+.ccAboutPage2 {
+  padding: 10px;
+}
+
+.thumbnail_image {
+  width: 150px;
+}
+
+.fullsize_image {
+  border: 2px solid black;
+}
+
+a.toc {
+//  float: right;
+  text-decoration: underline;
+}
+
+div.photobg {
+  padding-bottom: 20px;
+}
+
+img.icon {
+  float: right;
+}
+
+#horiz-menu ul ul li, #horiz-menu ul ul li.c0, #horiz-menu ul ul li.c1, #horiz-menu ul ul li.c2, #horiz-menu ul ul li.c3 {
+  width: 390px;
+}
+
+#horiz-menu ul ul.columns-2 {
+  background-image: url("../../images/hauraki/menu_background.png");
+}
+
+/* These css classes are used on the most recent version of the home page */
+table.inside_collection_classification td
+{
+  border: none;
+}
+
+div.maorititle {
+  font-size: 24px;
+}
+
+div.englishtitle {
+  font-size: 18px;
+}
Index: main/trunk/model-sites-dev/hauraki-dl/transform/layouts/header.xsl
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/transform/layouts/header.xsl	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/transform/layouts/header.xsl	(revision 32597)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:java="http://xml.apache.org/xslt/java"
+		xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+		xmlns:gslib="http://www.greenstone.org/skinning"
+		xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+		extension-element-prefixes="java util"
+		exclude-result-prefixes="java util gsf">
+
+  <xsl:template name="favicon">
+    <link rel="shortcut icon" href="sites/{$site_name}/images/hauraki-dl-logo128.png"/> 
+  </xsl:template>
+  
+  <xsl:template name="additionalHeaderContent-site">
+    <link rel="stylesheet" href="sites/{$site_name}/style/hdl-core.css" type="text/css"/>
+    <script type="text/javascript" src="sites/{$site_name}/script/hdl-core.js"><xsl:text> </xsl:text></script>
+  </xsl:template>
+
+</xsl:stylesheet>
Index: main/trunk/model-sites-dev/hauraki-dl/transform/pages/home.xsl
===================================================================
--- main/trunk/model-sites-dev/hauraki-dl/transform/pages/home.xsl	(revision 32597)
+++ main/trunk/model-sites-dev/hauraki-dl/transform/pages/home.xsl	(revision 32597)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util xsl gslib">
+
+
+	<xsl:template name="collectionAndGroupLinks">
+	  <!--
+	  <xsl:for-each select="collectionList/collection|groupList/group">
+            <xsl:sort data-type="number" select="@position"/>
+	    <xsl:if test="name() = 'collection'">
+              <gslib:collectionLinkWithImage/>
+	    </xsl:if>
+	    <xsl:if test="name() = 'group'">
+              <gslib:groupLinkWithImage/>
+	    </xsl:if>			
+          </xsl:for-each>
+	  -->
+
+	  <table style="width: 100%">
+	    <tr>
+	      <td>
+		<!-- Content Header Starts-->
+		<div style="text-align: center;">
+		  <h3><div class="collectionheader">Hauraki Digital Library</div></h3>
+		</div>
+	      </td>
+	    </tr>
+
+	    <tr>
+	      <td>
+		<div class="select_collection">
+		  Select a collection
+		</div>
+	      </td>
+	    </tr>
+	    
+	    <tr>
+	      <td>
+		<div class="library_classification">
+		  
+		  
+		  <table style="width: 100%;" class="collection_classification" cellpadding="3px">
+		    <tr>
+		      <td style="width: 50%;">
+			<div class="collection">
+			  <table class="inside_collection_classification">
+			    <tr>
+			      <td width="105px"><a href="{$site_name}/collection/ocr-tribunal/page/about"><img class="link" src="sites/{$site_name}/collect/ocr-tribunal/images/collectionlogo.jpg" alt="Ng&#257; Ker&#275;me / Hauraki Treaty of Waitangi Claims " title="Ng&#257; Ker&#275;me / Hauraki Treaty of Waitangi Claims "/></a></td>
+			      <td style="padding-left: 5px;">
+				<div class="maorititle"><a href="{$site_name}/collection/ocr-tribunal/page/about">Ng&#257; Ker&#275;me</a></div>
+				<br />
+				<div class="englishtitle"><a href="{$site_name}/collection/ocr-tribunal/page/about">Hauraki Treaty of Waitangi Claims</a></div>
+				<br />
+				<div class="description">This collection contains digitised versions of documentation presented to the Waitangi Tribunal in support of Hauraki claims.</div>
+			      </td>
+			    </tr>
+			  </table>
+			</div>
+		      </td>
+
+		      <td style="width: 50%;">
+			<div class="collection">
+			  <table class="inside_collection_classification">
+			    <tr>
+			      <td width="105px"><a href="{$site_name}/collection/whakaahua/page/about"><img class="link" src="sites/{$site_name}/collect/whakaahua/images/collectionlogo.jpg" alt="Ng&#257; Whakaahua &#333; Hauraki / Hauraki Photos " title="Ng&#257; Whakaahua &#333; Hauraki / Hauraki Photos "/></a></td>
+			      <td style="padding-left: 5px;">
+				<div class="maorititle"><a href="{$site_name}/collection/whakaahua/page/about">Ng&#257; Whakaahua &#333; Hauraki</a></div>
+				<br />
+				<div class="englishtitle"><a href="{$site_name}/collection/whakaahua/page/about">Hauraki Photos</a></div>
+				<br />
+				<div class="description">This collection contains photos of people and places of Hauraki.</div>
+			      </td>
+			    </tr>
+			  </table>
+			</div>
+		      </td>
+		    </tr>
+
+		    <tr>
+
+		      <td>
+			<div class="collection">
+			  <table class="inside_collection_classification">
+			    <tr>
+			      <td width="105px"><a href="{$site_name}/collection/treasures/page/about"><img class="link" src="sites/{$site_name}/collect/treasures/images/collectionlogo.jpg" alt="Wh&#257;nau K&#333;rero / Hauraki Interviews and Stories " title="Wh&#257;nau K&#333;rero / Hauraki Interviews and Stories "/></a></td>
+			      <td style="padding-left: 5px;">
+				<div class="maorititle"><a href="{$site_name}/collection/treasures/page/about">Wh&#257;nau K&#333;rero</a></div>
+				<br />
+				<div class="englishtitle"><a href="{$site_name}/collection/treasures/page/about">Hauraki Interviews and Stories</a></div>
+				<br />
+				<div class="description">This collection contains video footage of kaumÄtua interviews and stories.</div>
+			      </td>
+			    </tr>
+			  </table>
+			</div>
+		      </td>
+
+		      <td>
+			<div class="collection">
+			  <table class="inside_collection_classification">
+			    <tr>
+			      <td width="105px" style="text-align: center;"><a href="{$site_name}/collection/resources/page/about"><img class="link" src="sites/{$site_name}/collect/resources/images/collectionlogo.jpg" alt="Ng&#257; Rauemi / Hauraki Resources" title="Ng&#257; Rauemi / Hauraki Resources"/></a></td>
+			      <td style="padding-left: 5px;">
+				<div class="maorititle"><a href="{$site_name}/collection/resources/page/about">Ng&#257; Rauemi</a></div>
+				<br />
+				<div class="englishtitle"><a href="{$site_name}/collection/resources/page/about">Hauraki Resources</a></div>
+				<br />
+				<div class="description">This collection contains a number of Board publications and resources.</div>
+			      </td>
+			    </tr>
+			  </table>
+			</div>
+		      </td>
+		    </tr>
+
+		  </table>
+
+		</div><!-- Library_classification-->
+	      </td>
+	    </tr>
+	  </table>
+	  
+	</xsl:template>
+
+	<xsl:template match="/page/xsltparams">
+	  <!-- suppress xsltparam block in page -->
+	</xsl:template>
+
+</xsl:stylesheet>
+
+
