// -------------- Play Movie ----------
function PlayMovieEx(VideoWin, VideoMac)
{
var tmp = new String(VideoMac);
if (tmp.length < 1)  {
	VideoMac = VideoWin;
}

var Video = null;
if (IsMac) {
Video = VideoMac;
document.write('<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="255" name="movie1" id="movie1">');
document.write('<PARAM name="src" value="'+Video+'">');
document.write('<PARAM name="type" value="video/quicktime">');
document.write('<PARAM name="kioskmode" value="false">');
document.write('<EMBED width="320" height="255" src="'+Video+'" name="movie1" enablejavascript="true" TYPE="video/quicktime" controller="true" autoplay="true" kioskmode="false">');
document.write('</EMBED>');
document.write('</OBJECT>');
} else {
Video = VideoWin;
document.write('<OBJECT Id="MediaPlayer" Name="MediaPlayer" Width=352 Height=288 classId="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" Standby="Loading Microsoft Windows Media Player components..." Type="application/x-oleobject">');
document.write('<PARAM NAME="FileName" value="'+Video+'">');
document.write('<PARAM NAME="ShowControls" value="1">');
document.write('<PARAM NAME="ShowAudioControls" value="1">');
document.write('<PARAM NAME="ShowPositionControls" value="1">');
document.write('<PARAM NAME="ShowTracker" value="1">');
document.write('<PARAM NAME="ShowDisplay" value="0">');
document.write('<PARAM NAME="ShowStatusBar" value="1">');
document.write('<PARAM NAME="ShowCaptioning" value="0">');
document.write('<PARAM ="AnimationAtStart" value="0">');
document.write('<PARAM NAME="TransparentAtStart" value="0">');
document.write('<PARAM NAME="autoStart" value="true">');
document.write('<PARAM NAME="AutoSize" value="1">');
document.write('<PARAM NAME="AutoRewind" value="1">');
document.write('<EMBED  Id="MediaPlayer"');
document.write('Name="MediaPlayer"');
document.write('Width="500"');
document.write('Height="375"');
document.write('PluginsPage="http://www.microsoft.com/windows/windowsmedia/download/"');
document.write('Type="application/x-mplayer2"');
document.write('FileName="'+Video+'"');
document.write('SRC="'+Video+'"');
document.write('ShowControls="1"');
document.write('ShowAudioControls="1"');
document.write('ShowPositionControls="1"');
document.write('ShowTracker="1"');
document.write('ShowDisplay="0"');
document.write('ShowStatusBar="1"');
document.write('ShowCaptioning="0"');
document.write('AnimationAtStart="0"');
document.write('TransparentAtStart="0"');
document.write('AutoRewind="1"');
document.write('AutoSize="1"');
document.write('AutoStart="1">');
document.write('</EMBED>');
document.write('</OBJECT>');
}
}

function PlayMovieBigEx(VideoWin, VideoMac)
{
var tmp = new String(VideoMac);
if (tmp.length < 1)  {
	VideoMac = VideoWin;
}
var Video = null;
if (IsMac) {
Video = VideoMac;
document.write('<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="500" height="390" name="movie1" id="movie1">');
document.write('<PARAM name="src" value="'+Video+'">');
document.write('<PARAM name="type" value="video/quicktime">');
document.write('<PARAM name="kioskmode" value="true">');
document.write('<EMBED width="500" height="390" src="'+Video+'" name="movie1" enablejavascript="true" TYPE="video/quicktime" controller="true" autoplay="true" kioskmode="false">');
document.write('</EMBED>');
document.write('</OBJECT>');
} else {
Video = VideoWin;
document.write('<OBJECT Id="MediaPlayer" Name="MediaPlayer" Width=352 Height=288 classId="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" Standby="Loading Microsoft Windows Media Player components..." Type="application/x-oleobject">');
document.write('<PARAM NAME="FileName" VALUE="'+Video+'">');
document.write('<PARAM NAME="ShowControls" VALUE="1">');
document.write('<PARAM NAME="ShowAudioControls" VALUE="1">');
document.write('<PARAM NAME="ShowPositionControls" VALUE="1">');
document.write('<PARAM NAME="ShowTracker" VALUE="1">');
document.write('<PARAM NAME="ShowDisplay" VALUE="0">');
document.write('<PARAM NAME="ShowStatusBar" VALUE="1">');
document.write('<PARAM NAME="ShowCaptioning" VALUE="0">');
document.write('<PARAM ="AnimationAtStart" VALUE="0">');
document.write('<PARAM NAME="TransparentAtStart" VALUE="0">');
document.write('<PARAM NAME="AutoStart" VALUE="1">');
document.write('<PARAM NAME="AutoSize" VALUE="1">');
document.write('<PARAM NAME="AutoRewind" VALUE="1">');
document.write('<EMBED  Id="MediaPlayer"');
document.write('Name="MediaPlayer"');
document.write('Width="500"');
document.write('Height="375"');
document.write('PluginsPage="http://www.microsoft.com/windows/windowsmedia/download/"');
document.write('Type="application/x-mplayer2"');
document.write('FileName="'+Video+'"');
document.write('SRC="'+Video+'"');
document.write('ShowControls="1"');
document.write('ShowAudioControls="1"');
document.write('ShowPositionControls="1"');
document.write('ShowTracker="1"');
document.write('ShowDisplay="0"');
document.write('ShowStatusBar="1"');
document.write('ShowCaptioning="0"');
document.write('AnimationAtStart="0"');
document.write('TransparentAtStart="0"');
document.write('AutoRewind="1"');
document.write('AutoSize="1"');
document.write('AutoStart="1">');
document.write('</EMBED>');
document.write('</OBJECT>');
}
}