function ShowVideo(url,height,width)
{
						var WMP7;
						
						if ( navigator.appName != "Netscape" ){   
							 WMP7 = new ActiveXObject('WMPlayer.OCX');
						}
						
						// Windows Media Player 7 Code
						if ( WMP7 )
						{
							 document.write ('<OBJECT ID=MediaPlayer ');
							 document.write (' CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6');
							 document.write (' standby="Loading Microsoft Windows Media Player components..."');
							 document.write (' TYPE="application/x-oleobject" width="'+ width +'" height="'+ height +'">');
							 document.write ('<PARAM NAME="url" VALUE="'+ url +'">');
							 document.write ('<PARAM NAME="AutoStart" VALUE="true">');
							 document.write ('<PARAM NAME="ShowControls" VALUE="1">');
							 document.write ('<PARAM NAME="uiMode" VALUE="mini">');
							 document.write ('</OBJECT>');
						}
						
						// Windows Media Player 6.4 Code
						else
						{
							 //IE Code
							 document.write ('<OBJECT ID=MediaPlayer ');
							 document.write ('CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 ');
							 document.write ('CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ');
							 document.write ('standby="Loading Microsoft Windows Media Player components..." ');
							 document.write ('TYPE="application/x-oleobject" width="'+ width +'" height="'+ height +'">');
							 document.write ('<PARAM NAME="FileName" VALUE="'+ url +'">');
							 document.write ('<PARAM NAME="AutoStart" VALUE="true">');
							 document.write ('<PARAM NAME="ShowControls" VALUE="1">');
						
							 //Netscape code
							 document.write ('    <Embed type="application/x-mplayer2"');
							 document.write ('        pluginspage="http://www.microsoft.com/windows/windowsmedia/"');
							 document.write ('        filename="'+ url +'"');
							 document.write ('        src="'+ url +'"');
							 document.write ('        Name=MediaPlayer');
							 document.write ('        ShowControls=1');
							 document.write ('        ShowDisplay=1');
							 document.write ('        ShowStatusBar=1');
							 document.write ('        width=290');
							 document.write ('        height=320>');
							 document.write ('    </embed>');
						
							 document.write ('</OBJECT>');
						}
} //end function




function WriteVideo(url,height,width)
{
						var WMP7; 
						var s="";
						
						if ( navigator.appName != "Netscape" ){   
							 WMP7 = new ActiveXObject('WMPlayer.OCX');
						}
						
						// Windows Media Player 7 Code
						if ( WMP7 )
						{
							 s+='<OBJECT ID=MediaPlayer ';
							 s+=' CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6';
							 s+=' standby="Loading Microsoft Windows Media Player components..."';
							 s+=' TYPE="application/x-oleobject" width="'+ width +'" height="'+ height +'">';
							 s+='<PARAM NAME="url" VALUE="'+ url +'">';
							 s+='<PARAM NAME="AutoStart" VALUE="true">';
							 s+='<PARAM NAME="ShowControls" VALUE="1">';
							 s+='<PARAM NAME="uiMode" VALUE="mini">';
							 s+='</OBJECT>';
						}
						
						// Windows Media Player 6.4 Code
						else
						{
							 //IE Code
							 s+='<OBJECT ID=MediaPlayer ';
							 s+='CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 ';
							 s+='CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 ';
							 s+='standby="Loading Microsoft Windows Media Player components..." ';
							 s+='TYPE="application/x-oleobject" width="'+ width +'" height="'+ height +'">';
							 s+='<PARAM NAME="FileName" VALUE="'+ url +'">';
							 s+='<PARAM NAME="AutoStart" VALUE="true">';
							 s+='<PARAM NAME="ShowControls" VALUE="1">';
						
							 //Netscape code
							 s+='    <Embed type="application/x-mplayer2"';
							 s+='        pluginspage="http://www.microsoft.com/windows/windowsmedia/"';
							 s+='        filename="'+ url +'"';
							 s+='        src="'+ url +'"';
							 s+='        Name=MediaPlayer';
							 s+='        ShowControls=1';
							 s+='        ShowDisplay=1';
							 s+='        ShowStatusBar=1';
							 s+='        width=290';
							 s+='        height=320>';
							 s+='    </embed>';
						
							 s+='</OBJECT>';
						}
						
					return s;	
} //end function








function QuickTime(url)
{

document.write ('<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" ');
document.write ('width="200" height="165" ');
document.write (' codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" ');
document.write (' align="middle" > ');
document.write (' <param name="src" value="'+ url +'" /> ');
document.write (' <param name="autoplay" value="true" /> ');
document.write (' <embed src="'+ url +'" width="200" height="165"  ');
document.write ('   pluginspage=http://www.apple.com/quicktime/download/ ');
document.write ('  align="middle" autoplay="true" bgcolor="white" > </embed> ');
document.write ('</object> ');

}