public static void LoadConfig(String configpath){

		FileInputStream fis;

		try {
			fis = new FileInputStream(configpath);
		} catch (FileNotFoundException e1) {
			e1.printStackTrace();
			configOK = false;
			return;
		}

		BufferedInputStream stream = new BufferedInputStream(fis);
		try {
			properties.load(stream);
			stream.close();

			sunnyuser = properties.getProperty("sunnyuser");
			sunnypassword = properties.getProperty("sunnypassword");
			requestinterval = SuPoxyUtils.IntParser("requestinterval",properties.getProperty("requestinterval"), requestinterval_default);
			httpport = SuPoxyUtils.IntParser("httpport", properties.getProperty("httpport"), httpport_default);
			cachesize = SuPoxyUtils.IntParser("cachesize", properties.getProperty("cachesize"), cachesize_default);
			timecorrection = SuPoxyUtils.IntParser("timecorrection", properties.getProperty("timecorrection"), timecorrection_default);

		} catch (IOException e) {
			e.printStackTrace();
			configOK = false;
			return;
		}

		// no less than 5!
		requestinterval = (requestinterval < 5) ? requestinterval : 5;

		// without user/pw we are not able to get data
		configOK = (sunnyuser.length() > 0 && sunnypassword.length() > 0) ? true : false;

	}