/*
function selectVideo(id)
{
	for(i=0;i<videoArr.length;i++)
	{
		jQuery('#div_player'+videoArr[i]).hide();
	}
	jQuery('#div_player'+id).show();
	jQuery('.videolinks').css("font-weight","normal");
	jQuery('#videolink'+id).css("font-weight","bold");
	AC_FL_RunContent = 1;
}
*/

$.noConflict();
jQuery(document).ready(function(){
	jQuery("#div_container_content a[@rel*=lightbox]").lightbox();
	
	jQuery('#termin_datumvon').datepick();
	jQuery('#termin_datumbis').datepick();
	jQuery('#job_ablaufdate').datepick();
	jQuery('#job_date').datepick();
	jQuery('#termin_datumvon2').datepick();
	jQuery('#termin_datumbis2').datepick();
	jQuery('#job_ablaufdate2').datepick();
	jQuery('#job_date2').datepick();
	jQuery('#presseartikel_date').datepick();
	jQuery('#presseartikel_date2').datepick();
	
	jQuery('#mm_replace').html(jQuery('#mm_link').html());
	jQuery('#mm_link').css("display","none");
	
	videoplayer = flowplayer("player", {
		src: "/flash/flowplayer.commercial.swf",
		wmode: 'opaque'
	}, {
		key: "#@92dd22d575bd76cdfd8",
	    clip:  {
	        autoPlay: true,
	        autoBuffering: true,
	    },
	    play: {
			replayLabel: "nochmal abspielen"
		}
	});
});

function videoplayerShutdown()
{
	document.getElementById("img_fullsize").style.display = "block";
	document.getElementById('player').style.display='none';
	jQuery('.img_video_start').css("display","inline");
	jQuery('.video_player').css("display","none");
}

