changeset 315:d7f0045384f5

big autumn cleaning :-) - finally digilib.jsp uses the new javascript code - dito digicat.jsp - all files corresponding to the old frontend moved into /oldskin - all icons moved into /img
author robcast
date Thu, 28 Oct 2004 22:25:59 +0200
parents 074c3117f292
children bf34a4d8f6b4
files client/digitallibrary/baselib.js client/digitallibrary/dcMenu.html client/digitallibrary/dlMenu.html client/digitallibrary/mark1.gif client/digitallibrary/mark2.gif client/digitallibrary/mark3.gif client/digitallibrary/mark4.gif client/digitallibrary/mark5.gif client/digitallibrary/mark6.gif client/digitallibrary/mark7.gif client/digitallibrary/mark8.gif client/digitallibrary/navcat.html client/digitallibrary/navcat.js client/digitallibrary/navigation.js client/digitallibrary/oldskin/pageWin.html client/digitallibrary/olinks.gif client/digitallibrary/orechts.gif client/digitallibrary/ulinks.gif client/digitallibrary/urechts.gif
diffstat 19 files changed, 24 insertions(+), 1120 deletions(-) [+]
line wrap: on
line diff
--- a/client/digitallibrary/baselib.js	Thu Oct 28 22:25:58 2004 +0200
+++ b/client/digitallibrary/baselib.js	Thu Oct 28 22:25:59 2004 +0200
@@ -17,16 +17,10 @@
 Authors: 
   Christian Luginbuehl, 01.05.2003 (first version)
   DW 24.03.2004 (Changed for digiLib in Zope)
-  Robert Casties, 03.08.2004
+  Robert Casties, 27.10.2004
 
 */
 
-function identify() {
-	// used for identifying a digilib instance
-	// Relato uses that function - lugi
-	return "Digilib 0.6";
-}
-
 function getInt(n) {
     // returns always an integer
     n = parseInt(n);
@@ -579,8 +573,8 @@
     return wsize;
 }
 
