$(document).ready(function() {
	
    $("#box_christian").mouseenter(function(){
			$("#team_christian").flashembed({src: "swf/team_ap.swf", wmode: 'transparent'},{vUrl: 'http://www.redrabbit-film.com/swf/teamchristian.flv'});
	});

	$("#box_christian").mouseleave(function(){
			$("#team_christian").empty();
	});
	
	$("#box_roland").mouseenter(function(){
			$("#team_roland").flashembed({src: "swf/team_ap.swf", wmode: 'transparent'},{vUrl: 'http://www.redrabbit-film.com/swf/teamroland.flv'});
	});
	$("#box_roland").mouseleave(function(){
			$("#team_roland").empty();
	});
	
    $("#box_stefan").mouseenter(function(){
			$("#team_stefan").flashembed({src: "swf/team_ap.swf", wmode: 'transparent'},{vUrl: 'http://www.redrabbit-film.com/swf/teamstefan.flv'});
	});
	$("#box_stefan").mouseleave(function(){
			$("#team_stefan").empty();
	});
	
	setTimeout("$.$anim.introOut()",7700);
	
	$("#menu ul.menu_list a").$menu();
	$("#footer ul.menu_list a").$menu();
	
	$("#player, #clicker").mouseenter(function(){
		$("#nestedInp").focus();
		$("html").keypress(function (e) {
			if(e.which == 0 && $player.statePlayer == true){$player.hidePlayer();};
				});
	});	
	$("div#clicker")
		.click(function (){
			$player.hidePlayer();
		});	
	$(".email_office").click(function(){
			window.location.href ="mailto:hasenbau@redrabbit-film.com";
	});	
	$(".email_roland").click(function(){
			window.location.href ="mailto:rh@redrabbit-film.com";
	});	
	$(".email_hoerlsberger").click(function(){
			window.location.href ="mailto:ch@redrabbit-film.com";
	});	
	$(".email_prohinig").click(function(){
			window.location.href ="mailto:sp@redrabbit-film.com";
	});	
								




});

