function google_ad_request_done(google_ads){var s='';var i;if(google_ads.length==0){return;}if(google_ads[0].type=="image"){s+='<a href="'+google_ads[0].url+'" target="_top" title="go to '+google_ads[0].visible_url+'"><img border="0" src="'+google_ads[0].image_url+'"width="'+google_ads[0].image_width+'"height="'+google_ads[0].image_height+'"></a>';}else if(google_ads[0].type=="flash"){s+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+google_ad.image_width+'" HEIGHT="'+google_ad.image_height+'"><PARAM NAME="movie" VALUE="'+google_ad.image_url+'"><PARAM NAME="quality" VALUE="high"><PARAM NAME="AllowScriptAccess" VALUE="never"><EMBED src="'+google_ad.image_url+'" WIDTH="'+google_ad.image_width+'" HEIGHT="'+google_ad.image_height+'" TYPE="application/x-shockwave-flash" AllowScriptAccess="never" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';}else if(google_ads[0].type="text"){tmpcols=100/google_ads.length+'%';if(google_ads.length<1)return;switch(indiatimes_adtype){case 0:{document.write("<table cellpadding=\"0\" cellspacing=\"0\" width=\""+indiatimes_width+"\" border=\"0\" ");if(google_ads.length==1)document.write("height=\""+indiatimes_height+"\"");document.write("style=\"border-style: solid; border-width: "+brdr+"px; border-color: #"+indiatimes_outer_border+"\"  >");if(indiatimes_google_position==0){document.write("<tr><td align=\"left\" height=\"20\" bgcolor=\"#"+indiatimes_ads0_google+"\" style=\"padding-left:5px; padding-bottom:1px;\"><span style=\"font-size: "+it_google_fsize+"px; font-family:arial; font-weight: bold; color:#"+indiatimes_link0_ads_google+";\">");if(google_info.feedback_url){document.write("<a href=\""+google_info.feedback_url+"\" target=\"_blank\" style=\"text-decoration:none; color:#"+indiatimes_link0_ads_google+";\">Ads by Google</a>");}else{document.write("Ads By Google");}document.write("</span></td></tr>");}if(google_ads[0].type=='text'){for(i=0;i<google_ads.length;++i){document.write("<tr><td bgcolor=#"+indiatimes_bg_color+" style=\"padding-left:5px;padding-right:5px;padding-top:0px;padding-bottom:0px;\" colspan=\"2\"");if(google_ads.length==1){document.write("valign=\"bottom\" height=\"50%\"");}else{document.write("valign=\"top\"");}document.write("><font size=\"-1\">"+"<a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\"font-size: 13px; color:#"+indiatimes_link_color+"; font-weight: normal;font-family:arial\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\">"+google_ads[i].line1+"</a><br><a href=\""+google_ads[i].url+"\" target=\"_blank\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\" style=\"text-decoration:none\"><span style=\"font-family: arial, sans-serif, helvetica; font-size: 12px; color:#"+indiatimes_text_color+";text-decoration:none;\">"+google_ads[i].line2+" "+google_ads[i].line3+"</span></a></td></tr><tr><td style=\"padding-left:5px;padding-right:5px;padding-top:0px;padding-bottom:5px;\" valign=\"top\" bgcolor=#"+indiatimes_bg_color+"><a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\"font-size: 11px; font-family: arial, sans-serif, helvetica; color: #"+indiatimes_dlink_color+"; font-weight: normal; \" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\">"+""+google_ads[i].visible_url+"</a>");if((indiatimes_google_position==1)&&(i==google_ads.length-1)){document.write("</td><td align=\"right\" valign=\"top\" bgcolor=\"#"+indiatimes_ads0_google+"\" style=\"padding-right:5px; padding-bottom:0px; padding-top:5px\"><span style=\"font-size: "+it_google_fsize+"px; font-family:arial; font-weight: bold; color:#"+indiatimes_link0_ads_google+";\">");if(google_info.feedback_url){document.write("<a href=\""+google_info.feedback_url+"\" target=\"_blank\" style=\"text-decoration:none; color:#"+indiatimes_link0_ads_google+";\">Ads by Google</a>");}else{document.write("Ads By Google");}document.write("</span>");}else{document.write("</td><td align=\"right\" bgcolor=\"#"+indiatimes_ads0_google+"\" style=\"padding-left:5px; padding-bottom:1px;\">&nbsp;");}document.write("</td></tr>");}}document.write("</table>");break;}case 1:{document.write("<table cellpadding=\"0\" cellspacing=\"0\" width=\""+indiatimes_width+"\" border=\"0\" ");if(google_ads.length==1){document.write("height=\""+indiatimes_height+"\"");}document.write("style=\"border-style: solid; border-width: "+brdr+"px; border-color: #"+indiatimes_outer_border+"\"  >");if(indiatimes_google_position==0){document.write("<tr><td align=\"left\" height=\"20\" bgcolor=\"#"+indiatimes_ads0_google+"\" style=\"padding-left:5px; padding-bottom:1px;\"><span style=\"font-size: "+it_google_fsize+"px; font-family:arial; font-weight: bold; color:#"+indiatimes_link0_ads_google+";\">");if(google_info.feedback_url){document.write("<a href=\""+google_info.feedback_url+"\" target=\"_blank\" style=\"text-decoration:none; color:#"+indiatimes_link0_ads_google+";\">Ads by Google</a>");}else{document.write("Ads By Google");}document.write("</span></td></tr>");}document.write("<tr>");if(google_ads[0].type=='text'){for(i=0;i<google_ads.length;++i){document.write("<td width=\""+tmpcols+"\"  bgcolor=\"e9e9e9\" style=\"cursor:pointer; cursor:hand; background-color:#"+indiatimes_bg_color+"; border-bottom: 1px solid; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-color: #"+indiatimes_inner_border+"; padding-top:4px; padding-left:4px; padding-right:3px; overflow:hidden;}\"><font size=\"-1\">"+"<a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\";font-size: 12px; color:#"+indiatimes_link_color+"; font-weight: normal; font-family:arial\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\">"+google_ads[i].line1+"</a><br><a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\"text-decoration:none\"  onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\"><span style=\";font-family: arial, sans-serif, helvetica; font-size: 11px; color:#"+indiatimes_text_color+";text-decoration:none;\">"+google_ads[i].line2+" "+google_ads[i].line3+"<br>"+"</span></a><a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\";font-size: 9px; font-family: arial, sans-serif, helvetica; color: #"+indiatimes_dlink_color+"; font-weight: normal;text-decoration:none;\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\">"+""+google_ads[i].visible_url+"</a></td>");if((indiatimes_google_position==1)&&(i==google_ads.length-1)){document.write("</tr><tr><td colspan=\""+google_ads.length+"\" align=\"right\" valign=\"top\" bgcolor=\"#"+indiatimes_ads0_google+"\" style=\"padding-right:5px; padding-bottom:0px; padding-top:5px\"><span style=\"font-size: "+it_google_fsize+"px; font-family:arial; font-weight: bold; color:#"+indiatimes_link0_ads_google+";\">");if(google_info.feedback_url){document.write("<a href=\""+google_info.feedback_url+"\" target=\"_blank\" style=\"text-decoration:none; color:#"+indiatimes_link0_ads_google+";\">Ads by Google</a>");}else{document.write("Ads By Google");}document.write("</span></td>");}}}document.write("</tr></table>");break;}case 2:{document.write("<table cellpadding=\"0\" cellspacing=\"1\" width=\""+indiatimes_width+"\" border=\"0\" height=\""+indiatimes_height+"\" style=\"border-style: solid; border-width: "+brdr+"px; border-color: #"+indiatimes_outer_border+"\"  >");document.write("<tr><td colspan=\""+google_ads.length+1+"\" height=\"20\" bgcolor=\"#"+indiatimes_ads12_google+"\" style=\"padding-left:5px; padding-bottom:1px;\"><span style=\"font-size: 10px; font-family:arial;color:#"+indiatimes_link12_ads_google+";\">");if(google_info.feedback_url){document.write("<a href=\""+google_info.feedback_url+"\" target=\"_blank\" style=\"text-decoration:none; color:#"+indiatimes_link12_ads_google+";\">Ads by Google</a>");}else{document.write("Ads By Google");}document.write("</span></td></tr>");if(google_ads[0].type=='text'){for(i=0;i<google_ads.length;++i){document.write("<tr><td  height =\""+tmpcols+"\" width=\"100%\" bgcolor=\"e9e9e9\" style=\"cursor:pointer; cursor:hand; background-color:#"+indiatimes_bg_color+"; border-bottom: 1px solid; border-top: 1px solid; border-left: 1px solid; border-right: 1px solid; border-color: #"+indiatimes_inner_border+"; padding-top:4px; padding-left:4px; padding-right:3px; overflow:hidden;}\"><font size=\"-1\">"+"<a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\";font-size: 12px; color:#"+indiatimes_link_color+"; font-weight: bold; font-family:arial\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\"><b>"+google_ads[i].line1+"</b></a><br><a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\"text-decoration:none;\"  onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\"><span style=\";font-family: arial, sans-serif, helvetica; font-size: 11px; color:#"+indiatimes_text_color+";text-decoration:none;\">"+google_ads[i].line2+" "+google_ads[i].line3+"<br>"+"</span></a><a href=\""+google_ads[i].url+"\" target=\"_blank\" style=\";font-size: 9px; font-family: arial, sans-serif, helvetica; color: #"+indiatimes_dlink_color+"; font-weight: normal;text-decoration:none;\" onmouseover=\"window.status='"+google_ads[i].visible_url.replace("&#39;","\\'")+"';return true\" onmouseout=\"window.status='';return true\">"+""+google_ads[i].visible_url+"</a></td></tr>");}}document.write("</table>");break;}}}document.write(s);return;}

