taxon1="001Xenophyophorea";
taxon2="003Porifera";
taxon3="023Gorgonaria";
taxon4="026Zoantharia";
taxon5="027Pennatularia";
taxon6="031Actiniaria";
taxon7="040Ceriantharia";
taxon8="041Antipatharia";
taxon9="043Siphonophora";
taxon10="044Scyphozoa";
taxon11="051Hydrozoa";
taxon12="049Acnidaria";
taxon13="052Lophenteropneusta";
taxon14="053Echinoidea";
taxon15="056Crinoidea";
taxon16="060Ophiuroidea";
taxon17="063Asteroidea";
taxon18="067Holothuroidea";
taxon19="094Tunicata";
taxon20="096Osteichthyes";
taxon21="107Gastropoda";
taxon22="109Cephalopoda";
taxon23="112Polychaeta";
taxon24="116Echiura";
taxon25="118Crustacea";
taxon26="127Bryozoa" ;
taxon27="128Indet.";
taxon28="132Traces";
taxon29="999End";

TEXT1="<B> Xenophyophorea. </B>Upper left: taxonomic status unknown. Upper center: <I>Reticulammina</I> sp. TENDAL (?<I>setosum</I>, fam. Psamminidae). Lower left: ?<I>Psammetta</I> sp. SCHULZE (fam. Psammettidae). Upper right and lower right: <I>Stannophyllum</I> sp. HAECKEL (fam. Stannomidae)."
TEXT2="<B> Xenophyophorea</B>. Upper right: <I>Psammina</I> sp. HAECKEL (fam. Stannomidae). Upper left and bottom: another species of <I>Psammina</I> sp. HAECKEL (fam. Stannomidae)."
TEXT3="<B> Porifera. </B>Mass like sponges (top) of unknown taxonomic status. Center: hexactinellid sponge (?<I>Cauliphacus</I> sp.). Bottom: specimen may also belong to another taxon."
TEXT4="<B> Porifera. </B>Upright flattened hexactinellid sponge (fam. ?Farreidae)."
TEXT5="<B> Porifera </B>of unknown taxonomic status. Left: upright flattened hexactinellid sponge, compare Fig. 3 - but with stalk. Right: Indet.."
TEXT6="<B> Porifera. </B>Top: flat, triangular shaped hexactinellid sponge. Taxonomic status unknown. Bottom: cup-shaped hexactinellid sponges of the fam. ?Roellidae."
TEXT7="<br>"
TEXT8="<B> Porifera. </B>Cup- to funnel-shaped sponge. Left: fam. ?Roellidae. Right: taxonomic status unknown."
TEXT9="<B> Porifera. </B>Tube- to funnel-shaped sponge. Upper left: <I>Euplectella</I> sp. OWEN (fam. Euplectellidae). Other specimens: taxonomic status unknown."
TEXT10="<B> Porifera. </B>Tube-shaped sponge. Taxonomic status unknown. Often, isopods can be seen resting on these species."
TEXT11="<B> Porifera. </B>Left: ?<I>Hyalonema</I> sp.. Lower center: juvenile? Upper center: tube-shaped sponge. Right: Stalked, cup-shaped specimen."
TEXT12="<br>"
TEXT13="<B> Porifera. </B>Upper left: ?<I>Esperiopsis</I> sp. CARTER (fam. Esperiopsidae). Upper right: specimen with stalk and <I>Hyalonema</I> sp. GRAY. Lower left: <I>Hyalonema</I> sp. GRAY (fam. Hyalonematidae), with Zoantharia on the stalk. Lower right: <I>Hyalonema</I> sp. GRAY stalk covered with epifauna (Ophiuroidea, ?Gorgonaria, <I>Scalpellum</I> sp.)."
TEXT14="<br>"
TEXT15="<B> Porifera. </B>Hexactinellid species of the genus <I>Hyalonema</I> GRAY (fam. Hyalonematidae)."
TEXT16="<B> Porifera. </B>Hexactinellid species of the genus <I>Hyalonema</I> GRAY (fam. Hyalonematidae). Left: with epifauna (?Amphipoda) on the stalk."
TEXT17="<B> Porifera. </B>Hexactinellid species of the genus <I>Hyalonema</I> GRAY (fam. Hyalonematidae)."
TEXT18="<B> Porifera </B>of unknown taxonomic status. Top: cauliflower shape. Lower right: ?juvenile specimen."
TEXT19="<B> Porifera. </B>Top: large, ball-shaped specimens. Taxonomic status unknown. Bottom: Porifera of unknown taxonomic status. Bottom left: stalked, disc-shaped sponge or ?Anthozoa. Bottom right: ball-shaped sponge."
TEXT20="<br>"
TEXT21="<B> Porifera</B> of unknown taxonomic status. Upper left: with galatheid crab. Upper right: 'blanket' with numerous stalks underneath. Bottom: Leaf shaped sponges."
TEXT22="<br>"
TEXT23="<B> Gorgonaria </B>of unknown taxonomic status. Right: with starfish (<I>Freyella</I> sp. PERRIER, Asteroidea) and two barnacles (<I>Scalpellum</I> sp., fam. Balanidae)."
TEXT24="<B> Gorgonaria </B>of unknown taxonomic status. Upper right: with resting sea cucumber (<I>Benthodytes sanguinolenta</I> THÉEL, Holothuroidea). Lower right: with ascidian <I>Culeolus</I> sp.."
TEXT25="<B> Gorgonaria </B>of unknown taxonomic status. Left and center: branched. Right: whip shape."
TEXT26="<B> Zoantharia. </B>Taxonomic status unknown."
TEXT27="<B> Pennatularia. </B>Top: 'Three armed sea pen', compare Fig. 9c (Pawson &amp; Foell 1983). Bottom: <I>Umbellula</I> sp. CUVIER (fam. Umbellulidae)."
TEXT28="<br>"
TEXT29="<B> Pennatularia. </B>Left and center: unknown taxonomic status. Right: ?<I>Kophobelemnon</I> sp. ASB. (fam. Kophobelemnidae)."
TEXT30="<br>"
TEXT31="<B> Actiniaria. </B>Large white anemone (?<I>Ophiodiscus</I> sp.)."
TEXT32="<B> Actiniaria. </B>Large white anemone with two rows of tentacles. Taxonomic status unknown."
TEXT33="<B> Actiniaria. </B>Small white specimens with tentacles oriented crownlike in up and down directions (?<I>Sicyonis</I> sp. (?<I>biotrans</I>))."
TEXT34="<B> Actiniaria. </B>Small white anemones (<I>Stephanauge</I>/<I>Amphianthus</I> sp.)."
TEXT35="<B> Actiniaria.</B> Transparent small anemone (?fam. Hormathiidae)."
TEXT36="<B> Actiniaria. </B><I>?Corallimorphus</I> sp. (fam. Corallimorpharia)."
TEXT37="<B> Actiniaria </B>of unknown taxonomic status. Upper left: species comparable to Fig. 8c-e (Pawson &amp; Foell 1983). Upper right: 'up-and-down' tentacled species (Fig. 7b, Pawson &amp; Foell 1983). Bottom: ?new species."
TEXT38="<B> Actiniaria. </B>Drifting species. Upper left: ?<I>Sicyonis</I> sp.."
TEXT39="<B> Actiniaria </B>of unknown taxonomic status. Specimen sitting on a stalk (?<I>Actinermis</I> sp.)."
TEXT40="<B> Ceriantharia. </B>Unknown taxonomic status. Upper left and bottom: purple-to-black-colored species. Upper right: Grey-to-black-colored species."
TEXT41="<B> Antipatharia. </B>Sessile specimens of <I>Bathypathes lyra</I> BROOK (fam. Schizopathidae) on manganese nodules."
TEXT42="<B> Antipatharia </B>of the fam. Schizopathidae. Top and bottom left: <I>Bathypates patula</I> BROOK. Bottom right: ?<I>Bathypathes</I> sp.."
TEXT43="<B> Siphonophora. </B>Swimming specimen of the fam. Physonectae touched by the photo-/videosystem."
TEXT44="<B> Scyphozoa. </B>Taxonomic status unknown (<I>?Atolla</I> sp.)."
TEXT45="<B> Scyphozoa. </B>Taxonomic status unknown (?<I>Aurelia</I> sp.). Scyphomedusa resting upside down on the sea floor."
TEXT46="<B> Scyphozoa. </B>Dark colored scyphomedusa. Top: resting on the sea floor. Bottom: swimming specimen."
TEXT47="<B> Scyphzoa. </B>Orange colored scyphomedusa. Taxonomic status unknown."
TEXT48="<B> Scyphozoa. </B><I>Periphylla</I> sp. (fam. Periphyllidae)."
TEXT49="<B> Scyphozoa </B>of unknown taxonomic status. Lower right: coronate medusa."
TEXT50="<B> Ctenophora. </B>Taxonomic status unknown."
TEXT51="<B> Hydrozoa. </B><I>Branchiocerianthus</I> sp. ALLMAN (fam. Branchiocerianthidae)."
TEXT52="<B> Enteropneusta. </B>Lophenteropneusts. Specimens with fecal spirals and loops."
TEXT53="<B> Echinoidea. </B>White colored regularian sea urchin."
TEXT54="<B> Echinoidea. </B>Regularian sea urchins. Left: ?<I>Plesiodiana</I> sp. (fam. Plesiodiademae). Right: <I>Plesiodiadema</I> <I>globulosum</I> AGASSIZ (fam. Diadematidae)."
TEXT55=" <b>Echinoidea.</b> Irregularian sea urchins.  Top: both photographs are showing the same individual. Lower right: second species."
TEXT56=" <b>Crinoidea.</b> Comatulid specimens of unknown taxonomic status, sitting on manganese nodules (upper left), sediment (upper right), and stalks (center and bottom)."
TEXT57=" <b>Crinoidea.</b> Stalked five-armed crinoids attached to hard substrate (fam. Hyocrinidae, probably <I>Ptilocrinus</I> sp.)."
TEXT58=" <b>Crinoidea.</b> Stalked ten-armed crinoids attached to hard substrate (fam. Bathycrinidae, genus <I>Bathycrinus</I>, <I>Monachocrinus</I> or <I>Naumachocrinus</I>)."
TEXT59=" <b>Crinoidea.</b> Stalked ten-armed, black colored crinoids attached to hard substrate (?<I>Bathycrinus</I> <I>aff</I>. <I>australis</I>, fam. Bathycrinidae)."
TEXT60=" <b>Ophiuroidea.</b>  Orange colored body, arms light colored tipped. Walking on the sea floor and attached to stalks."
TEXT61=" <b>Ophiuroidea.</b> Brittle star with blue-grey colored body disc."
TEXT62=" <b>Ophiuroidea.</b> Light colored brittle star. Bottom left: buried."
TEXT63=" <b>Asteroidea.</b> <I>Hymenaster</I> sp. THOMSON (fam. Pterasteridae). Upper right: with hermit crab."
TEXT64=" <b>Asteroidea.</b> Top: ?<I>Styrocaster</I> sp. (fam. Porcellanasteridae).  Bottom: taxonomic status unknown (fam. Porcellanasteridae)."
TEXT65=" <b>Asteroidea of unknown taxonomic status.</b> Top: five-armed species. Bottom: eight-armed star fish."
TEXT66=" <b>Asteroidea.</b> <I>Freyella</I> sp. PERRIER (fam. Freyellidae). Top: attached to a stalk. Bottom: resting on the sea floor."
TEXT67=" <b>Holothurioidea.</b> <I>Peniagone diaphana</I> THÉEL (fam. Elpidiidae). Top: resting on the sea floor. Bottom: swimming specimens."
TEXT68=" <b>Holothurioidea.</b> <I>Peniagone</I> sp. THÉEL (fam. Elpidiidae;<I> Peniagone</I> type 1 in Bluhm &amp; Gebruk (1999)) with two short and two long dorsal appendages; common in the DEA. "
TEXT69=" <b>Holothurioidea.</b> <I>Peniagone</I> sp. THÉEL (fam. Elpidiidae, <I>Peniagone</I> type 3 in Bluhm &amp; Gebruk (1999)). Both photographs are showing the same swimming specimen touched by the photo-/videosystem (no natural swimming position!). "
TEXT70=" <b>Holothurioidea.</b> <I>Peniagone</I> <I>elongata</I> (fam. Elpidiidae)."
TEXT71=" <b>Holothurioidea.</b> Fam. Elpidiidae. Top: ?<I>Scotoplanes</I> sp.. Bottom: <I>Peniagone</I> sp. (<I>Peniagone</I> type 2 in Bluhm &amp; Gebruk (in prep.))."
TEXT72=" <b>Holothurioidea of the fam. Elpidiidae.</b> Top: <I>Amperima</I> sp. PAWSON or <I>Peniagone</I> sp. THÉEL. Bottom: Elpidiidae Gen. sp.(Bluhm &amp; Gebruk (1999); ?<I>Achlyonice</I> sp.)."
TEXT73=" <b>Holothurioidea.</b> Top: <I>Deima validum</I> THÉEL (fam. Deimatidae); Bottom: <I>Oneirophanta mutabilis</I> THÉEL (fam. Deimatidae)."
TEXT74=" <b>Holothurioidea.</b> <I>Benthodytes typica</I> THÉEL (fam. Psychropotidae)."
TEXT75=" <b>Holothuriodea.</b> <I>Benthodytes sanguinolenta</I> THÉEL (fam. Psychropotidae). Swimming specimens."
TEXT76=" <b>Holothurioidea.</b> <I>Benthodytes sanguinolenta</I> THÉEL (fam. Psychropotidae). Top: specimens starting to swim. Bottom: Resting on the sea floor."
TEXT77=" <b>Holothurioidea.</b> "
TEXT78=" <b>Holothurioidea.</b> <I>Benthodytes </I>sp. THÉEL (fam. Psychropotidae; <I>Benthodytes</I> type 1 in Bluhm &amp; Gebruk (1999))."
TEXT79=" <b>Holothurioidea.</b> Top: <I>Benthodytes </I>sp. THÉEL (fam. Psychropotidae; <I>Benthodytes</I> type 2 in Bluhm &amp; Gebruk (1999)). Bottom: <I>Benthodytes </I>sp. THÉEL (fam. Psychropotidae; <I>Benthodytes</I> type 3 in Bluhm &amp; Gebruk (1999))."
TEXT80=" <b>Holothurioidea.</b> <I>Psychropotes longicauda</I> THÉEL (fam. Psychropotidae)."
TEXT81=" <b>Holothurioidea.</b> <I>Psychropotes longicauda</I> THÉEL (fam. Psychropotidae). Top: Dorsal appendage lost? Bottom: juvenile specimen."
TEXT82=" <b>Holothurioidea.</b> <I>Psychropotes verrucosa </I>LUDWIG (fam. Psychropotidae)."
TEXT83=" <b>Holothurioidea.</b> Fam. Psychropotidae (Psychropotidae Gen. Sp. 1 in Bluhm &amp; Gebruk (1999))."
TEXT84=" <b>Holothurioidea.</b> Fam. Psychropotidae (Psychropotidae Gen. Sp. 2 in Bluhm &amp; Gebruk (1999))."
TEXT85=" <b>Holothurioidea.</b> <I>Psychronaetes hanseni </I>PAWSON (fam. Laetmogonidae)."
TEXT86=" <b>Holothurioidea.</b> Elasipod sea cucumber. <I>Enypniastes eximia</I> THÉEL (fam. Pelagothuridae). Top: swimming specimen. Bottom: resting individual."
TEXT87=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Synallactes</I> sp.<I> </I>LUDWIG (fam. Synallactidae; Synallactidae Gen . sp. in Bluhm &amp; Gebruk (1999))."
TEXT88=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Synallactes</I> sp.<I> </I>LUDWIG (fam. Synallactidae; <I>Synallactes</I> type 1 in Bluhm &amp; Gebruk (1999)). "
TEXT89=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Synallactes</I> sp.<I> </I>LUDWIG (fam. Synallactidae; <I>Synallactes</I> type 2 in Bluhm &amp; Gebruk (1999)). "
TEXT90=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Synallactes</I> sp.<I> </I>LUDWIG (fam. Synallactidae; <I>Synallactes</I> type 2 in Bluhm &amp; Gebruk (1999)). "
TEXT91=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. Taxonomic status unknown. Top: long slender sea cucumber with hermit crab. Bottom: ?<I>Synallactes</I> sp.<I> </I>LUDWIG (fam. Synallactidae; ?<I>Synallactes</I> type 1 in Bluhm &amp; Gebruk (1999)). "
TEXT92=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Mesothuria murrayi</I> LUDWIG (fam. Synallactidae, compare Pawson &amp; Foell 1983). Upper left: specimen near ophiuroid buried under a protozoan (Xenophyophorea)."
TEXT93=" <b>Holothurioidea.</b> Aspidochirote sea cucumbers. <I>Meseres</I> sp. LUDWIG (fam. Synallactidae, <I>Meseres</I> ?<I>macdonaldi</I> ref. Pawson &amp; Foell 1983). Bottom: specimen with trail."
TEXT94=" <b>Tunicata.</b> Stalked solitary ascidians. Upper left: mushroom shaped. Upper right: ball shaped. Bottom: elongated body."
TEXT95=" <b>Tunicata.</b> Solitary ascidians. Top: <I>Culeolus</I> sp.. Bottom: unstalked specimen."
TEXT96=" <b>Osteichthyes.</b> <I>Coryphaenoides armatus</I> HECTOR (fam. Macrouridae). Swimming specimens. "
TEXT97=" <b>Osteichthyes.</b> <I>Bathysaurus mollis</I> GÜNTHER (fam. Synodontidae). Resting specimens."
TEXT98=" <b>Osteichthyes.</b> <I>Ipnops </I>sp.  GILL (fam. Ipnopidae). Swimming (bottom) and resting (top) specimens."
TEXT99=" <b>Osteichthyes.</b> Fam. Ophidiidae. Swimming specimens."
TEXT100=" <b>Osteichthyes.</b> Fam. Ophidiidae. Swimming specimens. Top: two photographs of the same individual, swimming."
TEXT101=" <b>Osteichthyes.</b> <I>Halosaurus</I> sp. (fam. Halosauridae)."
TEXT102=" <b>Osteichthyes.</b> ?<I>Synaphobranchus</I> sp. (fam. Synaphobranchidae)"
TEXT103=" <b>Osteichthyes.</b> Taxonomic status unknown. Small fishes, up to approx. 30cm body length."
TEXT104=" <b>Osteichthyes.</b> Light colored head with dark colored body and broad fins (?fam. Zoarcidae). Swimming specimens."
TEXT105=" <b>Osteichthyes.</b> Dark colored head with light colored body. Swimming specimens."
TEXT106=" <b>Osteichthyes.</b> Dark colored small fish."
TEXT107=" <b>Gastropoda.</b> Snail (?fam. Buccinidae) crawling on the sea floor."
TEXT108=" <b>Gastropoda.</b> Ophistobranchs. Top: light colored animal with dark colored appendages. Bottom: compare Fig. 14b-c in Pawson &amp; Foll 1983. "
TEXT109=" <b>Cephalopoda.</b> Incirrate octopus. Bottom: feeding the epifauna on a stalk."
TEXT110=" <b>Cephalopoda.</b> Cirrate octopus resting on the sea floor."
TEXT111=" <b>Cephalopoda.</b> Shell of <I>Argonauta</I> sp. LINNÉ. Note: in the CCFZ only <I>Nautilus</I> shells were found."
TEXT112=" <b>Polychaeta.</b> Small errant polychaetes of unknown taxonomic status. Top: swimming specimens. Bottom left: resting specimen with appendages at one end. Bottom right: resting individual without distinct appendages."
TEXT113=" <b>Polychaeta.</b> Large errant polychaetes of unknown taxonomic status. Without appendages on one end of the body."
TEXT114=" <b>Polychaeta.</b> Top: Tube on manganese crust.  Bottom: different errant species."
TEXT115=" <b>Polyhaeta.</b> Top: apical end of a presumably sedentary ?polychaete. Bottom: fam. ?Sabellidae."
TEXT116=" <b>Echiurida.</b> Top: apical ends of ?echiurids. Bottom: echiurid lying on the sea floor."
TEXT117=" <b>Echiurida.</b> Apical end of an echiurid (top) and its burrow (bottom). "
TEXT118=" <b>Crustacea.</b> Two ? types of isopods (fam. Munnopsidae)."
TEXT119=" <b>Crustacea.</b> Natantia with characteristic reflecting structure on the thorax. Swimming individual."
TEXT120=" <b>Crustacea.</b> Orange colored shrimp. Swimming specimen."
TEXT121=" <b>Crustacea.</b> Swimming Natantia of unknown taxonomic status."
TEXT122=" <b>Crustacea.</b> On its abdomen, the hermit crab <I>Probeebei mirabilis</I> WOLFF (fam. Probeebidae) typically caries a small red-colored anemone (top). Bottom: specimens without anemones."
TEXT123=" <b>Crustacea.</b> Reptantia. Specimens of the type <I>Munidopsis</I> sp. WHITEAVES (fam. Galatheidae)."
TEXT124=" <b>Crustacea.</b> Reptantia. Specimen of the type <I>Munidopsis</I> sp. WHITEAVES (fam. Galatheidae)."
TEXT125=" <b>Crustacea.</b> Small crustacean, swimming above the sea floor. "
TEXT126=" <b>Crustacea.</b> Cirripedia. Three individuals of <I>Scalpellum</I> sp., growing on a stalk. An orange colored ophiuroid is attached to the stalk too."
TEXT127=" <b>Bryozoa.</b> Individual attached to a manganese nodule. At least two different species can be observed on photographs, distinguishable by its color (yellow or white)."
TEXT128=" <b>Unidentified Animals. </b>Clustered structure (compare Fig. 44 Pawson &amp; Foell 1983). Taxonomic status unknown."
TEXT129=" <b>Unidentified Animals.</b> Top: ?Gorgonarian. Bottom: ?Actiniaria"
TEXT130=" <b>Unidentified Animals.</b> Crustacean wearing something on its back?"
TEXT131=" <b>Unidentified Animals.</b> Top: eight-armed juvenile asteroid? Bottom: taxonomic status unknown, maybe a sea cucumber."
TEXT132=" <b>Lebensspuren.</b> Top: ?fish track (Heezen &amp; Hollister 1970). Bottom: mound with holes."
TEXT133=" <b>Lebensspuren.</b>  Top: Openings of u-shaped polychaete burrows? Bottom: spoke burrows created by ?Echiurida."
TEXT134=" <b>Lebensspuren.</b> Animal trails. Spoke burrows connected by a trail."
TEXT135=" <b>Lebensspuren.</b> Trails created by sea cucumbers (bottom) and crabs (top)."
TEXT136=" <b>Lebensspuren.</b> Surface feeding traces (top) and track created presumably not by a sea cucumber (bottom)."
TEXT137=" <b>Lebensspuren.</b> Ophiuroid trails. Bottom: with brittle star and hermit crab."
TEXT138=" <b>Lebensspuren.</b> Animal housing."

  url = location.href;
