

function movthatext(id) {
	var y = document.getElementById(id);
	$('#'+id).fadeOut('fast', function() {
		var set =0;
		var string1="<STRONG>Das einzigartige Workout f&uuml;r die Mama mit dem Baby im Beutel...</STRONG>";
		var string2="<STRONG>Du wirst fit und dein Baby macht mit...</STRONG>";
		var string3="<STRONG>Von Hebammen und Trageberaterinnen empfohlen...</STRONG>";
		if(y.innerHTML.toUpperCase().substr(0,15)==string3.toUpperCase().substr(0,15) && set == 0){
			$('#'+id).html(string1);
			$('#'+id).fadeIn('fast', function() {});
			set=1;
		}
		if(y.innerHTML.toUpperCase().substr(0,15)==string1.toUpperCase().substr(0,15) && set == 0){
			$('#'+id).html(string2);
			$('#'+id).fadeIn('fast', function() {});
			set=1;
		}
		if(y.innerHTML.toUpperCase().substr(0,15)==string2.toUpperCase().substr(0,15) && set == 0){
			$('#'+id).html(string3);
			$('#'+id).fadeIn('fast', function() {});
			set=1;
		}
	});


}

function js_random( min, max ) {
	if( min > max ) {
		return( -1 );
	}
	if( min == max ) {
		return( min );
	}
	return( min + parseInt( Math.random() * ( max-min+1 ) ) );
}

function fadeDIV( id,var1 ){	
	if(navigator.appName != "Netscape"){
		document.getElementById(id).style.opacity = var1 / 10;
		document.getElementById(id).style.filter = 'alpha(opacity=' + var1*10 + ')';
	}else{
		document.getElementById(id).style.opacity = var1 / 10;
	}
}
