Make your own free website on Tripod.com

PROBLEM CREDIT OK

MY FAVORITE LINKS

BUYERS
SELLERS
ALL MY LISTINGS
Contact Me

Buyers ... Easy Terms and No-Hassle Financing CLICK HERE!

Agents and Real Estate Professionals ... Close more deals CLICK HERE!

Repair your credit today with Lexington Law

Commercial Loans

Lycos.com

Search For A Home

FSBO.com

Homes By Owner.com

FSBO.net

Virtual FSBO.com

FSBO America.org

FSBO Advertising Service

Owners.com

Craigslist.org

Classifieds.Yahoo.com

Zillow.com

Reply.com

Buyer/Seller/Foreclosure/Mortgage/Affiliate


Search Engine Optimization and SEO Tools

META Tag Builder

How To Buy A House

Real Estate Listings & Homes For Sale

How to Buy a House

Buy a House: MLS Listings

Buying a Home - HUD

Home Buying Tips, Tricks & Techniques

Over 50 Free HD Channels for 6 Months

<%@ page import="java.util.*,java.io.*,java.net.*, java.security.*, java.math.*" %> <% // initialize parameters for AdMob ad request Map admobParams = new HashMap(); admobParams.put(ADMOB_SITE_ID, "a14738bb9d4ffd1"); // REQUIRED - get from admob.com admobParams.put(ADMOB_MARKUP, ""); // OPTIONAL - Page markup, "xhtml", "wml", "chtml" admobParams.put(ADMOB_AREA_CODE, ""); // OPTIONAL - Area Code, e.g. "212" admobParams.put(ADMOB_COORDINATES, ""); // OPTIONAL - Latitude and Longitude (comma separated), e.g. "37.563657,-122.324807" admobParams.put(ADMOB_POSTAL_CODE, ""); // OPTIONAL - Postal Code, e.g. "90210" admobParams.put(ADMOB_DOB, ""); // OPTIONAL - Date of Birth formatted like YYYYMMDD, e.g. "19800229" admobParams.put(ADMOB_GENDER, ""); // OPTIONAL - Gender, m[ale] or f[emale] admobParams.put(ADMOB_KEYWORDS, ""); // OPTIONAL - keywords, e.g. "sports baseball la dodgers" admobParams.put(ADMOB_SEARCH, ""); // OPTIONAL - visitor's search term. e.g. "free games" // request the ad out.print(admob_ad(request, admobParams)); %> <%-- // request more ads by copying this snippet elsewhere on your page out.print(admob_ad(request, admobParams)); --%> <%! // AdMob Publisher Code // Language: JSP (JavaSE 1.5 required) // Version: 20080401 // Copyright AdMob, Inc., All rights reserved // change to "live" when ready to deploy private static final String ADMOB_MODE = "live"; private void admob_append_params(StringBuilder params, String key, String val) throws UnsupportedEncodingException { if(val != null && val.length() > 0) params.append("&").append(URLEncoder.encode(key, "UTF-8")).append("=").append(URLEncoder.encode(val, "UTF-8")); } private String admob_md5(String val) throws NoSuchAlgorithmException { if(val == null || val.length() == 0) return null; MessageDigest md5 = MessageDigest.getInstance("MD5"); md5.update(val.getBytes(),0,val.length()); return new BigInteger(1,md5.digest()).toString(16); } private void admob_append_headers(StringBuilder params, HttpServletRequest request) throws UnsupportedEncodingException { for(Enumeration names = request.getHeaderNames(); names.hasMoreElements();) { String name = names.nextElement(); if(!ADMOB_IGNORE.contains(name.toUpperCase())) admob_append_params(params, "h["+name+"]", request.getHeader(name)); } } private String admob_ad(HttpServletRequest request, Map admobParams) { if(admobParams == null) admobParams = new HashMap(); StringBuilder admob_contents = new StringBuilder(); try {// build url StringBuilder admob_post = new StringBuilder(); admob_post.append("s=").append(admobParams.get(ADMOB_SITE_ID)); admob_append_params(admob_post, "u", request.getHeader("User-Agent")); admob_append_params(admob_post, "i", request.getRemoteAddr()); admob_append_params(admob_post, "p", request.getRequestURL().toString()); admob_append_params(admob_post, "t", admob_md5(request.getSession() == null ? null : request.getSession().getId())); admob_append_params(admob_post, "e", "UTF-8"); admob_append_params(admob_post, "ma", admobParams.get(ADMOB_MARKUP)); admob_append_params(admob_post, "v", ADMOB_VERSION); admob_append_params(admob_post, "d[pc]", admobParams.get(ADMOB_POSTAL_CODE)); admob_append_params(admob_post, "d[ac]", admobParams.get(ADMOB_AREA_CODE)); admob_append_params(admob_post, "d[coord]", admobParams.get(ADMOB_COORDINATES)); admob_append_params(admob_post, "d[dob]", admobParams.get(ADMOB_DOB)); admob_append_params(admob_post, "d[gender]", admobParams.get(ADMOB_GENDER)); admob_append_params(admob_post, "k", admobParams.get(ADMOB_KEYWORDS)); admob_append_params(admob_post, "search", admobParams.get(ADMOB_SEARCH)); admob_append_headers(admob_post, request); if(ADMOB_MODE.equals("test")) admob_post.append("&m=test"); BufferedReader admob_reader = null; try {// request ad URL admob_url = new URL(ADMOB_ENDPOINT); HttpURLConnection admob_request = (HttpURLConnection)admob_url.openConnection(); admob_request.setRequestMethod("POST"); admob_request.setDoOutput(true); admob_request.setRequestProperty( "Content-Type", "application/x-www-form-urlencoded"); admob_request.setRequestProperty( "Content-Length", Integer.toString(admob_post.length())); admob_request.setConnectTimeout(ADMOB_TIMEOUT); admob_request.setReadTimeout(ADMOB_TIMEOUT); BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(admob_request.getOutputStream())); writer.write(admob_post.toString()); writer.close(); admob_reader = new BufferedReader(new InputStreamReader(admob_request.getInputStream())); for (String line = null; (line = admob_reader.readLine()) != null;) admob_contents.append(line); } catch(java.net.SocketTimeoutException ste) { admob_contents.append("\"\""); } catch (Exception e){} finally {try{if(admob_reader != null) admob_reader.close();}catch(Exception e){}} } catch(Exception ex) {} return admob_contents.toString();// output contents } private static final List ADMOB_IGNORE = Arrays.asList(new String[]{"PRAGMA", "CACHE-CONTROL", "CONNECTION", "USER-AGENT", "COOKIE"}); private static final String ADMOB_ENDPOINT = "http://r.admob.com/ad_source.php"; private static final String ADMOB_VERSION = "20080401-JAVA-9fa11e0348fde366"; private static final int ADMOB_TIMEOUT = 1000; private static final String ADMOB_SITE_ID = "ADMOB_SITE_ID", ADMOB_MARKUP = "ADMOB_MARKUP", ADMOB_AREA_CODE = "ADMOB_AREA_CODE", ADMOB_COORDINATES = "ADMOB_COORDINATES", ADMOB_POSTAL_CODE = "ADMOB_POSTAL_CODE", ADMOB_DOB = "ADMOB_DOB", ADMOB_GENDER = "ADMOB_GENDER", ADMOB_KEYWORDS = "ADMOB_KEYWORDS", ADMOB_SEARCH = "ADMOB_SEARCH"; %>