﻿
function SponsorLink() {    
		window.open('googleAdsCode/sponsorLinks.htm', 'winSelectCategory', 'status=no,toolbars=no,scrollbars=no,location=no,menubar=no,resizable=no,width=400,height=440');	
}

function google_ad_request_done(google_ads) {  	
	
        var s;
        var i;

        if (google_ads == null || google_ads.length == 0) {        
          return;
        }

		if (google_ads[0].type == "text") {
					    
	    if (google_ads.length > 0)
	    {
	        s = '<div class="promoTitle"><a href="http://adwords.google.com/select/Login">Google Ads</a></div>';
		    for (i = 0; i < google_ads.length; ++i)
		    {   											
			    s += '<div class="manyAds">' + 
				    '<div class="addTitle">' +
					    '<a target="_blank" href="' + google_ads[i].url + '"onmouseout="window.status=\'\';return true"' + 						
					    'onmouseover="window.status=\'go to ' +	google_ads[i].visible_url + '\';return true" style="text-decoration:none">' +
					    google_ads[i].line1 +						
					    '</a>' +				
				    '</div>' +
				    '<div class="addText">' +
					    '<span>' + google_ads[i].line2 + '&nbsp;' + google_ads[i].line3 + '</span>' +					
				    '</div>' +
				    '<div class="addUrl">' +
					    '<a target="_blank" href="' + google_ads[i].url + '"onmouseout="window.status=\'\';return true"' +
					    'onmouseover="window.status=\'go to ' +	google_ads[i].visible_url + '\';return true" style="text-decoration:none">' +						
					    google_ads[i].visible_url +						
					    '</a>' +					
				    '</div>' +
			    '</div>';									    
		    }

		    var gAdsDiv = document.getElementById('gAdsDiv');
		    if (gAdsDiv == null)
			    return;
			gAdsDiv.innerHTML = s;
	    }
    }        

    
    return;
  }

            google_ad_client = 'pub-4891712477108158';
            google_ad_channel = '3851351965';
			google_ad_output = 'js';
			google_language = 'gr';
			google_encoding = 'utf8';
			google_safe = 'high';
			google_feedback = 'on';          						
			google_ad_type = 'text';

			/*						
			google_ad_type = 'text_html';
			google_image_size = '728x90';
			
			*/
     
     
     
     