function changeSource(w,h,strSource) {
	var width=w;
	var height=h;
    var s;
    
    s="<OBJECT id=winMediaPlayerID ";
					s+="codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ";
					s+="type=application/x-oleobject height=" + height + " ";
					s+="standby=\"Loading Microsoft Windows Media Player components...\" "; 
					s+="width=" + width + " classid=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6 ";
					s+="name=winMediaPlayerID>";
        s+="<PARAM NAME=\"URL\" VALUE=\""+strSource+"\"> ";
        s+="<PARAM NAME=\"rate\" VALUE=\"1\">";
        s+="<PARAM NAME=\"balance\" VALUE=\"0\">";
        s+="<PARAM NAME=\"currentPosition\" VALUE=\"0\">";
        s+="<PARAM NAME=\"defaultFrame\" VALUE=\"0\">";
        s+="<PARAM NAME=\"playCount\" VALUE=\"1\">";
        s+="<PARAM NAME=\"CursorType\" VALUE=\"-1\">";
        s+="<PARAM NAME=\"autoStart\" VALUE=\"0\">";
        s+="<PARAM NAME=\"autoplay\" VALUE=\"0\">";
		 		s+="<PARAM NAME=\"autorewind\" VALUE=\"false\">";
        s+="<PARAM NAME=\"currentMarker\" VALUE=\"0\">";
        s+="<PARAM NAME=\"invokeURLs\" VALUE=\"-1\">";
        s+="<PARAM NAME=\"volume\" VALUE=\"50\">";
        s+="<PARAM NAME=\"mute\" VALUE=\"0\">";
        s+="<PARAM NAME=\"stretchToFit\" VALUE=\"-1\">";
        s+="<PARAM NAME=\"windowlessVideo\" VALUE=\"0\">";
        s+="<PARAM NAME=\"enabled\" VALUE=\"1\">";
        s+="<PARAM NAME=\"fullScreen\" VALUE=\"0\">";
        s+="<PARAM NAME=\"enableContextMenu\" VALUE=\"0\">";
        s+="<PARAM NAME=\"enableErrorDialogs\" VALUE=\"0\"> \n";
        
        s+="<Embed id='winMediaPlayerIDFF' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/windows/windowsmedia/download/' filename='"+strSource+"' src='"+strSource+"' Name='winMediaPlayerIDFF' "; 
					s+="width='" + width + "' ";
					s+="height='" + height + "' ";
					s+="AutoSize='1' ";
					s+="AutoStart='0' ";
					s+="AutoPlay='0' ";
					s+="ClickToPlay='1' ";
					s+="DisplaySize='1' ";
					s+="EnableContextMenu='0' ";
					s+="EnableFullScreenControls='1' "; 
					s+="EnableTracker='1' ";
					s+="Mute='0' ";
					s+="PlayCount='1' "; 
					s+="ShowControls='1' "; 
					s+="ShowAudioControls='1' "; 
					s+="ShowDisplay='0' ";
					s+="ShowGotoBar='0' ";
					s+="ShowPositionControls='1' "; 
					s+="ShowStatusBar='1' ";
					s+="repeat=no ";
					s+="ShowTracker='1' loop='0'> ";
					s+="</embed> ";
    s+="</OBJECT>";
	
    document.getElementById("MediaPlayer").innerHTML=s;
    //scrollTo(0,100);
}