String secondaryfilename = "/" + globalconfiguration .getHelpPath()+"/" + helpfile + "." + secondary + "." + postfix;
    public String getHelpfileInfix(String helpfilename) {      String returnedurl=null;      String prefered = WebLanguages.getAvailableLanguages()[currentadminpreference.getPreferedLanguage()]                                          .toLowerCase();      String secondary = WebLanguages.getAvailableLanguages()[currentadminpreference.getSecondaryLanguage()]                                           .toLowerCase();      String helpfile = helpfilename.substring(0,helpfilename.lastIndexOf('.'));      String postfix  = helpfilename.substring(helpfilename.lastIndexOf('.')+1);      String preferedfilename = "/" + globalconfiguration.getHelpPath()+"/"                                + helpfile + "." + prefered + "." + postfix;      String secondaryfilename = "/" + globalconfiguration .getHelpPath()+"/"                                 + helpfile + "." + secondary + "." + postfix;      String preferedurl = globalconfiguration .getBaseUrl() + globalconfiguration .getAdminWebPath()                          + globalconfiguration .getHelpPath()+"/"                          + helpfile + "." + prefered + "." + postfix;      String secondaryurl = globalconfiguration .getBaseUrl() + globalconfiguration .getAdminWebPath()                          + globalconfiguration .getHelpPath()+"/"                          + helpfile + "." + secondary + "." + postfix;      if(this.getClass().getResourceAsStream(preferedfilename) != null)        returnedurl = preferedurl;      else        returnedurl = secondaryurl;      return returnedurl;    }