# this file must be UTF-8 encoded
#######################################################################
# GLOBAL MACROS
#######################################################################
package Global
##########
_optsite_ {}
##########
_htmlextra_ {}
#_starthighlight_ {}
#_endhighlight_ {}
_starthighlight_ {}
_endhighlight_ {}
#######################################################################
# page content
#
# these should always be overridden for each page/collection
#######################################################################
_content_ {
oops
_textdefaultcontent_}
_pagetitle_ {_textdefaulttitle_}
_imagethispage_ {}
_iconcollection_ {}
_collectionname_ {}
package Usability
_content_ {
_textaboutusabilitytitle_
_textaboutusability_
}
_pagetitle_{_textaboutusabilitypagetitle_}
package Privacy
_content_ {
_textaboutprivacytitle_
_textaboutprivacy_
}
_pagetitle_{_textaboutprivacypagetitle_}
package Global
_imagecollection_ {_If_("_iconcollection_" ne "",
,
_imagecollectionv_)}
_imagecollection_ [v=1] {_imagecollectionv_}
_imagecollectionv_ {_If_(_collectionname_,
)}
#######################################################################
# these width macros are read in by the server when calculating
# width of navigation bar etc. There should be one for each
# classification that this receptionist supports, one for the
# search button, and the _pagewidth_ macro which is the total width
# of the page
#######################################################################
# width of tabs when displaying tables of contents
_tabwidth_ {25}
_pagewidth_ {537}
# defaultwidth is the width buttons default to if not included in this list
# but you need to define a _METAwidth_ tag as the server tests that it exists!
_defaultwidth_ {87}
_searchwidth_ {_widthtsrchx_}
_Titlewidth_ {_widthttitlx_}
_Collagewidth_ {_widthtcollx_}
_Descriptionwidth_ {_widthtdescx_}
_Listwidth_ {_widthtlistx_}
_Creatorwidth_ {_widthtauthx_}
_Serieswidth_ {_widthtserx_}
_Datewidth_ {_widthtdatex_}
_Subjectwidth_ {_widthtsubjx_}
_Towidth_ {_widthttox_}
_Fromwidth_ {_widthtfromx_}
_Organizationwidth_ {_widthtorgx_}
_Howtowidth_ {_widththowx_}
_Topicwidth_ {_widthttopicx_}
_Browsewidth_ {_widthtbrwsex_}
_Peoplewidth_ {_widthtpeopx_}
_Languagewidth_ {_widthtlangx_}
_Acronymwidth_ {_widthtacrox_}
_Phrasewidth_ {_widthtphrsex_}
_Artistwidth_ {_widthtartstx_}
_Sourcewidth_ {_widthtsrcx_}
_Keywordwidth_ {_widthtkwx_}
_Volumewidth_ {_widthtvolx_}
_Captionswidth_ {_widthtcaptx_}
_Countrieswidth_ {_widthcountx_}
#######################################################################
# Macros whose values are set from within the server at runtime. These
# are here only for reference and to set default values if required.
#######################################################################
# _win32_ will be set to 1 if we're on windows
_win32_ {}
_navigationbar_ {}
_widthtspace_ {2}
# The following is useful if collection specific macro. Override
# _optnavigationbar_ to be empty if you don't want the navigation bar to
# appear in the standard place, and then specify _navigationbar_ elsewhere
# in a collection specific macro file(s) to be where you do want it.
_optnavigationbar_{_navigationbar_}
_usability_ {}
# all cgi args are set as _cgiargX_ macros - those I've put here
# are those that need to default to something
_cgiargd_ {}
_cgiargcl_ {}
# set from within the query action
_hselection_ {}
_jselection_ {}
_nselection_ {}
#level (granularity) selection for mgpp
_gselection_ {}
#level selection for form searching - dont have paragraph
_gformselection_ {_gselection_}
_fqfselection_ {}
#######################################################################
# flashy rollover image macro
#
#######################################################################
# imagescript should always be included in html header if there are
# flashy images on the page
_imagescript_ {
var loaded = new Array();
function gbutton (image, onimage) \{
if (image && image.src && (image.out == null || typeof(image.out) == typeof(void(0)))) \{
s = image.src;
image.out = new Image();
image.out.src = s;
image.over = new Image();
image.over.src = onimage;
loaded[image.name] = image;
\}
\}
function roll (imagename, over) \{
if (document.images) \{
if (over) i = "over";
else i = "out";
image = loaded[imagename];
if (image) image.src = eval("image."+i+".src");
\}
\}
}
# gsimage should be used to define an instance of a flashy image
# parameters are:
# 1. the url to go to when the button is clicked
# 2. the url of the "off" image
# 3. the url of the "on" image
# 4. the name of the image (must be unique)
# 5. image alt text
_gsimage_ {}
_gsimage_ [v=1] {_5_
}
_usabilityscript_ {}
_usabshowscript_ {
//this is for where something goes wrong and an error message has to be shown.
function failnicely(message,usabwindow)\{
var errhtml='';
errhtml+='_greenstoneusabilitytext__texterror_';
errhtml+='_usabbanner_';
errhtml+=message;
errhtml+='';
errhtml+='