function fixPNG(myImage) // correctly handle PNG transparency in Win IE 5.5 or higher.
   {
    if (window.ie55up)
	 {
	 var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
	 var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
	 var imgTitle = (myImage.title) ? "title='" + myImage.title + "' " : "title='" + myImage.alt + "' "
	 var imgStyle = "display:inline-block;" + myImage.style.cssText 
	 var strNewHTML = "<span " + imgID + imgClass + imgTitle
	 strNewHTML += " style=\"" + "width:" + myImage.width + "px; height:" + myImage.height + "px;" + imgStyle + ";"
	 strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
	 strNewHTML += "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>" 
	 myImage.outerHTML = strNewHTML
	 }
   }
   
   
   
   
window.onload = function(){
var button2 = $('button2');
var content2 = $('FlashDrive');
var b2Toggle = new Fx.Style('FlashDrive', 'height',{duration: 500});
if(button2 != null) {
	button2.addEvent('click', function(){
	  if(content2.getStyle('height').toInt() > 92){
	    b2Toggle.start(92);
		dispatchState ( "close" );
	  }else{
	    b2Toggle.start(c2Height);
		dispatchState ( "open" );
	  }
	  button2.toggleClass('button2_');
	    return false;
	});


content2.setStyle('display','block');
content2.setStyle('height','92px');
var c2Height = content2.getSize().scrollSize.y;
}
};


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openKursListPopup(id) {
	MM_openBrWindow('/cms/de/public/club_service/clubpop.jsp?clubid='+id,'kursplan','width=850,height=730,scrollbars=no')
}