﻿  function google_ad_request_done(google_ads) {
    /*
     * This function is required and is used to display
     * the ads that are returned from the JavaScript
     * request. You should modify the document.write
     * commands so that the HTML they write out fits
     * with your desired ad layout.
     */
    var s = "<div class=\"gAD-nsbd\" style=\"padding:5px 0;\">";
    var i;
    /*
     * Verify that there are actually ads to display.
     */
    if (google_ads.length == 0) {
      return;
    }
 	s += "<div class=\"gAD-nsbd-googlecopyright\"><a href=\"" + google_info.feedback_url +"\" target=\"_blank\" style=\"font-size:12px;\">Google提供的廣告</a></div>"
             for(i=0; i < google_ads.length; ++i) {
		s += "<div class=\"gAD-nsbd-googletilte\"><a style=\"cursor: default;\" href=\"" + google_ads[i].url + "\" target=\"_blank\" onmouseout=\"window.status='';return true;\"  onmouseout=\"window.status='" + google_ads[i].visible_url + "';return true;\"><span style=\"cursor: pointer;\">" + google_ads[i].line1 + "</span></a></div>";
		s += "<div class=\"gAD-nsbd-googlenews\"><a href=\"" + google_ads[i].url + "\" target=\"_blank\" style=\"background: rgb(255, 255, 255) none repeat scroll 0% 0%; color: rgb(119, 119, 119); cursor: default;\" >" + google_ads[i].line2 + google_ads[i].line3 + "</a>";
		s += "<span style=\"font-size: 11px; font-weight: normal; padding-left: 5px; cursor: pointer; color:#3c85ad;\" class=\"gAD-nsbd-googleurl\">";
		s += "<a href=\"" + google_ads[i].url + "\" target=\"_blank\" onmouseout=\"window.status=\'\';return true;\" onmouseout=\"window.status=\'" + google_ads[i].visible_url + "\';return true;\" >" + google_ads[i].visible_url + "</a></span></div>";
    }
	s += "</div>";
    document.write(s);
    return;
  }
     google_ad_client = 'pub-0246916887946697'; //  your client_id
     google_ad_channel = '7788006057'; //  your channel
     google_ad_slot = "9180363011"; //  your slot
     google_ad_output = 'js';
     google_max_num_ads = '1';
     google_ad_width = 234;
     google_ad_height = 60;
     google_ad_format = "234x60_as"; 
     google_ad_type = 'text';
     google_language = 'zh-TW';
     google_encoding = 'utf-8';
     google_safe = 'high';
     google_adtest = 'off';
     google_feedback = 'on';
     google_hints = '';
     google_country = 'TW';
     google_ad_section = 'default';
     document.write('<scr' + 'ipt language="javascript" type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></scr' + 'ipt>');
