
var imgGrpOrd="lit|mant|shc|dent|ts".split("|");

var imgSet = new Array();
 //imgSet["lit"]  ="cret/ag1843_33-1-5|cret/ag1843_33-6-9|cret/leidy1873_21-25|cret/est1894_XVIIa|cret/est1894_XVIIb|cret/williston1900_XIII|cret/williston1900_XIV".split("|");
   imgSet["lit"]  ="cret/ag1843_33-1-5|cret/ag1843_33-6-9|cret/leidy1873_21-25|cret/est1894_XVIIa|cret/est1894_XVIIb|cret/est1894_XVI".split("|");
   imgSet["mant"] ="cret/ds1292k02|cret/ds1292k04|cret/ds1292j02|cret/ds1258c|cret/ds1319f01|cret/ds1318x02".split("|");
   imgSet["shc"]  ="cret/ds1186c|cret/me018a|cret/c_mantelli3".split("|");
   imgSet["dent"] ="cret/c_mant-dent2|cret/c_mant-dent1|cret/c_mant-dent3".split("|");
   imgSet["ts"]   ="cret/ds1191-92_ts6|cret/shimada1994|cret/ds1186-87_ts5|cret/w&f102".split("|");

var imgInfo = new Array();
    //       tab caption | species | file position | location | measurements | Fig Nr (dynamic) | spare | spare

    imgInfo["cret/ag1843_33-1-5"]   = "Agassiz<BR>1843 1-5|Om|figAg|Creataceous of England||||".split("|");
    imgInfo["cret/ag1843_33-6-9"]   = "Agassiz<BR>1843 6-9|Om|figAg|Creataceous of England||||".split("|");
    imgInfo["cret/leidy1873_21-25"] = "Leidy<BR>1873|Oe|figL|Creataceous Mississippi & Kansas||||".split("|");
    imgInfo["cret/est1894_XVIIa"]   = "Eastman</i><BR>1894 XVII|Om|figEL|Smoky Hill Chalk, Niobrara Fm., KS||||".split("|");
    imgInfo["cret/est1894_XVIIb"]   = "Eastman</i><BR>1894 XVII|Om|figEA|Smoky Hill Chalk, Niobrara Fm., KS||||".split("|");
    imgInfo["cret/est1894_XVI"]     = "Eastman</i><BR>1894 XVI|Om|figET|Smoky Hill Chalk, Niobrara Fm., KS||||".split("|");
  //imgInfo["cret/williston1900_XIII"]= "Williston</i><BR>1900 XIII|Om|figW|Smoky Hill Chalk, Niobrara Fm., KS||||".split("|");
  //imgInfo["cret/williston1900_XIV"] = "Williston</i><BR>1900 XIV|Om|figW|Smoky Hill Chalk, Niobrara Fm., KS||||".split("|");


  //imgInfo["cret/ds1186g"]    = "<i>mantelli</i><BR>L Cret, KS|Cm|tbd|Smoky Hill Chalk, Niobrara Formation, Kansas||||".split("|");
    imgInfo["cret/ds1292k02"]  = "LA <BR>MS|Cm|lA|Tombigbee Sand, Eutaw Fm. (Sant/Camp boundary), Monroe Co., MS||||".split("|");
    imgInfo["cret/ds1292k04"]  = "UL <BR>MS|Cm|uL|Tombigbee Sand, Eutaw Fm. (Sant/Camp boundary), Monroe Co., MS||||".split("|");
    imgInfo["cret/ds1292j02"]  = "LL <BR>MS|Cm|lL|Tombigbee Sand, Eutaw Fm. (Sant/Camp boundary), Monroe Co., MS||||".split("|");
    imgInfo["cret/ds1258c"]    = "LA2<BR>NC|Cm|lA2|Tar Heel Fm (Campanian) ?reworked, Bladen Co., NC||||".split("|");
    imgInfo["cret/ds1319f01"]  = "UL9<BR> NM|Cm|uL9|NMMNH P-61429,52,51 ; Pt. Lookout Ss. (E-M Santonian), Bernalillo Co. NM||||".split("|");
    imgInfo["cret/ds1318x02"]  = "UA3<BR> NM|Cm|uA2|NMMNH P-61050,52,51 ; Pt. Lookout Ss. (E-M Santonian), Bernalillo Co. NM||||".split("|");

    imgInfo["cret/ds1186c"]       = "UA2<BR> KS|Cm|uA2|Smoky Hill Chalk, Niobrara Fm (Coniacian-Santonian), Kansas||||".split("|");
    imgInfo["cret/me018a"]        = "LA2<BR>KS|Cm|lA2|Smoky Hill Chalk [probably MU7-MU10 (E-M Sant), Gove Co.], Kansas||||".split("|");
    imgInfo["cret/c_mantelli3"]   = "various<BR>KS|Cm|uAL|Smoky Hill Chalk (MU 3-4, Upper Conacian), Niobrara Fm, Gove & Trego Co., Kansas||||".split("|");
  //imgInfo["cret/c_mantelli1"]   = "Cutting<BR>L Cret, KS|Cm|lL|Smoky Hill Chalk, Niobrara Fm (Coniacian-Santonian), Kansas||||".split("|");
  //imgInfo["cret/c_mantelli2"]   = "<i>\"mantelli\"</i><BR>L Cret, KS|Cm|lA|Smoky Hill Chalk, Niobrara Fm (Coniacian-Santonian), Kansas||||".split("|");
 
    imgInfo["cret/c_mant-dent2"]  = "Articulated<BR>1|Cm|ad|Smoky Hill Chalk, Niobrara Formation, Kansas||||".split("|");
    imgInfo["cret/c_mant-dent1"]  = "Articulated<BR>2|Cm|ad|Smoky Hill Chalk, Niobrara Formation, Kansas||||".split("|");
    imgInfo["cret/c_mant-dent3"]  = "Articulated<BR>3|Cm|ad|Smoky Hill Chalk, Niobrara Formation, Kansas||||".split("|");
 

    imgInfo["cret/ds1191-92_ts6"] = "Narrow-<BR>form|Cm|ts2|Smoky Hill Chalk, Niobrara Formation, Gove/Logan Co., Kansas||||".split("|");
    imgInfo["cret/shimada1994"]   = "Shimada<BR>1994|CspB|ts3|Smoky Hill Chalk, Niobrara Fm (Coniacian-Santonian), Lane Co., Kansas||||".split("|");


    imgInfo["cret/ds1186-87_ts5"] = "Broad-<BR>form|Cm|ts1|Smoky Hill Chalk, Niobrara Formation, Lane Co., Kansas||||".split("|");


    imgInfo["cret/w&f102"]        = "Tearing<BR>W&F1993|CspB|w&f|Britton Fm (Cenomanian) Dallas Co. Texas||||".split("|");

  

