﻿  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 id=\"GoogleAD\">';
    var i;
    /*
     * Verify that there are actually ads to display.
     */
    if (google_ads.length == 0) {
      return;
    }
 s += "<a style=\"color: 333; font-size: 12px; line-height: 200%; font-weight:bold\" href=\""+google_info.feedback_url +"\" target=\"_blank\">Google提供的廣告</a>";
             for(i=0; i < google_ads.length; ++i) {
            	if (i == 0)
			s += '<div class="googletop">';
            	if (i == Math.ceil(google_ads.length/2))
			s += '<div class="googlebottom">';
                s += '<div class=googletilte><a style="cursor: default;" target="_blank" href="' + google_ads[i].url + '" ' +
								  'onmouseout="window.status=\'\';return true;" ' +
				                  'onmouseover="window.status=\'' +
				                   google_ads[i].visible_url + '\';return true;"  class=""news"" ><span style="cursor: pointer;">' + google_ads[i].line1 + '</span></a></div>' + //title
                                  '<div class=googlemag><a target="_blank" href="' + google_ads[i].url + '" ' +
								  'onmouseout="window.status=\'\';return true;" ' +
				                  'onmouseover="window.status=\'' +
				                   google_ads[i].visible_url + '\';return true;"  class=""news""><span style="padding: 2px 0pt; background: rgb(255, 255, 255) none repeat scroll 0% 50%; cursor: default; -moz-background-origin: -moz-initial; -moz-background-clip: -moz-initial; -moz-background-inline-policy: -moz-initial; color: rgb(34, 34, 34);">' + google_ads[i].line2 + google_ads[i].line3 + "</span></a>"  + //text
                                  '<span class=googleurl><a target="_blank" href="' + google_ads[i].url + '" ' +
								  'onmouseout="window.status=\'\';return true;" ' +
				                  'onmouseover="window.status=\'' +
				                   google_ads[i].visible_url + '\';return true;"  class=""news"">' + google_ads[i].visible_url + '</a></span></div>';// url
            	if ((i+1) == Math.ceil(google_ads.length/2) || i == google_ads.length-1)
		s += '</div>';
    }
	s += '<div class=\"clear\"></div></div>';
    document.write(s);
    return;
  }
     google_ad_client = 'pub-0246916887946697'; //  your client_id
     google_ad_channel = '9261601327'; //  your channel
     google_ad_slot = "0344568458"; //  your slot
     google_ad_output = 'js';
     google_max_num_ads = '2'; //﹚璶案计FOR2玥GOOGLE AD
     google_ad_width = 650;
     google_ad_height = 100;
     google_ad_format = "650x100_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>');
