
  // 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;
 
  
    // For text ads, display each ad in turn.
    // In this example, each ad goes in a new row in the table.
    if (google_ads[0].type == 'text') {
       for(j = 1; j < 4; j++)
       {
       var u = document.getElementById("googleAd" + j);
       var s = "";
       if(google_ads[j-1] != null)
       s  = s + '<a class=alinks href='+google_ads[j-1].url  + '><font color=#CC0000>' + google_ads[j-1].line1 + '</font><br />' + '<font color=#676767>' + google_ads[j-1].line2 + ' ' + google_ads[j-1].line3 + '</font></a>' ;//+ '<DIV class=blueadds><A href='+google_ads[j-1].url  + '>' + google_ads[j-1].visible_url.substring(0,20) + '</A></DIV>';
if(u !=null)
{
       u.innerHTML = s;
}
  
       }
    }

  }




    // This script sets the attributes for requesting ads.
    google_ad_client = "ca-hindustantimes_js";         
    google_ad_output = "js";         
    google_max_num_ads = 3;        
    google_safe     = "high";
    google_feedback = "off";
    google_ad_type  = "text";
    google_color_line = "ff0000";
    //google_kw = "India";
	// Added by pankaj pareek
    google_ad_section="story_section";
    google_ad_channel = "story_top";
	// end
    // Note: The following line is for testing purposes only.
    // Remove this line to have ads targeted correctly for your pages.
    //google_page_url = 'http://www.hindustantimes.com';         
    google_adtest = "off";


    // Note: The following lines are for testing purposes only.
    // Uncomment them to test image ads.
    // google_kw = "googletestadimage";
    // google_kw_type = "exact";
    // google_image_size = "120x600";
    