-function openWin(url, title, params) {
+function openWin(url, name, params) {
     // open browser window
-    var ow = window.open(url, title, params);
+    var ow = window.open(url, name, params);
     ow.focus();
 }
--- a/client/digitallibrary/dcMenu.html	Thu Oct 28 22:25:58 2004 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-<html>
-<head>
-<style type="text/css">
-.menu1 {position:absolute; top:122; left:41; width:44; height:138; clip:rect(0,44,138,0); visibility:hidden}
-.item1 {position:absolute; left:43; width:40; height:14; clip:rect(0,40,14,0); visibility:hidden}
-
-.text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none}
-</style>
-<script language="JavaScript" src="buttons/menu.js"></script>
-<script language="JavaScript">
-// because on a netscape 4.xx bug (messing up with layers on resize) we cache the window
-// resize event and redisplay the navigation frame
-if (document.layers && !document.getElementById) {
-	window.onresize = function() {parent.rightFrame.location.reload();}
-}
-
-function reloadTable(row, col) {
-	parent.att[2] = row;
-	parent.att[3] = col;
-	parent.loadThumbTable();
-}
-
-// turn off the contexthelp
-var showHelp = false;
-</script>
-</head>
-
-<body bgcolor="#CCCCCC" leftmargin="8" marginwidth="8" topmargin="20" marginheight="20" onload="preloadImages();">
-<a href="#" onClick="parent.Backpage(); return false;" onmouseover="overButton(0)" onmouseout="awayButton(0)"><img src="buttons/back0.gif" width="73" height="30" border="0"></a><br>
-<a href="#" onClick="parent.Nextpage(); return false;" onmouseover="overButton(1)" onmouseout="awayButton(1)"><img src="buttons/next0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="#" onclick="hideMenu(); showMenu(1); return false;" onmouseover="overButton(2)" onmouseout="awayButton(2)"><img src="buttons/matrix0.gif" width="73" height="30" border="0"></a><br>
-
-<div id="menu1" class="menu1"></div>
- <div id="menu11" class="item1" style="top:124"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(1, 2); return false;" onmouseover="overItem(11)" onmouseout="awayItem(11)">1x2</a></center></div>
- <div id="menu12" class="item1" style="top:139"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 3); return false;" onmouseover="overItem(12)" onmouseout="awayItem(12)">2x3</a></center></div>
- <div id="menu13" class="item1" style="top:154"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 4); return false;" onmouseover="overItem(13)" onmouseout="awayItem(13)">2x4</a></center></div>
- <div id="menu14" class="item1" style="top:169"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 2); return false;" onmouseover="overItem(14)" onmouseout="awayItem(14)">3x2</a></center></div>
- <div id="menu15" class="item1" style="top:184"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 3); return false;" onmouseover="overItem(15)" onmouseout="awayItem(15)">3x3</a></center></div>
- <div id="menu16" class="item1" style="top:199"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 4); return false;" onmouseover="overItem(16)" onmouseout="awayItem(16)">3x4</a></center></div>
- <div id="menu17" class="item1" style="top:214"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 5); return false;" onmouseover="overItem(17)" onmouseout="awayItem(17)">3x5</a></center></div>
- <div id="menu18" class="item1" style="top:229"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 5); return false;" onmouseover="overItem(18)" onmouseout="awayItem(18)">4x5</a></center></div>
- <div id="menu19" class="item1" style="top:244"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 6); return false;" onmouseover="overItem(19)" onmouseout="awayItem(19)">4x6</a></center></div>
-
-<script language="Javascript">
-// initial background color of the menues (has to be done like this, 
-// otherwise menues in ns4 you will have wrong dimensions)
-changeBc("menu1", "#666666");
-</script>
-</body>
-</html>
\ No newline at end of file
--- a/client/digitallibrary/dlMenu.html	Thu Oct 28 22:25:58 2004 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-<html>
-<head>
-<style type="text/css">
-.menu {position:absolute; visibility:hidden}
-
-.item1 {position:absolute; left:33; width:50; height:14; clip:rect(0,50,14,0); visibility:hidden}
-.item2 {position:absolute; left:43; width:40; height:14; clip:rect(0,40,14,0); visibility:hidden}
-.item3 {position:absolute; left:3; width:80; height:14; clip:rect(0,80,14,0); visibility:hidden}
-
-.text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none}
-</style>
-<script language="JavaScript" src="buttons/menu.js"></script>
-<script language="JavaScript">
-// because on a netscape 4.xx bug (messing up with layers on resize) we cache the window
-// resize event and redisplay the navigation frame
-if (document.layers && !document.getElementById) {
-	window.onresize = function() {parent.rightFrame.location.reload();}
-}
-
-
-// variable that store the texts for contexthelp
-var helpText = new Array();
-
-helpText[0]  = "'back'-button|Click on this button to load the previous image (usually the next page from a manuscript).";
-helpText[1]  = "'next'-button|Click on this button to load the next image (usually the next page from a manuscript).";
-helpText[2]  = "'page'-button|After clicking 'page' you will be prompted for a specific page you want to see.<br>Note that the page number refers to the same serie you are in now.";
-helpText[3]  = "'digicat'-button|Click here to open a new window containing thumbnails of the current series pages to navigate.";
-helpText[4]  = "'mark'-button|You can set marks into the picture. After hitting 'mark' you have to click on the desired picures location, a numbered mark appears.<br>Check out 'reference' to make these marks (up to 8) visible for others.";
-helpText[5]  = "'reference'-button|Choose LaTeX or HTML mode to get a link for the actual (zoomed) picture with all set marks.<br>This link can easily be included in a TeX- or HTML-formatted document/page.";
-helpText[6]  = "'zoom area'-button|With 'zoom area' you can zoom into any rectangular field for the current picture.<br>After clicking on the button click on the image to set any corner (ex. topleft), release the mousebutton and move the mouse until you have the desired size, then click again.";
-helpText[7]  = "'zoom point'-button|Click on 'zoom point' then click into a point of the picture. This gives you a zoomed picture centered around your clicked point.";
-helpText[8]  = "'zoom out'-button|To gain the original unzoomed picture, click on 'zoom out'.<br>Note that any set marks are still saved at their positions.";
-helpText[9]  = "'move to'-button|This button allows you change the center of a zoomed picture, while not changing the current zoom-factor.<br>Use: Click on the point in the picture you want to be the new center of the image.";
-helpText[10] = "'scale'-button|By clicking on one of the menu entries you can select the factor the currently displayed picture will be scaled.<br>Note: a scale factor of '1.0' means that the picture fits right into the working area, while '2.0' means that it will be twice as high and large.";
-helpText[11] = "'?'-button|In its menu you are able change options like the visibility of this contextsensitive help, with 'Keep area' the program keeps its current area when changing to another page or with 'Fit GIFs' you can force to program to adjust the size of GIF-images to the working area.";
-
-
-// boolean variable to eighter show or not show the additional help
-// change in the menuitem its original mark
-var showHelp = false;
-
-// variable to tell if while changing to another page it should keep the area
-// change in the menuitem its original mark (1 = false, 2 = true)
-var keepArea = 2;
-
-function page() {
-
-  do {
-    p = prompt("Goto Page:", 1);
-  } while ((p != null) && (p < 1));
-
-  if (p != null && p != parseInt(parent.mainFrame.getParameter('pn'))) {
-    parent.mainFrame.page(p, keepArea);
-	}
-}
-
-</script>
-</head>
-
-<body bgcolor="#CCCCCC" leftmargin="8" marginwidth="8" topmargin="5" marginheight="5" onload="preloadImages();" onunload="closeContextHelp()">
-<a href="javascript:parent.mainFrame.page('-1', keepArea)" onmouseover="overButton(0)" onmouseout="awayButton(0)"><img src="buttons/back0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:parent.mainFrame.page('+1', keepArea)" onmouseover="overButton(1)" onmouseout="awayButton(1)"><img src="buttons/next0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:page()" onmouseover="overButton(2)" onmouseout="awayButton(2)"><img src="buttons/page0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:parent.mainFrame.digicat()" onmouseover="overButton(3)" onmouseout="awayButton(3)"><img src="buttons/digicat0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="javascript:parent.mainFrame.mark()" onmouseover="overButton(4)" onmouseout="awayButton(4)"><img src="buttons/mark0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:hideMenu(); showMenu(1)" onmouseover="overButton(5)" onmouseout="awayButton(5)"><img src="buttons/reference0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="javascript:parent.mainFrame.zoomArea()" onmouseover="overButton(6)" onmouseout="awayButton(6)"><img src="buttons/zoomarea0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:parent.mainFrame.zoomPoint()" onmouseover="overButton(7)" onmouseout="awayButton(7)"><img src="buttons/zoompoint0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:parent.mainFrame.zoomExtends()" onmouseover="overButton(8)" onmouseout="awayButton(8)"><img src="buttons/zoomout0.gif" width="73" height="30" border="0"></a><br>
-<a href="javascript:parent.mainFrame.moveTo()" onmouseover="overButton(9)" onmouseout="awayButton(9)"><img src="buttons/moveto0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="javascript:hideMenu(); showMenu(2)" onmouseover="overButton(10)" onmouseout="awayButton(10)"><img src="buttons/scale0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="javascript:hideMenu(); showMenu(3)" onmouseover="overButton(11)" onmouseout="awayButton(11)"><img src="buttons/questionmark0.gif" width="73" height="30" border="0"></a>
-
-<div id="menu1" class="menu" style="top:201; left:31; width:54; height:33; clip:rect(0,54,33,0)"></div>
- <div id="menu11" class="item1" style="top:203"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.ref(0); return false;" onmouseover="overItem(11)" onmouseout="awayItem(11)">LaTeX</a></center></div>
- <div id="menu12" class="item1" style="top:218"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.ref(1); return false;" onmouseover="overItem(12)" onmouseout="awayItem(12)">HTML</a></center></div>
-
-<div id="menu2" class="menu" style="top:379; left:41; width:44; height:93; clip:rect(0,44,93,0)"></div>
- <div id="menu21" class="item2" style="top:381"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(0.7); return false;" onmouseover="overItem(21)" onmouseout="awayItem(21)">0.7</a></center></div>
- <div id="menu22" class="item2" style="top:396"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(1.0); return false;" onmouseover="overItem(22)" onmouseout="awayItem(22)">1.0</a></center></div>
- <div id="menu23" class="item2" style="top:411"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(1.5); return false;" onmouseover="overItem(23)" onmouseout="awayItem(23)">1.5</a></center></div>
- <div id="menu24" class="item2" style="top:426"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(2.0); return false;" onmouseover="overItem(24)" onmouseout="awayItem(24)">2.0</a></center></div>
- <div id="menu25" class="item2" style="top:441"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(2.5); return false;" onmouseover="overItem(25)" onmouseout="awayItem(25)">2.5</a></center></div>
- <div id="menu26" class="item2" style="top:456"><center><a href="#" class="text" onClick="hideMenu(); parent.mainFrame.scale(3.0); return false;" onmouseover="overItem(26)" onmouseout="awayItem(26)">3.0</a></center></div>
-
-<div id="menu3" class="menu" style="top:430; left:1; width:84; height:33; clip:rect(0,84,33,0)"></div>
- <div id="menu31" class="item3" style="top:432"><center><a href="#" class="text" onclick="changeMark(31); hideMenu(); changeHelp(); return false;" onmouseover="overItem(31)" onmouseout="awayItem(31)"><img id="mark31" src="buttons/nomark.gif" border="0">Contexthelp</a></center></div>
- <div id="menu32" class="item3" style="top:447"><center><a href="#" class="text" onclick="changeMark(32); keepArea = (keepArea == 1) ? 2 : 1; return false;" onmouseover="overItem(32)" onmouseout="awayItem(32)"><img id="mark32" src="buttons/mark.gif" border="0">Keep&nbsp;area</a></center></div>
-
-
-<script language="Javascript">
-// initial background color of the menues (has to be done like this, 
-// otherwise menues in ns4 you will have wrong dimensions)
-changeBc("menu1", "#666666");
-changeBc("menu2", "#666666");
-changeBc("menu3", "#666666");
-
-</script>
-</body>
-</html>
Binary file client/digitallibrary/mark1.gif has changed
Binary file client/digitallibrary/mark2.gif has changed
Binary file client/digitallibrary/mark3.gif has changed
Binary file client/digitallibrary/mark4.gif has changed
Binary file client/digitallibrary/mark5.gif has changed
Binary file client/digitallibrary/mark6.gif has changed
Binary file client/digitallibrary/mark7.gif has changed
Binary file client/digitallibrary/mark8.gif has changed
--- a/client/digitallibrary/navcat.html	Thu Oct 28 22:25:58 2004 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-<html>
-<head>
-<style type="text/css">
-.menu1 {position:absolute; top:122; left:41; width:44; height:138; clip:rect(0,44,138,0); visibility:hidden}
-.item1 {position:absolute; left:43; width:40; height:14; clip:rect(0,40,14,0); visibility:hidden}
-
-.text {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none}
-</style>
-<script language="JavaScript" src="buttons/menu.js"></script>
-<script language="JavaScript">
-// because on a netscape 4.xx bug (messing up with layers on resize) we cache the window
-// resize event and redisplay the navigation frame
-if (document.layers && !document.getElementById) {
-	window.onresize = function() {parent.rightFrame.location.reload();}
-}
-
-function reloadTable(row, col) {
-	parent.att[2] = row;
-	parent.att[3] = col;
-	parent.loadThumbTable();
-}
-
-// turn off the contexthelp
-var showHelp = false;
-</script>
-</head>
-
-<body bgcolor="#CCCCCC" leftmargin="8" marginwidth="8" topmargin="20" marginheight="20" onload="preloadImages();">
-<a href="#" onClick="parent.Backpage(); return false;" onmouseover="overButton(0)" onmouseout="awayButton(0)"><img src="buttons/back0.gif" width="73" height="30" border="0"></a><br>
-<a href="#" onClick="parent.Nextpage(); return false;" onmouseover="overButton(1)" onmouseout="awayButton(1)"><img src="buttons/next0.gif" width="73" height="30" border="0"></a><br><br>
-<a href="#" onclick="hideMenu(); showMenu(1); return false;" onmouseover="overButton(2)" onmouseout="awayButton(2)"><img src="buttons/matrix0.gif" width="73" height="30" border="0"></a><br>
-
-<div id="menu1" class="menu1"></div>
- <div id="menu11" class="item1" style="top:124"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(1, 2); return false;" onmouseover="overItem(11)" onmouseout="awayItem(11)">1x2</a></center></div>
- <div id="menu12" class="item1" style="top:139"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 3); return false;" onmouseover="overItem(12)" onmouseout="awayItem(12)">2x3</a></center></div>
- <div id="menu13" class="item1" style="top:154"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(2, 4); return false;" onmouseover="overItem(13)" onmouseout="awayItem(13)">2x4</a></center></div>
- <div id="menu14" class="item1" style="top:169"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 2); return false;" onmouseover="overItem(14)" onmouseout="awayItem(14)">3x2</a></center></div>
- <div id="menu15" class="item1" style="top:184"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 3); return false;" onmouseover="overItem(15)" onmouseout="awayItem(15)">3x3</a></center></div>
- <div id="menu16" class="item1" style="top:199"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 4); return false;" onmouseover="overItem(16)" onmouseout="awayItem(16)">3x4</a></center></div>
- <div id="menu17" class="item1" style="top:214"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(3, 5); return false;" onmouseover="overItem(17)" onmouseout="awayItem(17)">3x5</a></center></div>
- <div id="menu18" class="item1" style="top:229"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 5); return false;" onmouseover="overItem(18)" onmouseout="awayItem(18)">4x5</a></center></div>
- <div id="menu19" class="item1" style="top:244"><center><a href="#" class="text" onClick="hideMenu(); reloadTable(4, 6); return false;" onmouseover="overItem(19)" onmouseout="awayItem(19)">4x6</a></center></div>
-
-<script language="Javascript">
-// initial background color of the menues (has to be done like this, 
-// otherwise menues in ns4 you will have wrong dimensions)
-changeBc("menu1", "#666666");
-</script>
-</body>
-</html>
\ No newline at end of file
--- a/client/digitallibrary/navcat.js	Thu Oct 28 22:25:58 2004 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,188 +0,0 @@
-/*
-
-Copyright (C) 2003 WTWG, Uni Bern
- 
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
- 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
- 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
- 
-Author: Christian Luginbuehl, 07.04.2004 , Version Alcatraz 0.6
-
-*/
-
-function identify() {
-  return 'Digicat v0.3';
-}
-
-
-dcParams = new Object();
-
-function newParameter(name, value, defaultValue, detail) {
-
-  if ( !dcParams[name] ) {
-
-    dcParams[name] = new Object();
-
-    dcParams[name].value        = value;
-    dcParams[name].defaultValue = defaultValue;
-    dcParams[name].detail       = detail;
-
-    return dcParams[name];
-
-  } else {
-
-    alert("Fatal: An object with name '" + name + "' already exists - cannot recreate!");
-    return false;
-
-  }
-}
-
-function getParameter(name) {
-
-  if ( dcParams[name] ) {
-    return dcParams[name].value;
-  } else {
-    return false;
-  }
-}
-
-
-
-function listParametersAsString() {
-
-  var params = new Array();
-
-  for ( param in dcParams ) {
-    params.push(param);
-  }
-
-  return params.join(",");
-
-}
-
-
-function listParameters() {
-
-  var params = new Array();
-
-  for ( param in dcParams ) {
-    params.push(param);
-  }
-
-  return params;
-
-}
-
-
-function init() {
-
-  var fWidth  = document.body ? document.body.clientWidth : innerWidth;
-  var fHeight = document.body ? document.body.clientHeight : innerHeight;
-
-  if (!dcParams.mo.value) {
-    dcParams.mo.value = dcParams.mo.defaultValue;
-  }
-
-  var cells = dcParams.mo.value.split('x');
-	
-  var picWidth = (dcParams.dw.value != 0) ? dcParams.dw.value : Math.floor((fWidth-30)/cells[0])-2*cells[0]-1;
-  var picHeight = (dcParams.dh.value != 0) ? dcParams.dh.value : picWidth;
-
-  if (cells.length > 1) {
-    picHeight = (dcParams.dh.value != 0) ? dcParams.dh.value : Math.floor(((fHeight-30)-12*cells[1])/cells[1])-2*cells[1]-1;
-  } else {
-    cells[1] = Math.ceil(dcParams.pt.value/cells[0]);
-  }
-
-  var cellWidth  = parseInt(picWidth)+8;
-  var cellHeight = parseInt(picHeight)+18;
-	
-  document.write('<table border="0" cellspacing="1" cellpadding="0">');
-
- 	for (var j = 0; j < cells[1]; j++) {
-    document.write(' <tr>');
-		for (var i = 0; i < cells[0]; i++) {
-			var idx  = parseInt(dcParams.pn.value)+i+j*cells[0];
-      var img  = baseUrl + "/servlet/Scaler/?fn=" + dcParams.fn.value + "&pn=" + idx;
-			    img += "&dw=" + picWidth + "&dh=" + picHeight + "&mo=q0";
-			document.write('  <td width="' + cellWidth + '" height="' + cellHeight + '">');
-      if (idx <= dcParams.pt.value) {
-	      document.write('   <a href="javascript:load(' + idx + ')"><img src="' + img + '" border="0"></a><br>' + idx);
-      } else {
-        document.write('   &nbsp;');
-      }
-			document.write('  </td>');
-
-  	}
-		document.write(' </tr>');
-	}
-
-  document.write('</table>');
-}
-
-
-function load(i) {
-  var link = baseUrl + "/digilib.jsp?fn=" + dcParams.fn.value + "&pn=" + i + "&lv=3";
-
-  if (typeof(top.loadFocusedFrame) == 'function') {
-    top.loadFocusedFrame(link);
-  } else {
-	  var win = window.open(link, 'digilib');
-	  win.focus();
-  }	
-}  
-
-
-function Backpage() {
-
-	if (att[1] <= 1) {
-		att[1] = 1;
-        alert("You are already on the first page!");
-	}
-	
-    att[1] = parseInt(att[1])-parseInt(att[2]*att[3]);
-
-    if (att[1] < 1) {
-    	att[1] = 1;
-    }
-	loadThumbTable();
-}
-
-
-
-function Nextpage() {
-
-    att[1] = parseInt(att[1])+parseInt(att[2]*att[3]);
-	loadThumbTable();
-}
-
-
-// capturing keypresses for next and previous page
-// ascii-values of n = 110, b = 98
-function parseKeypress (event) {
-	if (event.charCode == 110) {
-		Nextpage();
-	}
-	if (event.charCode == 98) {
-		Backpage();
-	}
-}
-
-
-// initialize browser specific things (keypress caputring)
-function initScripts() {
-	for (var f = 0; f < frames.length; f++) {
-		frames[f].document.addEventListener('keypress', parseKeypress, true);
-	}
-	whichFrame.focus();
-}
--- a/client/digitallibrary/navigation.js	Thu Oct 28 22:25:58 2004 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,723 +0,0 @@
-/*
-
-Copyright (C) 2003 WTWG, Uni Bern
- 
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
- 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
- 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
- 
-Author: Christian Luginbuehl, 01.05.2003 , Version Alcatraz 0.4
-
-*/
-
-function identify() {
-  return 'Digilib v0.6';
-}
-
-
-var ZOOMFACTOR = Math.sqrt(2);
-
-dlParams = new Object();
-
-function newParameter(name, value, defaultValue, detail) {
-
-  if ( !dlParams[name] ) {
-
-    dlParams[name] = new Object();
-
-    dlParams[name].value        = value;
-    dlParams[name].defaultValue = defaultValue;
-    dlParams[name].detail       = detail;
-
-    return dlParams[name];
-
-  } else {
-
-    alert("Fatal: An object with name '" + name + "' already exists - cannot recreate!");
-    return false;
-
-  }
-}
-
-function getParameter(name) {
-
-  if ( dlParams[name] ) {
-    return dlParams[name].value;
-  } else {
-    return false;
-  }
-}
-
-
-
-function listParametersAsString() {
-
-  var params = new Array();
-
-  for ( param in dlParams ) {
-    params.push(param);
-  }
-
-  return params.join(",");
-
-}
-
-
-function listParameters() {
-
-  var params = new Array();
-
-  for ( param in dlParams ) {
-    params.push(param);
-  }
-
-  return params;
-
-}
-
-
-function init() {
-
-  // give a name to the window containing digilib - this way one can test if there is already a
-  // digilib-window open and replace the contents of it (ex. digicat)
-  top.window.name = "digilib";
-
-  placeMarks();
-
-  if ( document.all ) {
-    this.document.onkeypress = parseKeypress;
-  } else if ( typeof(document.addEventListener) == "function" ) {
-    this.document.addEventListener('keypress', parseKeypress, true);
-  } else {
-    window.captureEvents(Event.KEYDOWN);
-    window.onkeydown = parseKeypress;
-  }
-  
-  focus();
-}
-
-
-function display(detail) {
-
-  var queryString = '';
-
-  for ( param in dlParams ) {
-
-    if ( dlParams[param].defaultValue != dlParams[param].value ) {
-      if ( dlParams[param].detail <= detail ) {
-        queryString += "&" + param + "=" + dlParams[param].value;
-      } else {
-        queryString += "&" + param + "=" + dlParams[param].defaultValue;
-      }
-    }
-
-  }
-
-  // window size
-  var wwidth, wheight;
-  if (self.innerHeight) // all except Explorer
-  {
-      wwidth = self.innerWidth;
-      wheight = self.innerHeight;
-  }
-  else if (document.documentElement && document.documentElement.clientHeight)
-  // Explorer 6 Strict Mode
-  {
-      wwidth = document.documentElement.clientWidth;
-      wheight = document.documentElement.clientHeight;
-  }
-  else if (document.body) // other Explorers
-  {
-      wwidth = document.body.clientWidth;
-      wheight = document.body.clientHeight;
-  }
-  queryString += "&dw=" + (wwidth-30) + "&dh=" + (wheight-30);
-
-  queryString += "&lv=1";
-
-  queryString = queryString.slice(1);
-
-  location.href = location.protocol + "//" + location.host + location.pathname + "?" + queryString;
-
-}
-
-
-// constructor holding different values of a point
-function Point(evt) {
-
-	if ( document.all ) {
-
-    this.pageX = parseInt(document.body.scrollLeft+event.clientX);
-    this.pageY = parseInt(document.body.scrollLeft+event.clientY);
-
-    this.x = this.pageX-parseInt(document.all.lay1.style.left);
-    this.y = this.pageY-parseInt(document.all.lay1.style.top);
-
-    this.relX = cropFloat(parseFloat(dlParams.wx.value)+(dlParams.ww.value*this.x/document.all.lay1.offsetWidth));
-    this.relY = cropFloat(parseFloat(dlParams.wy.value)+(dlParams.wh.value*this.y/document.all.lay1.offsetHeight));
-
-	} else {
-
-    this.pageX = parseInt(evt.pageX);
-    this.pageY = parseInt(evt.pageY);
-
-	  if ( typeof(document.getElementById) == "function" ) {
-
-      this.x = this.pageX-parseInt(document.getElementById("lay1").style.left);
-      this.y = this.pageY-parseInt(document.getElementById("lay1").style.top);
-
-      this.relX = cropFloat(parseFloat(dlParams.wx.value)+(dlParams.ww.value*this.x/document.pic.offsetWidth));
-      this.relY = cropFloat(parseFloat(dlParams.wy.value)+(dlParams.wh.value*this.y/document.pic.offsetHeight));
-
-    } else {
-
-      this.x = this.pageX-document.lay1.left;
-      this.y = this.pageY-document.lay1.top;
-
-      this.relX = cropFloat(parseFloat(dlParams.wx.value)+(dlParams.ww.value*this.x/document.lay1.clip.width));
-      this.relY = cropFloat(parseFloat(dlParams.wy.value)+(dlParams.wh.value*this.y/document.lay1.clip.height));
-
-    }
-
-  }
-
-  return this;
-
-}
-
-
-function page(page, details) {
-
-  if ( details == null ) {
-    details = 1;
-  }
-  
-  if ( page.indexOf('-') == 0 ) {
-    if ( dlParams.pn.value > 1 ) {
-      page = Math.max(parseInt(dlParams.pn.value) - parseInt(page.slice(1)), 1);
-      dlParams.pn.value = page;
-      display(details);
-    } else {
-      alert("You are already on the first page!");
-    }
-
-  } else if ( page.indexOf('+') == 0 ) {
-    page = parseInt(dlParams.pn.value) + parseInt(page.slice(1));
-    dlParams.pn.value = page;
-    display(details);
-  } else if ( page == parseInt(page) ) {
-    dlParams.pn.value = parseInt(page);
-    display(details);
-  }
-
-}
-
-
-function digicat() {
-
-  var url = baseUrl + "/digicat.jsp?" + dlParams.fn.value + "+" + dlParams.pn.value;
-  win = window.open(url, "digicat");
-  win.focus();
-
-}
-
-
-function ref() {
-
-	var hyperlinkRef = baseUrl + "/digilib.jsp?";
-	hyperlinkRef += dlParams.fn.value + "+" + dlParams.pn.value + "+" + dlParams.ws.value + "+";
-	hyperlinkRef += dlParams.mo.value + "+" + dlParams.mk.value;
-	
-	if ( (dlParams.wx.value != 0) || (dlParams.wy.value != 0) || (dlParams.ww.value != 1) || (dlParams.wh.value != 1) ) {
-		hyperlinkRef += "+" + dlParams.wx.value + "+" + dlParams.wy.value + "+" + dlParams.ww.value;
-		hyperlinkRef += "+" + dlParams.wh.value;
-	}
-
-	return hyperlinkRef;
-
-}
-
-
-function ref(select) {
-
-	if ( select == 0 ) {
-		prompt("Link for LaTeX-documents", "\\href{" + ref() + "}{TEXT}");
-	} else if ( select == 1 ) {
-		prompt("Link for HTML-documents", ref());
-	}
-}
-
-
-function mark() {
-
-	if ( dlParams.mk.value.split(";").length > 7 ) {
-		alert("Only 8 marks are possible at the moment!");
-		return;
-	}
-
-	function markEvent(evt) {
-
-    var point = new Point(evt);
-
-		if ( dlParams.mk.value != '' ) {
-			dlParams.mk.value += ';';
-		}
-
-		dlParams.mk.value += point.relX + '/' + point.relY;
-
-    // stopping event capture
-  	if ( document.all ) {
-  	  document.all.lay1.onmousedown = null;
-  	} else if ( typeof(document.removeEventListener) == "function" ) {
-      document.getElementById("lay1").removeEventListener("mousedown", markEvent, true);
-    } else {
-      document.lay1.releaseEvents(Event.MOUSEDOWN);
-    }
-
-    placeMarks();
-
-	}
-
-  // starting event capture
-	if ( document.all ) {
-	  document.all.lay1.onmousedown = markEvent;
-	} else if ( typeof(document.addEventListener) == "function" ) {
-    document.getElementById("lay1").addEventListener("mousedown", markEvent, true);
-  } else {
-    document.lay1.captureEvents(Event.MOUSEDOWN);
-    document.lay1.onmousedown = markEvent;
-  }
-}
-
-
-function placeMarks() {
-
-	if ( dlParams.mk.value != '' ) {
-
-		var mark = dlParams.mk.value.split(";");
-		var mark_count = mark.length;
-
-		// maximum of marks is 8
-		// we do not report this error because this is already done in function 'mark'
-		if ( mark_count > 8 ) mark_count = 8;
-
-		var picWidth  = (document.all) ? parseInt(document.all.lay1.offsetWidth) : (typeof(document.getElementById) == "function") ? parseInt(document.pic.offsetWidth) : parseInt(document.pic.clip.width);
-		var picHeight = (document.all) ? parseInt(document.all.lay1.offsetHeight) : (typeof(document.getElementById) == "function") ? parseInt(document.pic.offsetHeight) : parseInt(document.pic.clip.height);
-
-		// catch the cases where the picture had not been loaded already and
-		// make a timeout so that the coordinates are calculated with the real dimensions
-		if ( (document.pic.complete) || (picWidth > 30) ) {
-
-  		var xOffset = (document.all) ? parseInt(document.all.lay1.style.left) : (typeof(document.getElementById) == "function") ? parseInt(document.getElementById('lay1').style.left) : document.lay1.left;
-  		var yOffset = (document.all) ? parseInt(document.all.lay1.style.top) : (typeof(document.getElementById) == "function") ? parseInt(document.getElementById('lay1').style.top) : document.lay1.top;
-
-			for (var i = 0; i < mark_count; i++) {
-				mark[i] = mark[i].split("/");
-
-				if ( (mark[i][0] >= dlParams.wx.value) && (mark[i][1] >= dlParams.wy.value) && (mark[i][0] <= (parseFloat(dlParams.wx.value) + parseFloat(dlParams.ww.value))) && (mark[i][1] <= (parseFloat(dlParams.wy.value) + parseFloat(dlParams.wh.value))) ) {
-
-					mark[i][0] = parseInt(xOffset + picWidth * (mark[i][0] - dlParams.wx.value)/dlParams.ww.value);
-					mark[i][1] = parseInt(yOffset + picHeight * (mark[i][1] - dlParams.wy.value)/dlParams.wh.value);
-
-					if ( (document.all) || (typeof(document.getElementById) == "function") ) {
-            // suboptimal to place -5 pixels and not half size of mark-image
-            // should be changed in the future
-            document.getElementById("dot" + i).style.left = mark[i][0]-5;
-            document.getElementById("dot" + i).style.top = mark[i][1]-5;
-            document.getElementById("dot" + i).style.visibility = "visible";
-          } else {
-     				document.layers[i+1].moveTo(mark[i][0]-5, mark[i][1]-5);
-    				document.layers[i+1].visibility = "show";
-          }
-				}
-			}
-
-		} else {
-			setTimeout("placeMarks()", 100);
-		}
-	}
-}
-
-
-function zoomPoint() {
-
-  function zoomPointEvent(evt) {
-
-    var point = new Point(evt);
-
-		dlParams.wx.value = cropFloat(point.relX-0.5*dlParams.ww.value*(1/ZOOMFACTOR));
-		dlParams.wy.value = cropFloat(point.relY-0.5*dlParams.wh.value*(1/ZOOMFACTOR));
-
-		dlParams.ww.value = cropFloat(dlParams.ww.value*(1/ZOOMFACTOR));
-		dlParams.wh.value = cropFloat(dlParams.wh.value*(1/ZOOMFACTOR));
-
-		if ( dlParams.wx.value < 0 ) {
-			dlParams.wx.value = 0;
-		}
-		if ( dlParams.wy.value < 0 ) {
-			dlParams.wy.value = 0;
-		}
-		if ( dlParams.wx.value + dlParams.ww.value > 1 ) {
-			dlParams.wx.value = 1 - dlParams.ww.value;
-		}
-		if ( dlParams.wy.value + dlParams.wh.value > 1 ) {
-			dlParams.wy.value = 1 - dlParams.wh.value;
-		}
-
-    // stopping event capture
-  	if ( document.all ) {
-  	  document.all.lay1.onmousedown = null;
-  	} else if ( typeof(document.removeEventListener) == "function" ) {
-      document.getElementById("lay1").removeEventListener("mousedown", zoomPointEvent, true);
-    } else {
-      document.lay1.releaseEvents(Event.MOUSEDOWN);
-    }
-		
-		display(3);
-	}
-
-  // starting event capture
-	if ( document.all ) {
-	  document.all.lay1.onmousedown = zoomPointEvent;
-	} else if ( typeof(document.addEventListener) == "function" ) {
-    document.getElementById("lay1").addEventListener("mousedown", zoomPointEvent, true);
-  } else {
-    document.lay1.captureEvents(Event.MOUSEDOWN);
-    document.lay1.onmousedown = zoomPointEvent;
-  }
-}
-
-
-function zoomArea() {
-	var state = 0;
-	var pt1, pt2;
-
-	function click(evt) {
-
-		if (state == 0) {
-			state = 1;
-			
-			pt1 = new Point(evt);
-			pt2 = pt1;
-			
-    	if ( document.all ) {
-
-        document.all.eck1.style.left = pt1.pageX;
-        document.all.eck1.style.top = pt1.pageY;
-        document.all.eck2.style.left = pt2.pageX-12;
-        document.all.eck2.style.top = pt1.pageY;
-        document.all.eck3.style.left = pt1.pageX;
-        document.all.eck3.style.top = pt2.pageY-12;
-        document.all.eck4.style.left = pt2.pageX-12;
-        document.all.eck4.style.top = pt2.pageY-12;
-
-        document.all.eck1.style.visibility="visible";
-        document.all.eck2.style.visibility="visible";
-        document.all.eck3.style.visibility="visible";
-        document.all.eck4.style.visibility="visible";
-
-    	  document.all.lay1.onmousemove = move;
-    	  document.all.eck4.onmousemove = move;
-
-    	} else if ( typeof(document.addEventListener) == "function" ) {
-
-        document.getElementById("eck1").style.left = pt1.pageX;
-        document.getElementById("eck1").style.top = pt1.pageY;
-        document.getElementById("eck2").style.left = pt2.pageX-12;
-        document.getElementById("eck2").style.top = pt1.pageY;
-        document.getElementById("eck3").style.left = pt1.pageX;
-        document.getElementById("eck3").style.top = pt2.pageY-12;
-        document.getElementById("eck4").style.left = pt2.pageX-12;
-        document.getElementById("eck4").style.top = pt2.pageY-12;
-
-        document.getElementById("eck1").style.visibility="visible";
-        document.getElementById("eck2").style.visibility="visible";
-        document.getElementById("eck3").style.visibility="visible";
-        document.getElementById("eck4").style.visibility="visible";
-
-        document.getElementById("lay1").addEventListener("mousemove", move, true);
-        document.getElementById("eck4").addEventListener("mousemove", move, true);
-
-      } else {
-
-        document.eck1.moveTo(pt1.pageX, pt1.pageY);
-        document.eck2.moveTo(pt2.pageX-12, pt1.pageY);
-        document.eck3.moveTo(pt1.pageX, pt2.pageY-12);
-        document.eck4.moveTo(pt2.pageX-12, pt2.pageY-12);
-
-        document.eck1.visibility="show";
-        document.eck2.visibility="show";
-        document.eck3.visibility="show";
-        document.eck4.visibility="show";
-
-        document.lay1.captureEvents(Event.MOUSEMOVE);
-        document.eck4.captureEvents(Event.MOUSEMOVE);
-        document.lay1.onmousemove = move;
-        document.eck4.onmousemove = move;
-
-      }
-
-    } else {
-
-      pt2 = new Point(evt);
-			
-      if ( document.all ) {
-
-        document.all.eck1.visibility="hidden";
-        document.all.eck2.visibility="hidden";
-        document.all.eck3.visibility="hidden";
-        document.all.eck4.visibility="hidden";
-
-        document.all.lay1.onmousedown = null;
-        document.all.eck4.onmousedown = null;
-        document.all.lay1.onmousemove = null;
-        document.all.eck4.onmousemove = null;
-
-      } else if ( typeof(document.removeEventListener) == "function" ) {
-
-        document.getElementById("eck1").style.visibility="hidden";
-        document.getElementById("eck2").style.visibility="hidden";
-        document.getElementById("eck3").style.visibility="hidden";
-        document.getElementById("eck4").style.visibility="hidden";
-
-        document.getElementById("lay1").removeEventListener("mousedown", click, true);
-        document.getElementById("eck4").removeEventListener("mousedown", click, true);
-        document.getElementById("lay1").removeEventListener("mousemove", move, true);
-        document.getElementById("eck4").removeEventListener("mousemove", move, true);
-
-      } else {
-
-        document.eck1.visibility="hide";
-        document.eck2.visibility="hide";
-        document.eck3.visibility="hide";
-        document.eck4.visibility="hide";
-
-        document.lay1.releaseEvents(Event.MOUSEDOWN);
-        document.eck4.releaseEvents(Event.MOUSEDOWN);
-        document.lay1.releaseEvents(Event.MOUSEMOVE);
-        document.eck4.releaseEvents(Event.MOUSEMOVE);
-
-      }
-
-      dlParams.wx.value = cropFloat(parseFloat(Math.min(pt1.relX, pt2.relX)));
-      dlParams.wy.value = cropFloat(parseFloat(Math.min(pt1.relY, pt2.relY)));
-
-      dlParams.ww.value = cropFloat(parseFloat(Math.abs(pt1.relX-pt2.relX)));
-      dlParams.wh.value = cropFloat(parseFloat(Math.abs(pt1.relY-pt2.relY)));
-
-      if ( (dlParams.ww.value != 0) && (dlParams.wh.value != 0) ) {
-        display(3);
-      }
-    }
-  }
-
-  function move(evt) {
-
-    pt2 = new Point(evt);
-
-    var eck1_left = ((pt1.pageX < pt2.pageX) ? pt1.pageX : pt2.pageX);
-    var eck1_top  = ((pt1.pageY < pt2.pageY) ? pt1.pageY : pt2.pageY);
-    var eck2_left = ((pt1.pageX < pt2.pageX) ? pt2.pageX : pt1.pageX)-12;;
-    var eck2_top  = ((pt1.pageY < pt2.pageY) ? pt1.pageY : pt2.pageY);
-    var eck3_left = ((pt1.pageX < pt2.pageX) ? pt1.pageX : pt2.pageX);
-    var eck3_top  = ((pt1.pageY < pt2.pageY) ? pt2.pageY : pt1.pageY)-12;
-    var eck4_left = ((pt1.pageX < pt2.pageX) ? pt2.pageX : pt1.pageX)-12;
-    var eck4_top  = ((pt1.pageY < pt2.pageY) ? pt2.pageY : pt1.pageY)-12;
-
-    if ( document.all ) {
-      
-      document.all.eck1.style.left = eck1_left;
-      document.all.eck1.style.top  = eck1_top;
-      document.all.eck2.style.left = eck2_left;
-      document.all.eck2.style.top  = eck2_top;
-      document.all.eck3.style.left = eck3_left;
-      document.all.eck3.style.top  = eck3_top;
-      document.all.eck4.style.left = eck4_left;
-      document.all.eck4.style.top  = eck4_top;
-
-    } else if ( typeof(document.getElementById) == "function" ) {
-
-      document.getElementById("eck1").style.left = eck1_left;
-      document.getElementById("eck1").style.top  = eck1_top;
-      document.getElementById("eck2").style.left = eck2_left;
-      document.getElementById("eck2").style.top  = eck2_top;
-      document.getElementById("eck3").style.left = eck3_left;
-      document.getElementById("eck3").style.top  = eck3_top;
-      document.getElementById("eck4").style.left = eck4_left;
-      document.getElementById("eck4").style.top  = eck4_top;
-
-    } else {
-
-      document.eck1.moveTo(eck1_left, eck1_top);
-      document.eck2.moveTo(eck2_left, eck2_top);
-      document.eck3.moveTo(eck3_left, eck3_top);
-      document.eck4.moveTo(eck4_left, eck4_top);
-
-    }
-  }
-
-  // starting event capture
-  if ( document.all ) {
-    document.all.lay1.onmousedown = click;
-    document.all.eck4.onmousedown = click;
-  } else if ( typeof(document.addEventListener) == "function" ) {
-      document.getElementById("lay1").addEventListener("mousedown", click, true);
-      document.getElementById("eck4").addEventListener("mousedown", click, true);
-  } else {
-    document.lay1.captureEvents(Event.MOUSEDOWN);
-    document.eck4.captureEvents(Event.MOUSEDOWN);
-    document.lay1.onmousedown = click;
-    document.eck4.onmousedown = click;
-  }
-}
-
-
-function zoomExtends() {
-
-  dlParams.wx.value = 0.0;
-  dlParams.wy.value = 0.0;
-  
-  dlParams.ww.value = 1.0;
-  dlParams.wh.value = 1.0;
-
-  display(3);
-
-}
-
-
-function zoomOut() {
-
-  dlParams.wx.value = cropFloat(dlParams.wx.value-0.5*(dlParams.ww.value*(ZOOMFACTOR)-dlParams.ww.value));
-  dlParams.wy.value = cropFloat(dlParams.wy.value-0.5*(dlParams.wh.value*(ZOOMFACTOR)-dlParams.wh.value));
-
-  dlParams.ww.value = cropFloat(dlParams.ww.value*(ZOOMFACTOR));
-  dlParams.wh.value = cropFloat(dlParams.wh.value*(ZOOMFACTOR));
-
-	if ( dlParams.wx.value < 0 ) {
-		dlParams.wx.value = 0;
-	}
-	if ( dlParams.wy.value < 0 ) {
-		dlParams.wy.value = 0;
-	}
-  if ( dlParams.ww.value > 1 ) {
-    dlParams.ww.value = 1;
-  }
-  if ( dlParams.wh.value > 1 ) {
-    dlParams.wh.value = 1;
-  }
-	if ( dlParams.wx.value + dlParams.ww.value > 1 ) {
-		dlParams.wx.value = 1 - dlParams.ww.value;
-	}
-	if ( dlParams.wy.value + dlParams.wh.value > 1 ) {
-		dlParams.wy.value = 1 - dlParams.wh.value;
-	}
-
-	display(3);
-}
-
-
-function moveTo() {
-
-	if ( (parseFloat(dlParams.ww.value) == 1.0) && (parseFloat(dlParams.wh.value) == 1.0) ) {
-		alert("This function is only available when zoomed in!");
-		return;
-	}
-
-  function moveToEvent(event) {
-
-    var point = new Point(event);
-
-		dlParams.wx.value = cropFloat(point.relX-0.5*dlParams.ww.value);
-		dlParams.wy.value = cropFloat(point.relY-0.5*dlParams.wh.value);
-
-		if ( dlParams.wx.value < 0 ) {
-			dlParams.wx.value = 0;
-		}
-		if ( dlParams.wy.value < 0 ) {
-			dlParams.wy.value = 0;
-		}
-		if ( dlParams.wx.value + dlParams.ww.value > 1 ) {
-			dlParams.wx.value = 1 - dlParams.ww.value;
-		}
-		if ( dlParams.wy.value + dlParams.wh.value > 1 ) {
-			dlParams.wy.value = 1 - dlParams.wh.value;
-		}
-
-    // stopping event capture
-  	if ( document.all ) {
-  	  document.all.lay1.onmousedown = null;
-  	} else if ( typeof(document.removeEventListener) == "function" ) {
-      document.getElementById("lay1").removeEventListener("mousedown", moveToEvent, true);
-    } else {
-      document.lay1.releaseEvents(Event.MOUSEDOWN)
-    }
-		
-		display(3);
-	}
-
-  // starting event capture
-	if ( document.all ) {
-	  document.all.lay1.onmousedown = moveToEvent;
-	} else if ( typeof(document.addEventListener) == "function" ) {
-    document.getElementById("lay1").addEventListener("mousedown", moveToEvent, true);
-  } else {
-    document.lay1.captureEvents(Event.MOUSEDOWN);
-    document.lay1.onmousedown = moveToEvent;
-  }
-}
-
-
-function scale(factor) {
-
-  dlParams.ws.value = cropFloat(factor);
-  display(3);
-
-}
-
-
-// capturing keypresses for next and previous page
-function parseKeypress(evt) {
-
-  if ( document.all ) {
-
-  	if ( event.keyCode == 110 ) {
-		  page('+1');
-  	}
-  	if ( event.keyCode == 98 ) {
-		  page('-1');
-  	}
-
-  	document.cancleBubble = true;
-
-  } else {
-
-  	if ( evt.charCode == 110 ) {
-		  page('+1');
-	  } else if ( evt.charCode == 98 ) {
-		  page('-1');
-	  } else if ( evt.which == 110 ) {
-		  page('+1');
-  	} else if ( evt.which == 98 ) {
-    	// does not work currentlyfor Opera, because it catches the 'b'-key on it's own
-    	// have to change the key or find another way - luginbuehl
-		  page('-1');
-  	}
-
-  }
-}
-
-
-// auxiliary function to crop senseless precicsion
-function cropFloat(tmp) {
-  return parseInt(10000*tmp)/10000;
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/digitallibrary/oldskin/pageWin.html	Thu Oct 28 22:25:59 2004 +0200
@@ -0,0 +1,21 @@
+<html>
+<head>
+<script type="text/javascript">
+var pn = "-";
+var pt = "-";
+if ((parent.mainFrame.getParameter)&&(parent.mainFrame.getParameter("pn"))) {
+    pt = parent.mainFrame.getParameter("pt");
+    pn = parent.mainFrame.getParameter("pn");
+}
+
+function show() {
+  location.reload();
+}
+</script>
+</head>
+<body bgcolor="#CCCCCC" topmargin="5" marginheight="5">
+<p style="font-family: Verdana, Arial, Helvetica, sans-serif; text-align: center; color: #CC3333; font-size: 11px">
+    <script type="text/javascript">document.write(pn+'<b> of </b>'+pt);</script>
+</p>
+</body>
+</html>
Binary file client/digitallibrary/olinks.gif has changed
Binary file client/digitallibrary/orechts.gif has changed
Binary file client/digitallibrary/ulinks.gif has changed
Binary file client/digitallibrary/urechts.gif has changed