function onMovieStart()	{
		onMoviePlay();
	}

	function onMoviePlay()	{

		var Player = document.all["moviePlayer1"];
//		
//		if(Player)
//	        Player.controls.play();

		if (Player.controls.isAvailable('Play'))	{

			//document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'></font>";

			Player.settings.playCount = 0;
			Player.controls.play();
			//onMovieProcess();

		}
	}

	function onMovieStop()	{

		var Player = document.all["moviePlayer1"];

		if (Player.controls.isAvailable('Stop'))	{
			//document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'></font>";
			Player.controls.stop();
		}

	}

	function onMoviePrev()	{

		var Player = document.all["moviePlayer"];

		if (Player.controls.isAvailable('FastReverse'))	{
			document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'></font>";
			Player.controls.fastReverse();
		}
	}

	function onMovieNext()	{

		var Player = document.all["moviePlayer"];

		if (Player.controls.isAvailable('FastForward'))	{
			document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'></font>";
			Player.controls.fastForward();
		}

	}

	function onMovieSoundoff()	{
		var Player = document.all["moviePlayer"];
		Player.settings.volume =  0 ;
	}
	function onMovieSoundoff1()	{
		var Player = document.all["moviePlayer1"];
		
		if(Player.settings.volume != 0)
		{
			Player.settings.volume =  0 ;
		}
		else
		{
			Player.settings.volume =  60 ;
		}
	}

	function onMovieExpand()	{
//		ExpandSize();
		FullSize();
	}

	var processTime;

	function onMovieProcess()	{
	
		try		{

			var Player = document.all["moviePlayer"];
			var p;

			if( "object" != typeof(Player))
				return;

			if(0 > Player.controls.currentPosition)	{
				p = 0;
			}
			else	{
				p = parseFloat(parseInt(Player.controls.currentPosition) * 100 / parseInt(Player.currentMedia.duration));
			}

			if (0 < p && "undefined" != typeof(document.all.musicprocess))
			{
				document.all.musicprocess.style.display = '';
				document.all.musicprocess.style.width = p * ((100-19)/100) ;
			}

			document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'></font>";

			processTime = setTimeout('onMovieProcess()', 2000);
		
		}
		catch(e)	{
			if(processTime > 0)	clearTimeout(processTime);
			return;
		}
	}

	function onInitVol()	{
		
		ex = event.clientX;
		ey = event.clientY;

		volpx = vol.style.pixelLeft;
		volpy = vol.style.pixelTop;

		bDragCheck = true;

		document.onmousemove = onVolumnControl;

		if (document.all) {
			document.onmouseup = new Function('bDragCheck=false');
		}
	}
	
	function FullScreen()
	{
	    var Player = document.all["moviePlayer1"];
	    
	    if(Player.playState == "3")
	        Player.fullScreen = "true";
	}

	function onVolumnControl() {

		if(bDragCheck)	{

			var mPos = volpx + event.clientX - ex;

			if (mPos > -1 && mPos < 30) { 
			
				document.all.vol.style.pixelLeft = mPos;

				var soundness = mPos - 14;

				if (-14 < soundness)	{
					
					var Player = document.all["moviePlayer"];
					Player.settings.volume = 60 + (soundness * 3);

				} 
				else if (-14 > soundness ) {

					var Player = document.all["moviePlayer"];
					Player.settings.volume =  0 ;

				}
			}

			return false;
		}
	}

    var idI;

	function onMovieProgress()	{

		var Player = document.all["moviePlayer"];
		var cnt = Player.network.bufferingProgress;
		
		if(cnt >= 100)	{
			window.clearInterval(idI);
		}
		document.all.loadingbar.innerHTML = "<font face='µ¸¿ò' style='font size:11' color='#6F7B9A'>"+cnt+"%</font>";
	}