// 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 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;
				} 
		}		

		
-->
 