/***************************************************************
*  Copyright notice
*
*  (c) 2008 Alex Kellner <alexander.kellner@einpraegsam.net>
*  All rights reserved
*
*  This script is part of the TYPO3 project. The TYPO3 project is
*  free software; you can redistribute it and/or modify
*  it under the terms of the GNU General Public License as published by
*  the Free Software Foundation; either version 2 of the License, or
*  (at your option) any later version.
*
*  The GNU General Public License can be found at
*  http://www.gnu.org/copyleft/gpl.html.
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*
*  This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/


function wt_socialbookmarks_add2favourite(Text, URL) {

	if (window.sidebar) { // firefox
		window.sidebar.addPanel(Text, URL, "");
	}
	
	else if(window.opera && window.print) { // opera
		var elem = document.createElement('a');
		elem.setAttribute('href', URL);
		elem.setAttribute('title', Text);
		elem.setAttribute('rel', 'sidebar');
		elem.click();
	}
	
	else if(document.all) { // ie
		window.external.AddFavorite(URL, Text);
	}
}

<!--// <![CDATA[
  var MAX_channel = '/extern/realmadrid';
// ]]> -->

<!--// <![CDATA[
var MAX_p=location.protocol=='https:'?'https:':'http:';
var MAX_r=Math.floor(Math.random()*99999999);
if (!document.MAX_used) document.MAX_used = ',';
function MAX_adjs(z,n)
{
  if (z>-1) {
    var az="<"+"script language='JavaScript' type='text/javascript' ";
    az+="src='"+MAX_p+"//ads.sportwerk.net/openads/www/delivery/ajs.php?n="+n+"&zoneid="+z;
    az+="&withtext=1&blockcampaign=1&source="+MAX_channel+"&exclude="+document.MAX_used+"&r="+MAX_r;
    az+="&mmm_fo="+(document.mmm_fo)?'1':'0';
    if (document.context) az+= "&context=" + escape(document.context);
    if (window.location) az+="&loc="+escape(window.location);
    if (document.referrer) az+="&referer="+escape(document.referrer);
    az+="'><"+"/script>";
    document.write(az);
  }
}
function MAX_adpop(z,n)
{
  if (z>-1) {
    var az="<"+"script language='JavaScript' type='text/javascript' ";
    az+="src='"+MAX_p+"//ads.sportwerk.net/openads/www/delivery/apu.php?n="+n+"&zoneid="+z;
    az+="&source="+MAX_channel+"&exclude="+document.MAX_used+"&r="+MAX_r;
    if (window.location) az+="&loc="+escape(window.location);
    if (document.referrer) az+="&referer="+escape(document.referrer);
    az+="'><"+"/script>";
    document.write(az);
  }
}
function MAX_adpop2(z,n)
{
  if (z>-1) {
   var az="<"+"script language='JavaScript' type='text/javascript' ";
   az+="src='"+MAX_p+"//ads.sportwerk.net/max/www/delivery/apu.php?popunder=1&n="+n+"&zoneid="+z;
   az+="&source="+MAX_channel+"&exclude="+document.MAX_used+"&r="+MAX_r;
   if (window.location) az+="&loc="+escape(window.location);
   if (document.referrer) az+="&referer="+escape(document.referrer);
   az+="'><"+"/script>";
   document.write(az);
  }
}
// ]]> -->