//  document.writeln("url="+url+"<br>");
  pathName=url.substring(url.indexOf("da_fig"),100);
  pathName=url.substring(url.lastIndexOf("/")+1,100);
//  document.writeln("pathName="+pathName+"<br>");
  if (pathName.indexOf("da_fig")==-1) {
     figNo=1;
     taxNo=1;
     taxName=" - ";
     }
  else
      {
      figNo=pathName.substr(6,3)*1;
//  document.writeln("figNo="+figNo+"<br>");
//  document.writeln("figNo="+convertFig(figNo)+"<br>");
      for(i=1;i<30;i++){
//    document.writeln(figNo+"-"+taxNo+"<br>");
      if (figNo<((eval("taxon"+i)).substr(0,3)*1)) {
          taxNo=i-1;
//        document.writeln("taxNo="+taxNo+"<br>");
            taxName=(eval("taxon"+(i-1))).substr(3,30);
//        document.writeln("taxName="+taxName+"<br>");
           break;
           }
         }
      }

function legend(figureno){
        document.writeln("<DIV class='description'><p><span class='blue'><b>Fig. "+figureno+"</b>"+(eval("TEXT"+figureno))+"</p></span></DIV>");

}

function testFig (no,direct) {

 if (no==0) {no=1};

 if (direct) {
  if (no==7 )  {no=8};
  if (no==12 ) {no=13};
  if (no==14 ) {no=15};
  if (no==20 ) {no=21};
  if (no==22 ) {no=23};
  if (no==28 ) {no=29};
  if (no==30 ) {no=31};
  if (no==77 ) {no=78};
  if (no==139) {no=138};
 }
 else
 {
  if (no==7) {no=6};
  if (no==12) {no=11};
  if (no==14) {no=13};
  if (no==20) {no=19};
  if (no==22) {no=21};
  if (no==28) {no=27};
  if (no==30) {no=29};
  if (no==77) {no=76};
 }
  return(no);
  }

