
  <!--

  // This function displays the ad results.
  // It must be defined above the script that calls show_ads.js
  // to guarantee that it is defined when show_ads.js makes the call-back.

  function google_ad_request_done(google_ads) {

    // Proceed only if we have ads to display!
    if (google_ads.length < 1 )
      return;

	ads_length=4
	if (google_ads.length<2) ads_length=google_ads.length;
	
	for(var i = 0; i < ads_length; ++i) {
    // Display ads in a table
    
	txtListing = "<p><b><a href=\"" + google_ads[i].url + "\">" + google_ads[i].visible_url + "</a>"
	txtListing = txtListing + "</b><BR>"

    // For text ads, display each ad in turn.
    // In this example, each ad goes in a new row in the table.
    if (google_ads[i].type == 'text' )
	{
      
        txtListing = txtListing + "<a href=\"" +  google_ads[i].url + "\">" +
          google_ads[i].line1 + "</a><br>" +
	    	"<a href=\"" +  google_ads[i].url + "\">"
        if (google_ads[i].line2>"")  txtListing = txtListing + google_ads[i].line2 + "<br>" 
        if (google_ads[i].line3>"")  txtListing = txtListing + google_ads[i].line3
        txtListing = txtListing + "</a>"; 
     
    }

	txtListing = txtListing + "</p>"
     //document.write(txtListing);
	document.getElementById("google_listing_unit").innerHTML += txtListing;
	}
  }

    google_ad_client = "pub-9532715344995214";         
    google_ad_output = "js";         
    google_max_num_ads = 4;         
    google_ad_type  = "text";
    google_color_line = "ff0000";     
  -->