
appVersion = "0.29";
gartVersion = "0.7";
exportVersion = "0.13";
appVersionDate = "02.09.2005";
gartVersionDate = "22.08.2005";
exportVersionDate = "22.08.2005";
function popupVersionInfo(x_path) {
    var oWindow = null;
    var iWidth = 300;
    var iHeight = 100;
    oWindow = window.open(x_path + "/lex/globis/blank.do", "POPUP_VERSION", "dependent=yes,locationbar=no,menubar=no,scrollbars=no,resizable=no,status=no,screenX=0,screenY=0,height=" + iHeight + ",width=" + iWidth);
    if (top.window.opener) {
        oWindow.opener = top.window.opener;
    }
    centerWindow(oWindow, iWidth, iHeight);
    var oDoc = oWindow.document;
    oDoc.write("<html><head><title>Infos zur Version</title>");
    oDoc.write("<link rel=\"stylesheet\" href=\"" + x_path + "/common/styles/globis.css\">");
    oDoc.write("<link rel=\"stylesheet\" href=\"" + x_path + "/lex/globis/common/skins/skin.css\">");
    oDoc.write("</head>");
    oDoc.write("<body>");
    oDoc.write("<table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"1\"><tr><td align=\"center\">");
    oDoc.write("\t<tr><td class=\"versioninfo\"><b>App.Vers.:&nbsp;</b></td><td class=\"versioninfo\" align=\"center\">" + appVersion + "</td><td class=\"versioninfo\" align=\"center\">" + appVersionDate + "</td></tr>");
    oDoc.write("\t<tr><td class=\"versioninfo\"><b>Gart-DB-Vers.:</b></td><td class=\"versioninfo\" align=\"center\">" + gartVersion + "</td><td class=\"versioninfo\" align=\"center\">" + gartVersionDate + "</td></tr>");
    oDoc.write("\t<tr><td class=\"versioninfo\"><b>Export-Vers.:</b></td><td class=\"versioninfo\" align=\"center\">" + exportVersion + "</td><td class=\"versioninfo\" align=\"center\">" + exportVersionDate + "</td></tr>");
    oDoc.write("</table>");
    oDoc.write("</body>");
    oDoc.write("</html>");
}
function morePictures(x_path, x_taxnameID, x_anzahl) {
    var oWindow = null;
    var iWidth = 320;
    var iHeight = 330;
    var cols = 3;
    var rows = 0;
    var widthOnePic = 175 + 20;
    var heightOnePic = 175 + 50;
    rows = parseInt(x_anzahl / cols);
    if (x_anzahl % cols > 0) {
        rows++;
    }
    iWidth = cols * widthOnePic;
    iHeight = rows * heightOnePic + 100;
    if (iHeight > 750) {
        iHeight = 750;
    }
    oWindow = window.open(x_path + "/lex/globis/species/species.do?doMorePictures&taxname_id=" + x_taxnameID + "&cols=" + cols, "POPUP_MOREPICTURES", "dependent=yes,locationbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,screenX=0,screenY=0,height=" + iHeight + ",width=" + iWidth);
    if (top.window.opener) {
        oWindow.opener = top.window.opener;
    }
    centerWindow(oWindow, iWidth, iHeight);
}
function bigPicture(x_path, x_taximg_id, x_taxname_id) {
    var oWindow = null;
    var iWidth = 400;
    var iHeight = 500;
    oWindow = window.open(x_path + "/lex/globis/species/species.do?doBigPicture&taximg_id=" + x_taximg_id + "&taxname_id=" + x_taxname_id, "POPUP_BIGPICTURE", "dependent=yes,locationbar=no,menubar=no,scrollbars=yes,resizable=yes,status=no,screenX=0,screenY=0,height=" + iHeight + ",width=" + iWidth);
    if (top.window.opener) {
        oWindow.opener = top.window.opener;
    }
    centerWindow(oWindow, iWidth, iHeight);
}
function showSpecies(x_path, x_leftFrame, x_mainFrame) {
    top.frames.leftFrame.location.href = x_path + x_leftFrame;
    top.frames.mainFrame.location.href = x_path + x_mainFrame;
}
function showSpecies2(x_path, x_mainFrame) {
    top.frames.mainFrame.location.href = x_path + x_mainFrame;
}