function testTax (no) {
  if (no==0) {no=1};
  if (no==29) {no=28};
  no=eval("taxon"+no).substr(0,3)*1;
  return(no);
  }

function convertFig (no) {
  dummy=("000"+no);
  return(dummy.substr(dummy.length-3,3));
  }

function link(no) {
     document.writeln("<a href='da_fig"+(eval("taxon"+no)).substr(0,3)+".html'>");
     if (no==taxNo) {
       document.writeln("<b>"+(eval("taxon"+no)).substr(3,30)+"</b>");
     }
      else
     {
       document.writeln((eval("taxon"+no)).substr(3,30));
     }
     document.writeln("</a><br>");
}

function rowout(no1,no2){
         document.writeln("<tr><td nowrap nowrap>");
         if (no1>0) {link(no1);} else {document.writeln("&nbsp;")}
         document.writeln("</td><td nowrap nowrap>");
         if (no2>0) {link(no2);} else {document.writeln("&nbsp;")}
         document.writeln("</td></tr>");
}

function rowStringout(zk1,zk2){
         document.writeln("<tr><td nowrap nowrap>");
         if (zk1.length>0) {document.writeln(zk1);} else {document.writeln("&nbsp;");}
         document.writeln("</td><td nowrap nowrap>");
         if (zk2.length>0) {document.writeln(zk2);} else {document.writeln("&nbsp;");}
         document.writeln("</td></tr>");
}


