var video_paused = false;
//-------------------------------------------------------------------------------------
// Fonction de gestion de la vidéo WMV
//-------------------------------------------------------------------------------------
function video_fullscreen() {

	if (video_player) {
		video_player.fullscreen='true'; // firefox
		video_player.DisplaySize=3; // ie
		video_play();
	}
}
//-------------------------------------------------------------------------------------
function video_play() {

	if (video_player) { try { video_player.Play(); video_paused = false; } catch(err) {} }
}
//-------------------------------------------------------------------------------------
function video_pause() {

	if (video_player) { try { video_player.Pause(); video_paused = true; } catch(err) {} }
}
//-------------------------------------------------------------------------------------
function video_move( pos ) { 

	if (video_player) {
		
		//alert(video_player.PlayState);
		
		showw();
		
		video_player.currentPosition = (pos/1000);
		video_play();
	}
}
//-------------------------------------------------------------------------------------
function video_position() {

	if (video_player)
		return (video_player.currentPosition * 1000);
	else
		return 0;
}
//-------------------------------------------------------------------------------------
