private void initParams(){
		if(!iphoneParams.isEmpty()){
			postURL = iphoneParams.getProperty("APPLESTORE_POST_URL");
			originalPostURL = postURL;
			fromPageNum = iphoneParams.getProperty("APPLESTORE_FROM_PAGE_NUM");
			ID = iphoneParams.getProperty("APPLESTORE_ID");
			relative_URI = iphoneParams.getProperty("APPLESTORE_RELATIVE_URI");
			outputFilePath = iphoneParams.getProperty("APPLESTORE_OUTPUTFILE_PATH");
			enablePeriod = Boolean.valueOf(iphoneParams.getProperty("APPLESTORE_ENABLE_PERIOD"));
			if(this.enablePeriod){
				dateFormat = iphoneParams.getProperty("APPLESTORE_DATE_FORMAT");
				String startDateStr = iphoneParams.getProperty("APPLESTORE_START_DATE");
				String endDateStr = iphoneParams.getProperty("APPLESTORE_END_DATE");
				if(!("".equals(dateFormat) || "".equals(startDateStr) || "".equals(endDateStr))){
					try {
						fmt = new SimpleDateFormat(dateFormat);
						startDate = fmt.parse(startDateStr);
					} catch (ParseException e) {
						this.enablePeriod = false;
						e.printStackTrace();
					}
				}else{
					this.enablePeriod = false;
				}
				
			}
			String countriesString = iphoneParams.getProperty("APPLESTORE_COUNTRIES");
			useProxy = Boolean.valueOf(iphoneParams.getProperty("USE_PROXY"));
			if(countriesString != null){
				countries = countriesString.split(",");
			}
		}
	}