// JavaScript Document
<!--
		function OpenPlayer(mypathfile,precode,w,h,descname){
				if (mypathfile) {
					document.getElementById("EMBEDED1").innerHTML = precode + "<EMBED TYPE=\"application/x-mplayer2\" id=\"music\" width=\""+w+"\" height=\""+h+"px\" pluginspage=\"http://www.microsoft.com/windows/mediaplayer/download/default.asp\" src ='" + mypathfile + "' animationatStart=\"true\" ShowStatusBar=\"1\" transparentatStart=\"true\" autoStart=\"true\" AudioStream=\"true\"  ShowAudioControls=\"true\"  ShowPositionControls=\"true\" BufferingTime=\"5\" SendOpenStateChangeEvents=\"true\"><EMBED /><noembed>Spiacente, plugin non disponibile</noembed>";
					document.getElementById("EMBEDED1").className ="stream";
				} 
				if (descname) {
					document.getElementById("testostream").innerHTML = descname;
				} 
		}
		function OpenPlayer_mp3(mypathfile,precode,w,h,descname){
				if (mypathfile) {
					document.getElementById("EMBEDED1").innerHTML = precode + "<EMBED TYPE=\"application/x-mplayer2\" id=\"music\" width=\""+w+"px\" height=\""+h+"px\" pluginspage=\"http://www.microsoft.com/windows/mediaplayer/download/default.asp\" src ='" + mypathfile + "' animationatStart=\"true\" ShowStatusBar=\"1\" transparentatStart=\"true\" autoStart=\"true\" AudioStream=\"true\"  ShowAudioControls=\"true\"  ShowPositionControls=\"true\" BufferingTime=\"5\" SendOpenStateChangeEvents=\"true\"><EMBED /><noembed>Spiacente, plugin non disponibile</noembed>";
					document.getElementById("EMBEDED1").className ="stream";
				} 
				if (descname) {
					document.getElementById("testostream").innerHTML = descname;
				} 
		}
		
		function OpenPlayerFLVKSoft(mypathfile, precode, w, h, descname, img)
		{
				if (mypathfile)
				{
					precode = precode + '<object width="400" height="338" name="single1" id="single1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">';
					precode = precode + '	<param value="http://eventi.ksoft.tv/pdl/03_2010/player.swf" name="movie">';
					precode = precode + '	<param value="true" name="allowfullscreen">';
					precode = precode + '	<param value="always" name="allowscriptaccess">';
					precode = precode + '	<param value="transparent" name="wmode">';
					precode = precode + '	<param value="file='+mypathfile+'" name="flashvars">';
					precode = precode + '	<embed width="'+w+'" height="'+h+'" flashvars="file='+mypathfile+'" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" bgcolor="undefined" src="http://eventi.ksoft.tv/pdl/03_2010/player.swf" name="single2" id="single2" type="application/x-shockwave-flash">';
					precode = precode + '</object>';
				
					document.getElementById("EMBEDED1").innerHTML = precode;					
					document.getElementById("EMBEDED1").className ="stream";
				} 
				if (descname)
					document.getElementById("testostream").innerHTML = descname;
		}
		
		function OpenPlayerFLV(mypathfile,precode,w,h,descname,img){
				if (mypathfile) {
					
					
					document.getElementById("EMBEDED1").innerHTML = precode + "<embed src=\"/lettore/flvplayer.swf\" width=\"530\" height=\"320\" allowfullscreen=\"true\" allowscriptaccess=\"always\" flashvars=\"&file="+mypathfile+"&height="+h+"&width="+w+"&image="+img+"\" /><noembed>Spiacente, plugin non disponibile</noembed>";					
					//document.getElementById("EMBEDED1").innerHTML = precode + "<EMBED TYPE=\"application/x-mplayer2\" id=\"music\" width=\""+w+"\" height=\""+h+"px\" pluginspage=\"http://www.microsoft.com/windows/mediaplayer/download/default.asp\" src ='" + mypathfile + "' animationatStart=\"true\" ShowStatusBar=\"1\" transparentatStart=\"true\" autoStart=\"true\" AudioStream=\"true\"  ShowAudioControls=\"true\"  ShowPositionControls=\"true\" BufferingTime=\"5\" SendOpenStateChangeEvents=\"true\"><EMBED />";
					document.getElementById("EMBEDED1").className ="stream";
				} 
				
				if (descname) {
					document.getElementById("testostream").innerHTML = descname;
				} 
		}		


		function OpenPlayerYOUTUBE(mypathfile,precode,w,h,descname,img){
				if (mypathfile) {

					document.getElementById("EMBEDED1").innerHTML = precode + "<object width=\""+w+"\" height=\""+h+"\"><param name=\"movie\" value=\""+mypathfile+"\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\""+mypathfile+"\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\""+w+"\" height=\""+h+"\"></embed><noembed>Spiacente, plugin non disponibile</noembed></object>";					
					document.getElementById("EMBEDED1").className ="stream";
				} 
				
				if (descname) {
					document.getElementById("testostream").innerHTML = descname;
				} 
		}		

		
-->
 