$(document).ready(function(){
	$('#w-top').cycle({ 
		fx:    'fade', 
		speed:  2000,
		timeout: 4000,
		pause: 2.0
	 });
});

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

function expand( targetId ){
	if (document.getElementById){
		target = document.getElementById( targetId );
		
		if (target.style.display == "none"){
              target.style.display = "";
        }
	}
}

function unexpand( targetId ){
	if (document.getElementById){
		target = document.getElementById( targetId );
		
		if (target.style.display == ""){
			target.style.display = "none";
		}
	}
}

function openInputFields(myid) {
	f = document.anfrage;
	
	myopt = document.getElementById('opt_' + myid);
	
	if (myopt.checked) {
		expand(myid);
	} else {
		unexpand(myid);	
	}
}