# this file must be UTF-8 encoded
package document
#######################################################################
# macros set from within the server
#######################################################################
_imagethispage_ {}
_httpprevarrow_ {}
_httpnextarrow_ {}
_pagetitle_ {}
_phindclassifier_ {}
_collageclassifier_ {}
# custom header for individual document
_documentheader_ {}
#custom css links for individual document
_csslink_{
}
_tocclose_ {}
_nextsearchresult_ {_If_("_cgiargsrn_" ne "0",
}
# Dublin Core Metadata Element Set, Version 1.1
_textTitlepage_ {_texticonhtitle_}
_textCreatorpage_ {_texticonhcreat_}
_textSubjectpage_ {_texticonhsubj_}
_textDescriptionpage_ {_texticonhdesc_}
_textPublisherpage_ {_texticonhpubl_}
_textContributorpage_ {_texticonhcontr_}
_textDatepage_ {_texticonhdate_}
_textTypepage_ {_texticonhtype_}
_textFormatpage_ {_texticonhform_}
_textIdentifierpage_ {_texticonhident_}
_textSourcepage_ {_texticonhsrc_}
_textLanguagepage_ {_texticonhlang_}
_textRelationpage_ {_texticonhrel_}
_textCoveragepage_ {_texticonhcover_}
_textRightspage_ {_texticonhright_}
_textTopage_ {_texticonhto_}
_textFrompage_ {_texticonhfrom_}
_textSeriespage_ {_texticonhser_}
_textHowtopage_ {_texticonhhow_}
_textOrganizationpage_ {_texticonhorg_}
_textBrowsepage_ {_texticonhbrwse_}
_textCollagepage_ {_texticonhcoll_}
_textPeoplepage_ {_texticonhpeople_}
_textAcronympage_ {_texticonhacronym_}
_textPhrasepage_ {_texticonhphrases_}
_textArtistpage_ {_texticonhartist_}
_textKeywordpage_ {_texticonhkw_}
_textVolumepage_ {_texticonhvol_}
_textCaptionspage_ {_texticonhcapt_}
_textCountriespage_ {_texticonhcount_}
#######################################################################
# navigation arrows
#
#######################################################################
# these two may be reset to "" by the server
_navarrowsbottom_ {_navarrows_}
_navarrowstop_ {_navarrows_}
_navarrows_ {
}
_prevarrow_ {_If_(_httpprevarrow_,
_iconprev_ )}
_nextarrow_ {_If_(_httpnextarrow_,
_iconnext_ )}
_navarrows_ [v=1] {
_prevarrow_
_nextarrow_
}
#######################################################################
# the goto form
#######################################################################
_gotoform_ {
}
_textnumpages_ {
(_1_ _pages_) }
_parentarrow_ {}
_prevtitle_ {}
_nexttitle_ {}
#######################################################################
# the phind applet
#
# The phind applet is only required on phind classifier pages.
# Consequently, the _phindclassifier_ macro is not usually set. On screens
# where it is required, _phindclassifier_ resolves to _phindapplet_, and
# the following macro is loaded into the web page.
#######################################################################
_phindapplet_ {
The Phind java applet.
}
_collageapplet_ {
_collagecaption_
}
_flashbook_ {
}
#######################################################################
# icons
#######################################################################
_iconsmalltext_ {
}
_iconsmalltext_ [v=1] {
_texticonsmalltext2_ }
_iconarrowsmalltext_ {
}
_iconarrowsmalltext_ [v=1] {
->_texticonsmalltext2_ }
_iconclosedfolder_ {
}
_iconclosedfolder_ [v=1] {
_texticonclosedfolder2_ }
_iconarrowclosedfolder_ {
}
_iconarrowclosedfolder_ [v=1] {
->_texticonclosedfolder2_ }
_iconopenfolder_ {
}
_iconopenfolder_ [v=1] {
_texticonopenfolder2_ }
_iconarrowopenfolder_ {
}
_iconarrowopenfolder_ [v=1] {
->_texticonopenfolder2_ }
_iconarrowclosedbook_ {
}
_iconarrowclosedbook_ [v=1] {
->_texticonclosedbook_: }
_iconopenbook_ {
}
_iconopenbook_ [v=1] {
_texticonopenbook_: }
_iconarrowopenbook_ {
}
_iconarrowopenbook_ [v=1] {
->_texticonopenbook_: }
_iconopenbookshelf_ {
}
_iconopenbookshelf_ [v=1] {
_texticonopenbookshelf_: }
_iconarrowopenbookshelf_ {
}
_iconarrowopenbookshelf_ [v=1] {
->_texticonopenbookshelf_: }
_iconclosedbookshelf_ {
}
_iconclosedbookshelf_ [v=1] {
_texticonclosedbookshelf_: }
_iconarrowclosedbookshelf_ {
}
_iconarrowclosedbookshelf_ [v=1] {
->_texticonclosedbookshelf_: }
_iconpointer_ {
}
_iconpointer_ [v=1] {
_texticonpointer_-> }
_iconwarning_ {
}
_iconwarning_ [v=1] {_texticonwarning_}
#######################################################################
# images
#######################################################################
_coverimage_ {
}
_docbutton_ {
}
# can't use _docbutton_ macro for detach button as we need to include target
_imagedetach_ {
}
_imageprint_{
}
_imagehighlight_ {_docbutton_(_httpcurrentdocument_&hl=1&gc=_cgiarggc_>=_cgiarggt_,_textHIGHLIGHT_,_texticonhighlight_)}
_imagenohighlight_ {_docbutton_(_httpcurrentdocument_&hl=0&gc=_cgiarggc_>=_cgiarggt_,_document:textNOHIGHLIGHT_,_document:texticonnohighlight_)}
_imagecontracttoc_ {_docbutton_(_httpcurrentdocument_&gc=0,_textCONTRACTCONTENTS_,_texticoncontracttoc_)}
_imageexpandtoc_ {_docbutton_(_httpcurrentdocument_&gc=1,_textEXPANDCONTENTS_,_texticonexpandtoc_)}
_imagecontracttext_ {_docbutton_(_httpcurrentdocument_>=0,_textCONTRACT_,_texticoncontracttext_)}
_imageexpandtext_ {_docbutton_(_httpcurrentdocument_>=1,_textEXPANDTEXT_,_texticonexpandtext_)}
_imagecont_ {_docbutton_(_httpcurrentdocument_>=2,_textCONTINUE_,_texticoncont_)}
#######################################################################
# print preview script
#######################################################################
_pagescriptextra_{
var style_display_old;
var show = true;
var toc_top;
function has_toc(){
var div_nodes = document.getElementsByTagName("div");
for (var i=0;i < div_nodes.length ; i++ )\{
var div_node = div_nodes[i];
if (div_node.className =="toc" && div_node.childNodes.length > 1)
\{
return true;
\}
\}
return false;
\}
function hide_toc()\{
var div_nodes = document.getElementsByTagName("div");
for (var i=0;i < div_nodes.length ; i++ )\{
var div_node = div_nodes[i];
if (div_node.className =="toc")
\{
style_display_old = div_node.style.display;
toc_top = document.getElementById("toc_top");
if (toc_top)
div_node.parentNode.insertBefore(toc_top,div_node);
div_node.style.display = "none";
\};
\}
\}
function show_toc()\{
var div_nodes = document.getElementsByTagName("div");
for (var i=0;i < div_nodes.length ; i++ )\{
var div_node = div_nodes[i];
if (div_node.className =="toc")
\{
div_node.style.display = style_display_old;
if (toc_top)
div_node.insertBefore(toc_top,div_node.firstChild);
\};
\}
\}
function switch_toc()\{
var toc_link = document.getElementById("toc_link");
while (toc_link.hasChildNodes()) \{
toc_link.removeChild(toc_link.firstChild);
\}
if (show)\{
toc_link.appendChild(document.createTextNode('_textshowcontents_'));
show = false;
hide_toc();
\}
else\{
toc_link.appendChild(document.createTextNode('_texthidecontents_'));
show = true;
show_toc();
\}
\}
function print_preview() \{
// Switch the stylesheet
setActiveStyleSheet("Preview Document");
add_print_message();
\}
function add_print_message()\{
if (document.getElementById)\{
var print_message = document.createElement('ul');
print_message.id = 'print-message';
print_message.className = "printmessage";
var cancel_print_link = document.createElement('li');
cancel_print_link.className = "cancelprint"
cancel_print_link.onclick = function()\{ cancel_print(); return false;\};
cancel_print_link.appendChild(document.createTextNode('_textreturnoriginal_'));
print_message.appendChild(cancel_print_link);
var print_link = document.createElement('li');
print_link.onclick = function()\{ window.print(); return false;\};
print_link.appendChild(document.createTextNode('_textprintpage_'));
print_message.appendChild(print_link);
if (has_toc())\{
var toc_link = document.createElement('li');
toc_link.id = "toc_link";
toc_link.onclick = function()\{ switch_toc(); return false;\};
toc_link.appendChild(document.createTextNode('_texthidecontents_'));
print_message.appendChild(toc_link);
\}
//insert the print message node
var div_nodes = document.getElementsByTagName("div");
for (var i=0;i < div_nodes.length ; i++ )\{
var div_node = div_nodes[i];
if (div_node.className =="document")\{
var parent = div_node.parentNode;
parent.insertBefore(print_message,div_node);
\}
\}
\}
\}
function cancel_print() \{
// Destroy the preview message
var print_message = document.getElementById('print-message');
var parent = print_message.parentNode;
parent.removeChild(print_message);
show_toc();
// Switch back stylesheet
setActiveStyleSheet("default");
\}
function setActiveStyleSheet(title) \{
var i, a, main;
for(i=0; (a = document.getElementsByTagName("link")[i]); i++) \{
if(a.getAttribute("rel").indexOf("style") != -1
&& a.getAttribute("title")) \{
a.disabled = true;
if(a.getAttribute("title") == title) a.disabled = false;
\}
\}
\}
}
#######################################################################
# headers/footers
#######################################################################
# header overridden for text pages
_textheader_ {_cgihead_
_htmlhead_
_startspacer_
}
_textheader_ [v=1] {_cgihead_
_htmlhead_
_globallinks_
}
_footer_ {