var google_adnum = 0; /* only insert this line for your first ad unit */
function google_ad_request_done(google_ads)
{



if (position == "right")
{
var s = '';
var i;
if (google_ads.length == 0) 
{
return;
}
if (google_ads[0].type == "html")
{
s += google_ads[0].snippet;
}
else
{
if (google_ads.length == 1)
{
s += '<a target="_blank" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true" class="f2 bo">' + google_ads[0].line1 + '</a><br>' + google_ads[0].line2 +  google_ads[0].line3 + '<br><a target="_blank" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true" CLASS="gg ft vr td bo">' + google_ads[0].visible_url + '</a><br><SPAN CLASS="fc z1 e4">Ads by Google</SPAN>';
}


else if(google_ads.length > 1)
{

for(i = 0; i < google_ads.length; ++i)
{
s += '<a target="_blank" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true" class="f2 bo">' + google_ads[i].line1 + '</a><br>' + google_ads[i].line2 + '<br>' + google_ads[i].line3 + '<br><a target="_blank" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true" CLASS="gg ft vr td bo">' + google_ads[i].visible_url + '</a><br><br>';
}


s +='<SPAN CLASS="fc z1 e4">Ads by Google</SPAN>';


}
}
if (google_ads[0].bidtype == "CPC") 
{
google_adnum = google_adnum + google_ads.length;
}
document.write(s);
return;
}

if(position=="middle")
	{
var s = '';
var i;
if (google_ads.length == 0) 
{
return;
}
if (google_ads[0].type == "html")
{
s += google_ads[0].snippet;
}
else
{
if (google_ads.length == 1) {
s += '<div class="p1 w3"><a class="j1 as td bo" href=\"' + google_info.feedback_url + '\" TARGET="_blank">Ads by Google</a></div><div class="g3 g4 w1 p2"><a target="_blank" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true">' + google_ads[0].line1 + '</a>&nbsp;&nbsp;|&nbsp;&nbsp;' + google_ads[0].line2 + '&nbsp;' + google_ads[0].line3 + '<br><a target="_blank" class="bo j1 m1 td" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true">' + google_ads[0].visible_url + '</a></div>';
}
else if(google_ads.length > 1) {
s += '<div class="p1 w3"><a class="j1 as td bo" href=\"' + google_info.feedback_url + '\" TARGET="_blank">Ads by Google</a></div><div class="g3 g4 w1 p2 l1">';
for(i = 0; i < google_ads.length; ++i) {
s += '<a class="bo" target="_blank" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true">' + google_ads[i].line1 + '</a><br>' + google_ads[i].line2 + '.&nbsp;' + google_ads[i].line3 + '<br><a target="_blank" class="td" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true">' + google_ads[i].visible_url + '</a><br><p class="hg"></p>';}
s += '</div>'; } }
if (google_ads[0].bidtype == "CPC") { google_adnum = google_adnum + google_ads.length;}
if(document.getElementById('gtop1')) { document.getElementById('gtop1').innerHTML = s;}
else {document.write(s); }
return; 
}


if(position=="bottom")
	{
var s = '';
var i;
if (google_ads.length == 0) 
{
return;
}
if (google_ads[0].type == "html")
{
s += google_ads[0].snippet;
}
else
{
if (google_ads.length == 1)
{
s += '<SPAN CLASS="fc z1 e4 j1 w3">Ads by Google</SPAN><DIV CLASS="m2"></DIV><P CLASS="a1 pl2" STYLE="width:220px"><a target="_blank" style="text-decoration:underline" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true" CLASS="f2 bo">' + google_ads[0].line1 + '<br></a>' + google_ads[0].line2 + '<br>' + google_ads[0].line3 + '<br><a target="_blank" style="color:#008000; text-decoration:none" href="' + google_ads[0].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[0].visible_url + '\';return true" CLASS="gg bo td j1">' + google_ads[0].visible_url + '</a></p>';
}
else if(google_ads.length > 1)
{
s +='<SPAN CLASS="fc z1 e4 j1 w3">Ads by Google</SPAN><DIV CLASS="m2"></DIV>';
for(i = 0; i < google_ads.length; ++i)
{
s += '<P CLASS="a1 pl2" STYLE="width:33%"><a target="_blank" style="text-decoration:underline" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true" CLASS="f2 bo">' + google_ads[i].line1 + '<br></a>' + google_ads[i].line2 + '<br>' + google_ads[i].line3 + '<br><a target="_blank" href="' + google_ads[i].url + '" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to ' + google_ads[i].visible_url + '\';return true" CLASS="gg bo td j1">' + google_ads[i].visible_url + '</a></p>';
}
}

}
if (google_ads[0].bidtype == "CPC") 
{
google_adnum = google_adnum + google_ads.length;
}
document.write(s);
return;
}

}


google_ad_client = 'pub-8525015516580200'; // substitute your client_id (pub-#)
google_ad_channel = 'ch_id';
google_ad_output = 'js';
google_max_num_ads = googlecount;
google_ad_type = 'text';
google_feedback = 'on';
google_skip = google_adnum; /* insert this snippet for each ad call */