var spNm = new Array();
    spNm["Om"]   = "<i>Oxyrhina mantelli</i>";
    spNm["Oe"]   = "<i>Oxyrhina extenta</i>";
    spNm["Cm"]   = "<i>Cretoxyrhina mantelli</i>";
    spNm["Cmish"]= "<i>Cretoxyrhina \"mantelli\"</i>";
    spNm["CspA"] = "<i>Cretoxyrhina \"mantelli\"</i> cutting-type";
    spNm["CspB"] = "<i>Cretoxyrhina \"mantelli\"</i> tearing-type";
    spNm["Cmm"]  = "<i>Cretoxyrhina \"m\" mantelli</i>";

var thPos = new Array();

    thPos["ad"]  = "Articulated dentition<BR>Sternberg Museum (FHSU VP-2187";
    thPos["ad2"] = "Articulated tearing-type dentition<BR>Sternberg Museum; FHSM VP-323C";
    thPos["ts1"] = "Reconstructed tooth-set (233 teeth)<BR>Hubbell collection";
    thPos["ts2"] = "Reconstructed tooth-set (100 teeth)<BR>Hubbell collection";
    thPos["ts3"] = "Natural tooth-set (181+ teeth)<BR></B>Sternberg Museum, FHSM VP-2187; Shimada nomenclature<B>";
    thPos["w&f"] = "Associated tooth-set<BR></B>assumed missing tooth-positions in gray<B>";

    thPos["t"]   = "Tooth";
    thPos["A"]   = "Anterior";
    thPos["uA"]  = "Upper anterior";
    thPos["uA2"] = "Upper 2nd anterior";
    thPos["uA3"] = "Upper 3rd anterior";
    thPos["lA"]  = "Lower anterior";
    thPos["lA2"] = "Lower 2nd anterior";
    thPos["uAL"] = "Upper anterior & lateral";
    thPos["L"]   = "Lateral";
    thPos["uL"]  = "Upper lateral";
    thPos["uL9"] = "Upper ?9th lateral";
    thPos["lL"]  = "Lower lateral";
    thPos["DS"]  = "Associated dentition-set";
    thPos["tbd"] = "Undetermined position";

    thPos["figAg"] = "Agassiz 1843 - Figured specimens";
    thPos["figL"]  = "Leidy 1873 - Figured specimens";
    thPos["figW"]  = "Williston 1900 - Figured specimens";
    thPos["figEA"] = "Eastman 1894 - Anterior examples";
    thPos["figEL"] = "Eastman 1894 - Lateral examples";
    thPos["figEV"] = "Eastman 1894 - Centrum";
    thPos["figET"] = "Eastman 1894 - Tooth arrangement";
