// DEFINE GLOBAL VARIABLES
// Banner Oben
FULL_IA_IB_O = "5720";
FULL_IA_PE_O = "5724";
FULL_IA_HP_O = "5727";
FULL_IF_FP_O = "5734";
FULL_IF_HP_O = "5736";
FULL_IF_ZI_O = "5739";
FULL_IS_DE_O = "5743";
FULL_IS_DS_O = "5746";
FULL_IS_KS_O = "5749";
FULL_IS_KE_O = "5752";
FULL_IS_TL_O = "5755";
FULL_IS_US_O = "5758";
FULL_MP_LG_O = "5761";
FULL_WM_BM_O = "5798";
FULL_WM_FV_O = "5801";
FULL_WM_RU_O = "5804";
FULL_WM_HP_O = "6060";
FULL_WM_UE_O = "5808";
FULL_WM_WQ_O = "5810";
FULL_APPL_O = "";
FULL_MP_PP_O = "9727";

// Banner Unten
FULL_IA_IB_U = "5721";
FULL_IA_PE_U = "5725";
FULL_IA_HP_U = "5728";
FULL_IF_FP_U = "5735";
FULL_IF_HP_U = "5737";
FULL_IF_ZI_U = "5732";
FULL_IF_PR_U = "0000"; //drh: dummy number (nobody knows the correct one; anyway: adds aren't used here)
FULL_IS_DE_U = "6061";
FULL_IS_DS_U = "5747";
FULL_IS_FP_U = "0000"; //drh: dummy number (nobody knows the correct one; anyway: adds aren't used here)
FULL_IS_KS_U = "5750";
FULL_IS_KE_U = "5753";
FULL_IS_TL_U = "5756";
FULL_IS_US_U = "5759";
FULL_IS_A_U = "9019";
FULL_MP_LG_U = "5762";
FULL_WM_BM_U = "5799";
FULL_WM_FV_U = "5802";
FULL_WM_RU_U = "5805";
FULL_WM_HP_U = "6062";
FULL_WM_UE_U = "5809";
FULL_WM_WQ_U = "5811";
FULL_APPL_U = "";

// Banner
FULL_MP_LG = "9728";

// Banner Billboard
BB_IA_IB = "5723";
BB_IA_PE = "5726";
BB_IA_HP = "5729";
BB_IF_FP = "5730";
BB_IF_HP = "5738";
BB_IF_PR = "0000"; //drh: dummy number (nobody knows the correct one; anyway: adds aren't used here)
BB_IF_ZI = "5733";
BB_IS_DE = "5745";
BB_IS_DS = "5748";
BB_IS_KS = "5751";
BB_IS_KE = "5754";
BB_IS_TL = "5757";
BB_IS_US = "5760";
BB_WM_BM = "5800";
BB_WM_FV_1 = "5803";
BB_WM_RU = "5806";
BB_WM_HP_1 = "6063";
BB_WM_UE = "5807";
BB_WM_WQ = "5812";
BB_MP_PP = "9726";
BB_MP_LG = "5763";

// Banner Variabel Logout
DY_MP_LG = "5763";

// Neues Banner Funktion vom 27.02.2007 eingebaut von azobel.
function writeAdBanner(id,width,height)
{
	if(id != "")
	{
	  var prot = document.location.protocol;

	  document.writeln("<!-- BEGIN ADITIONTAG Website-Tag Fuer Website: Planethome, Werbeplatz: " + id + " -->");
	  document.writeln("<script type=\"text/javascript\" src=\"" + prot + "//imagesrv.adition.com/js/adition.js\"></script>");
	  document.writeln("<script type=\"text/javascript\" src=\"" + prot + "//adfarm1.adition.com/js?wp_id=" + id + "\"></script>");
	  document.writeln("<!-- END ADITIONTAG -->");
	}
}

function writeBreadcrumb(text)
{
	document.write(text.toLowerCase());
	return true;
}

function getURLAddon()
{
  
	var url_add=location.href;
  url_add2=url_add.substring(url_add.indexOf(";jsessionid="),url_add.length);
  
  return url_add2;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; 
  for(i=0; a&&i<a.length && (x=a[i]) && x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  
  var d=document;
  
  if(d.images){ 
      if(!d.MM_p) d.MM_p=new Array();
      
      var i,j=d.MM_p.length, a=MM_preloadImages.arguments; 
      
         for(i=0; i<a.length; i++)
           if (a[i].indexOf("#")!=0){ 
             d.MM_p[j]=new Image;
             d.MM_p[j++].src=a[i];
           }
  }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document;
  
  if((p=n.indexOf("?"))>0 && parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document;
    n=n.substring(0,p);
  }
  
  if(!(x=d[n])&&d.all) 
   x=d.all[n]; 
  
  for (i=0;!x &&i <d.forms.length;i++)
   x=d.forms[i][n];
  
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)
   x=MM_findObj(n,d.layers[i].document);
  
  if(!x && d.getElementById)
   x=d.getElementById(n);
  
  return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments;  
  document.MM_sr=new Array; 
  for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){
       document.MM_sr[j++]=x;
       if(!x.oSrc) x.oSrc=x.src;
       
       x.src=a[i+2];
   }
}