var google_adnum = 0; /* only insert this line for your first ad unit */ 

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 = '';
var i;

/*
* Verify that there are actually ads to display.
*/
if (google_ads.length == 0) {
return;
}




	if (google_ads[0].type == "image") {

		   s += '<a href=\"' + 
		google_info.feedback_url + '\" style="color:000000">Ads by Google</a><br> <a href="' + 
		google_ads[0].url + '" target="_top" title="go to ' + 
		google_ads[0].visible_url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' +
		google_ads[0].visible_url + '\';return true"><img border="0" src="' + 
		google_ads[0].image_url + '"width="' + 
		google_ads[0].image_width + '"height="' + 
		google_ads[0].image_height + '"></a>';

		document.write('<div style="padding-bottom:5px">\n');
		document.write(s);
		document.write('</div>\n');


	} else {

		if (google_ads.length == 1) {
		/*
		* Partners should adjust text sizes
		* so ads occupy the majority of ad space.
		*/

			s += '<span style="font-weight: normal; COLOR: #008000; "><a href=\"' + google_info.feedback_url + '\" style="color:#3666C8" class="google">Ads by Google</a></span><br>';
			s += '<a href="' + google_ads[0].url + '" style="text-decoration:none;">' +
			'<span style="font-weight: bold; text-decoration:underline; font-size:18pt; color:#3666C8; line-height:24pt;">' + google_ads[0].line1 + '</span></a>' +
			'<a href="' + google_ads[0].url + '" style="text-decoration:none;">' +
			' <span style="font-weight: bold; COLOR: #008000; font-size:13pt; line-height:24pt;">' + google_ads[0].visible_url + '</span></a><br>' +
			'<span style="font-weight: normal; COLOR: #424242; font-size:14pt; line-height:20pt;">' + google_ads[0].line2 + google_ads[0].line3 +
			'</span>';
			s += '<br>';

			document.write('<div style="padding-bottom:5px">\n');
			document.write(s);
			document.write('</div>\n');


		} else if (google_ads.length > 1) {

			for(i=0; i < google_ads.length; ++i) {

			s += '<tr>\n';
			s += '<td align="left" valign="top" style="padding-bottom:5px">\n';
			s += '<a href="' + google_ads[i].url + '" style="text-decoration:none;">' +
			'<span style="font-weight: bold; text-decoration:underline; font-size:12px; line-height:16px; color:#3666C8">' + google_ads[i].line1 + '</span>&nbsp;&nbsp;' +
			'<span style="font-weight: normal; COLOR: #008000; font-size:12px">' + google_ads[i].visible_url + '</span></a><br>' +
			'<span style="font-weight: normal; COLOR: #424242; font-size:12px">' + google_ads[i].line2 + google_ads[i].line3 +
			'<div style="line-height:8px;"><br></div></span>';
			s += '</td>\n';
			s += '</tr>\n';

			}

			if (google_ads[0].bidtype == "CPC") { /* insert this snippet for each ad call */ 
				google_adnum = google_adnum + google_ads.length;
			}

			document.write('<div align="left" style="padding-bottom:5px">\n');
			document.write('<span style="font-weight: bold; "><a href=\"' + google_info.feedback_url + '\" style="font-size:14px; line-height:16px; color:#3666C8">Ads by Google</a></span>\n');
			document.write('<div style="line-height:10px;"><br></div>\n');
			document.write('<table weight="610" border="0" cellpadding="0" cellspacing="0">\n');
			document.write(s);
			document.write('</table>\n');
			document.write('</div>\n');
		}

	}
	
}


google_ad_client = 'pub-1847813181958947'; // substitute your client_id (pub-#)
google_ad_output = 'js';
google_ad_type = 'text,image';
google_image_size = '468x60';
google_feedback = 'on';
google_skip = google_adnum; /* insert this snippet for each ad call */
google_max_num_ads = 3;



