

 <!--
 
 // This function displays the ad results.
 // It must be defined above the script that calls show_ads.js
 // to guarantee that it is defined when show_ads.js makes the call-back.

 function google_ad_request_done(google_ads) {
	// Proceed only if we have ads to display!
	if (google_ads.length < 1 )
		return;
	
	AdUnit = new Array();
	

	// Display ads in a table
	
			// For text ads, display each ad in turn.
			// In this example, each ad goes in a new row in the table.
		   if (google_ads[0].type == 'text') { 
		     for(i = 0; i < google_ads.length; ++i) {
		      	AdUnit[i] = '<a style="cursor:pointer;cursor:hand;text-decoration:none" onclick="javascript:top.location.href=\'' + google_ads[i].url + '\'"  onmouseover="window.status=\'gehe zu ' + google_ads[i].visible_url + '\'" onmouseout="window.status=\'\'">' +
		        '<table cellspacing="3" cellpadding="0" width="748"><tr><td width="155"><nobr><font style="text-decoration:none;font-weight:bold"><span class="GoogleTextBold">' + google_ads[i].line1 + '</span></font></nobr></td><td width="406"><font class="GoogleDefault">' + google_ads[i].line2 + '&nbsp;' + google_ads[i].line3 + '</font></td><td width="175" align="right"><nobr><font class="GoogleGray">' + 
		        google_ads[i].visible_url + '</font></nobr></td></tr></table></a>';
		     }
		   	}
		
		
   
	
		if (i < 0 + 1)
			{
			document.getElementById("tr1").style.visibility = "hidden";
			document.getElementById("tr1").style.fontSize = "0px";
			document.getElementById("tr1").style.height = "0px";
			}
		else
			{
				document.getElementById("AdUnit1").innerHTML = AdUnit[0];
			}
	
		if (i < 1 + 1)
			{
			document.getElementById("tr2").style.visibility = "hidden";
			document.getElementById("tr2").style.fontSize = "0px";
			document.getElementById("tr2").style.height = "0px";
			}
		else
			{
				document.getElementById("AdUnit2").innerHTML = AdUnit[1];
			}
	
		if (i < 2 + 1)
			{
			document.getElementById("tr3").style.visibility = "hidden";
			document.getElementById("tr3").style.fontSize = "0px";
			document.getElementById("tr3").style.height = "0px";
			}
		else
			{
				document.getElementById("AdUnit3").innerHTML = AdUnit[2];
			}
	
	
   	//document.getElementById("AdUnit1").innerHTML += AdUnit1;
	
	//	if (google_ads[0].type != 'image')
	//	document.getElementById("secondAdUnit").innerHTML += secondAdUnit;
	
   return;
 }

 
 /*
* Funktion f?r PopUp-Fenster
*/
function popUp(popUpURL, popUpName, popUpWidth, popUpHeight) {
	var popUpParamString = "";	
	if(popUpName == "fix"){//feste gr?sse, keine scrollbars
		if(popUpHeight == ""){
			popUpHeight = 180;
		}		
		if(popUpWidth == ""){
			popUpWidth = 200;
		}
		popUpParamString = "menubar=0,location=0,toolbar=0,status=0,resizable=0,scrollbars=yes,dependent=1,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	else if(popUpName == "flex"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=1,location=0,toolbar=0,status=1,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
		
	else if(popUpName == "flux"){//feste gr?sse, mit scrollbars
		
		if(popUpHeight == ""){
			popUpHeight = 600;
		}
		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=0,location=0,toolbar=0,status=0,resizable=0,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	
	else if(popUpName == "media"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=1,location=0,toolbar=1,status=1,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}
	else if(popUpName == "agb"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 700;
		}
		popUpParamString = "menubar=0,location=0,toolbar=1,status=0,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	window.open(popUpURL,popUpName,popUpParamString);
}
 -->
