function GoTo_URL(select) {
  var Current_Index = select.options[select.options.selectedIndex].value;
  if (Current_Index != "emty") {
            window.location.href = Current_Index;
  }
}

function sf_nav(sub_id){
    if(typeof(window.IE_sf_nav) == "function") {
        IE_sf_nav(sub_id);
    }
}

function Get_PopUp(URL) {
  win = window.open(URL, 'Verbund', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=470,height=570,screenX=5,screenY=5,alwaysRaised=yes');
}
 
function footer() {
try{

}catch(e){} 
} //end function footer()

sfHover = function() {
    if(document.getElementById("sf-nav")) {
        var sfEls = document.getElementById("sf-nav").getElementsByTagName("LI");
        //only for IE
        if(sIFR.UA.bIsIE) {
            for (var i=0; i<sfEls.length; i++) {
                sfEls[i].onmouseover=function() {
                    this.className+=" sfhover";
                }
                sfEls[i].onmouseout=function() {
                    this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
                }
            }
        }
    }
}
//if (window.attachEvent) window.attachEvent("onload", sfHover);

window.onload = function() {
	var browser=navigator.userAgent;
	if (browser.indexOf("MSIE")>=0)
	{
	    sfHover();
    }
    footer();
}
window.onresize = function() {
    footer();
}// Flash Control
/*
*    @param    animate toggles flash animation on/off
*/
function displayWaterAnimation(animate) {
    var showFlash = animate;
    var agent = navigator.userAgent;
    var platform = navigator.platform;
    // Check for Safari
    var result = agent.search(/Safari.+/);
    if (result != -1) {
        showFlash = false;
    }
    // Check for Netscape
    var result = agent.search(/Netscape.+/);
    if (result != -1) {
        showFlash = false;
    }
    // Check for Mac IE
    var result = agent.search(/MSIE.+/);
    var result2 = platform.search(/Mac.+/);
    if (result != -1 && result2 != -1) {
        showFlash = false;
    }
    // Display Flash
    if (showFlash) {
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="400" height="590" id="water_animation" align="middle">');
        document.write('    <param name="allowScriptAccess" value="sameDomain" />');
        document.write('    <param name="movie" value="/static_verbund_internet/images/backgrounds/water_animation.swf" />');
        document.write('    <param name="quality" value="high" />');
        document.write('    <param name="wmode" value="opaque" />');
        document.write('    <param name="bgcolor" value="#062563" />');
        document.write('    <embed src="/static_verbund_internet/images/backgrounds/water_animation.swf" quality="high" wmode="opaque" bgcolor="#062563" width="400" height="590" name="water_animation" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>');
    }
    // Or show alternative for Safari
    else {
        document.write('<img src="/static_verbund_internet/images/backgrounds/loop_000.jpg" alt="Wasser"/>');
    }
}

/*
jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery('#form_iframe').load(function() {
		var realIFrameHeight = 0;
		var extraHeight = 150;
		try {
			realIFrameHeight = this.contentWindow.document.body.childNodes[1].offsetHeight;
		} catch (e) {
			realIFrameHeight = this.contentWindow.document.body.childNodes[0].offsetHeight;
		}
		this.style.height = realIFrameHeight + extraHeight + 'px';
		try {
			if ((jQuery.browser.msie) && (parseInt(jQuery.browser.version) <= 6)) {
				jQuery('#footer').css({top:(jQuery('#form_iframe').offset().top + jQuery('#form_iframe').height() + 15) + 'px'});
			}
		} catch (e) {}
		return true;
	});	
});
*/
