function google_afs_request_done(google_ads){var google_num_ads=google_ads.length;if(google_num_ads<=0){return;}var s="";var f="";var divs=document.getElementsByTagName("div");var divToFill=null;var strAdsInDiv="";var nAdsInDiv=0;var nAdsDisplayed=0;for(var j=0;j<divs.length;j++){if(divs[j].className=="wide_ads"){if(divs[j].innerHTML.length<=6){divToFill=divs[j];strAdsInDiv=divToFill.id.substr(divToFill.id.lastIndexOf("_")+1);nAdsInDiv=new Number(strAdsInDiv);if(nAdsDisplayed<google_num_ads){if(google_ads.length==1){s='<div class="afs_adsby"><a href="http://services.google.com/feedback/online_hws_feedback" class="ad_header">Ads by Google</a></div>';s+='<div style="background-color:#E6E6E6;line-height:17px;border-bottom: 1px dotted #cccccc; padding:0px;margin:0 0 0px 0;" onmouseover="this.style.background=\'#E6E6E6\';" onmouseout="this.style.background=\'#F3F5F8\';">';s+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[0].visible_url+'\'"><font class="afs_g_link" style="font-size:18px;">'+google_ads[0].line1+"</font></a><br />";s+='<font class="afs_g_text" style="font-size:13px;">'+google_ads[0].line2+"</font><br />";s+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[0].visible_url+'\'"><font class="g_url">'+google_ads[0].visible_url+"</font></a>";s+="</div>";nAdsDisplayed++;}else{s='<div class="ad_header"><a href="http://services.google.com/feedback/online_hws_feedback" style="text-decoration:none" class="ad_header">Ads by Google</a></div>';var nTotalAds=nAdsDisplayed+nAdsInDiv;if(nTotalAds>google_num_ads){nTotalAds=google_num_ads;}for(var i=nAdsDisplayed;i<nTotalAds;i++){s+='<div style="background-color:#f7f6f2;line-height:17px;border-bottom: 1px dotted #cccccc; padding:0px;margin:0.5em 0 0px 0;" onmouseover="this.style.background=\'#E7EBF1\';" onmouseout="this.style.background=\'#f7f6f2\';">';s+='<a target="_blank" style="text-decoration:none;line-height:20px;" href="'+google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[i].visible_url+'\'"><font class="ad_line1">'+google_ads[i].line1+"</font></a><br />";s+='<font class="ad_text">'+google_ads[i].line2+"</font><br />";s+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[i].visible_url+'\'"><font  class="ad_url">'+google_ads[i].visible_url+"</font></a>";s+="</div>";nAdsDisplayed++;}}divToFill.innerHTML=s;}}}if(divs[j].className=="narrow_ads"){divToFill=divs[j];strAdsInDiv=divToFill.id.substr(divToFill.id.lastIndexOf("_")+1);nAdsInDiv=new Number(strAdsInDiv);if(nAdsDisplayed<google_num_ads){if(google_ads.length==1){f='<div class="afs_adsby"><a href="http://services.google.com/feedback/online_hws_feedback" class="ad_header">Ads by Google</a></div>';f+='<div style="background-color:#ffffff;line-height:17px;border-bottom: 1px dotted #cccccc; padding:5px;margin:0 0 10px 0;" onmouseover="this.style.background=\'#E6E6E6\';" onmouseout="this.style.background=\'#ffffff\';">';f+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[0].visible_url+'\'"><font class="afs_g_link" style="font-size:18px;">'+google_ads[0].line1+"</font></a><br />";f+='<font class="afs_g_text" style="font-size:13px;">'+google_ads[0].line2+"</font><br />";f+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[0].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[0].visible_url+'\'"><font class="g_url">'+google_ads[0].visible_url+"</font></a>";f+="</div>";nAdsDisplayed++;}else{f='<div class="ad_header"><a href="http://services.google.com/feedback/online_hws_feedback" style="text-decoration:none" class="ad_header">Ads by Google</a></div>';var nTotalAds=nAdsDisplayed+nAdsInDiv;if(nTotalAds>google_num_ads){nTotalAds=google_num_ads;}for(var i=nAdsDisplayed;i<nTotalAds;i++){f+='<div style="background-color:#ffffff;line-height:17px;border-bottom: 1px dotted #cccccc; padding:5px;margin:0 0 10px 0;" onmouseover="this.style.background=\'#E7EBF1\';" onmouseout="this.style.background=\'#ffffff\';">';f+='<a target="_blank" style="text-decoration:none;line-height:20px;" href="'+google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[i].visible_url+'\'"><font class="ad_line1">'+google_ads[i].line1+"</font></a><br />";f+='<font class="ad_text">'+google_ads[i].line2+"</font><br />";f+='<a target="_blank" style="text-decoration:none;" href="'+google_ads[i].url+'" onmouseout="window.status=\'\'" onmouseover="window.status=\'go to '+google_ads[i].visible_url+'\'"><font  class="ad_url">'+google_ads[i].visible_url+"</font></a>";f+="</div>";nAdsDisplayed++;}}divToFill.innerHTML=f;}}}return;}
