// JavaScript Document

function lanciaVideo(content) {
		   
		    var flashvars = {
				file:content,
                streamer:streamer,
                frontcolor:"888888",
                autostart:"true",
                backcolor:"000000",
                lightcolor:"888888",
                screencolor:"000000",
				bufferlength:"5"				               
                };
            var params = {
                allowscriptaccess:"always",
                allowfullscreen:"true"                
                };
            var attributes = {
                //id:"flashPlayer"
                };           
            
            swfobject.embedSWF("swf/videoStage.swf", "swfplayer", "700", "440", "9.0.0","swf/expressInstall.swf", flashvars, params, attributes);
		
			playStatus = true;
			
}

function thisMovie(movieName) {
         if (navigator.appName.indexOf("Microsoft") != -1) {
             return window[movieName];
         } else {
             return document[movieName];
         }
     }
function flashCallVideo(num) {
         thisMovie("ApmarTV").flashCallVideo(num);
         //$('videoStage').morph({'background-color':'#FFF'});


     }
function jsDoppiaIntervista(path,titolo) {
		thisMovie("ApmarTV").jsDoppiaIntervista(path,titolo);
}