private static URL checkRedirect(URL queryURL) throws Exception { //_CNgI܂ōċAIɃ_CNgɐڑJ
		HttpURLConnection queryConn = (HttpURLConnection) queryURL.openConnection();
		
		int queryStatus = queryConn.getResponseCode();
		if (queryStatus != HttpURLConnection.HTTP_OK) {
			if (queryStatus == HttpURLConnection.HTTP_MOVED_PERM 
					|| queryStatus == HttpURLConnection.HTTP_MOVED_TEMP
					|| queryStatus == HttpURLConnection.HTTP_SEE_OTHER) {
				URL redirectURL = new URL(queryConn.getHeaderField("Location"));
				return checkRedirect(redirectURL);
			}
		}
		return queryURL;
	}