function menuPic() {
   document.write("<TABLE width='100%' vspace='2' hspace='2'>");
   document.write("<td nowrap colspan='3' nowrap>&nbsp;</td>");
   document.write("</TABLE>");
}

function menuTaxa() {
   document.write("<TABLE width='100%' vspace='0' hspace='0'>");
   document.write("<TR>");
   document.write("<td nowrap nowrap><A href='da_home.html'>Home</A></TD>");
   document.write("<td nowrap nowrap><A href='da_intro.html'>Introduction</A></TD>");
   document.write("</TR>");
   document.write("<TR>");
   document.write("<td nowrap nowrap>&nbsp;</TD>");
   document.write("<td nowrap nowrap><A href='da_cont.html'>Content</A></TD>");
   document.write("</TR>");
   document.write("<TR>");
   document.write("<td nowrap nowrap><A href='mailto:hbluhm@drbluhm.de'>send comment</A></TD>");
   document.write("<td nowrap nowrap><A href='da_ref.html'>References</A></TD>");
   document.write("</TR>");
   document.write("<tr><td nowrap colspan='2'><hr></td></tr>");

   document.write("<tr><td nowrap colspan='2'>");
   document.write("current taxon: "+taxName);
   document.write("</td>");

   document.write("<tr><td nowrap nowrap>");
   document.write("current figure: "+convertFig(figNo));
   document.write("</td>");
   document.write("<td nowrap nowrap>");
   document.write("<a href='da_fig001.html'><IMG src='Figs/pgdwn.gif' width='17' height='17' border='0' alt='first page'></a>&nbsp;&nbsp;<a href='da_fig001.html'>first figure</a>");
   document.writeln("</td></tr>");

   document.write("<tr><td nowrap nowrap>");
   document.write("<a href='da_fig");
   document.write(convertFig(testTax(taxNo-1)));
   document.write(".html'><IMG src='Figs/pgfdwn.gif' width='17' height='17' border='0' alt='previous taxon'></a>&nbsp;&nbsp;<a href='da_fig");
   document.write(convertFig(testTax(taxNo-1)));
   document.write(".html'>previous taxon</a>");
   document.write("</td>");
   document.write("<td nowrap nowrap>");
   document.write("<a href='da_fig");
   document.write(convertFig(testFig(figNo-1,false)));
   document.write(".html'><IMG src='Figs/pgdwn.gif' width='17' height='17' border='0' alt='previous figure'></A>&nbsp;&nbsp;");
   document.write("<a href='da_fig");
   document.write(convertFig(testFig(figNo-1,false)));
   document.write(".html'>previous figure</a>");
   document.writeln("</td></tr>");
   document.writeln("<tr><td nowrap nowrap><a href='da_fig"+convertFig(testTax(taxNo+1))+".html'>");
   document.writeln("<IMG src='Figs/pgfup.gif' width='17' height='17' border='0' alt='next taxon'></a>&nbsp;&nbsp;");
   document.writeln("<a href='da_fig"+convertFig(testTax(taxNo+1))+".html'>");
   document.writeln("next taxon");
   document.writeln("</a></td>");
   document.writeln("<td nowrap nowrap><a href='da_fig"+convertFig(testFig(figNo+1,true))+".html'>");
   document.writeln("<IMG src='Figs/pgup.gif' width='17' height='17' border='0' alt='next figure'></a>&nbsp;&nbsp;");
   document.writeln("</a>");
   document.writeln("<a href='da_fig"+convertFig(testFig(figNo+1,true))+".html'>");
   document.writeln("next figure");
   document.writeln("</a></td></tr>");
   document.write("<tr><td nowrap colspan='2'><hr></td></tr>");

     rowout(1,0);rowout(2,0);
     rowStringout("Cnidaria","");
     rowout(3,4);rowout(5,6);rowout(7,8);rowout(9,10);rowout(11,0);rowout(12,0);rowout(13,0);
     rowStringout("Echinodermata","");
     rowout(14,15);rowout(16,17);rowout(18,0);rowout(19,0);rowout(20,0);
     rowStringout("Mollusca","");
     rowout(21,22);rowout(23,0);rowout(24,0);rowout(25,0);rowout(26,0);rowout(27,0);rowout(28,0);
     document.writeln("</table>");
}

function setMenu(){
    document.write("<TABLE width='100%'>");
    document.write("<tr>");
    document.write("<td nowrap width='280'>");
    menuTaxa();
    document.write("</td>");
    document.write("<td nowrap nowrap>");
    menuPic();
    document.write("</td>");
    document.write("</tr>");
    document.write("</TABLE>");
}