﻿function FlashView(strMovie,intHeight,intWidth,cx,cy,WMode)
{
		//logos/aeclogo.swf
document.write('<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"');
document.write('height="'+intHeight+'" width="'+intWidth+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> ');
document.write('<PARAM NAME="_cx" VALUE="'+cx+'"> ');
document.write('<PARAM NAME="_cy" VALUE="'+cy+'"> ');
document.write('<PARAM NAME="FlashVars" VALUE=""> ');
document.write('<PARAM NAME="Movie" VALUE="'+strMovie+'"> ');
document.write('<PARAM NAME="Src" VALUE="'+strMovie+'"> ');
document.write('<PARAM NAME="WMode" VALUE="'+WMode+'"> ');
document.write('<PARAM NAME="Play" VALUE="-1"> ');
document.write('<PARAM NAME="Loop" VALUE="-1"> ');
document.write('<PARAM NAME="Quality" VALUE="High"> ');
document.write('<PARAM NAME="SAlign" VALUE=""> ');
document.write('<PARAM NAME="Menu" VALUE="-1"> ');
document.write('<PARAM NAME="Base" VALUE=""> ');
document.write('<PARAM NAME="AllowScriptAccess" VALUE="always"> ');
document.write('<PARAM NAME="Scale" VALUE="ShowAll"> ');
document.write('<PARAM NAME="DeviceFont" VALUE="0"> ');
document.write('<PARAM NAME="EmbedMovie" VALUE="0"> ');
document.write('<PARAM NAME="BGColor" VALUE=""> ');
document.write('<PARAM NAME="SWRemote" VALUE=""> ');
document.write('<PARAM NAME="MovieData" VALUE=""> ');
document.write('<PARAM NAME="SeamlessTabbing" VALUE="1"> ');
document.write('<embed src="'+strMovie+'" ');
document.write('quality="high"  ');
document.write('WMode="Transparent" ');
document.write('pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" ');
document.write('type="application/x-shockwave-flash" width="'+intWidth+'" height="'+intHeight+'">  ');
document.write('</embed> ');
document.write('</OBJECT> ');
		
		

	
	
}

function WindowsMediaShow(directLink)
{

                       document.write("<OBJECT ID='MediaPlayer' type='video/x-ms-wmv'"); // WIDTH=320 HEIGHT=240 ");
                       
                       if(navigator.appName == "Microsoft Internet Explorer")
                        document.write(" classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' ");                       
                       else
                        document.write(" WIDTH=320 HEIGHT=240 ");
                       
                       document.write( " codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112'");
                       document.write( " standby='Loading Microsoft Windows Media Player components...'");
                       document.write( " data='" + directLink + "'>");
                       document.write("     <param name='FileName' VALUE='" + directLink + "'>");
                       document.write("     <param name='src' VALUE='" + directLink + "'>");                       
                       document.write( "     <param name='ShowControls' VALUE='1'>");
                       document.write( "     <param name='ShowDisplay' VALUE='0'>");
                       document.write( "     <param name='ShowStatusBar' VALUE='1'>");
                       document.write( "     <param name='AutoSize' VALUE='0'>");
                       document.write( "     <param name='stretchToFit' VALUE='0'>");
                       document.write( "     <param name='uiMode' VALUE='mini'>");
                       document.write( "     <param name='AutoStart' VALUE='1'>");
                       document.write( "     <param name='ClickToPlay' VALUE='1'>");
                       document.write("     <param name='TransparantAtStart' VALUE='1'>");
                       document.write("     <param name='EnableFullScreenControls' VALUE='1'>");
                       document.write("     <param name='windowlessVideo' VALUE='1'>");
                       
                       document.write( "     <Embed type='application/x-mplayer2'");
                       document.write( "         pluginspage='http://www.microsoft.com/windows/windowsmedia/download/'");
                       document.write("         FileName='" + directLink + "' ");
                       document.write( "         src='Station1.asx'");
                       document.write( "         ShowControls=1");
                       document.write( "         ShowDisplay=0");
                       document.write( "         ShowStatusBar=1");
                       document.write( "         AutoSize=0");                       
                       document.write( "         stretchToFit=0");
                       document.write("         width=400");
                       document.write("         height=300");
                       document.write( "         AutoStart=1");
                       document.write( "         ClickToPlay=1");
                       document.write("         TransparantAtStart=1");
                       document.write("         EnableFullScreenControls=1>");
                       document.write( "         windowlessVideo=1");
                       document.write( "     </embed>");
// */                       
                       document.write(" </OBJECT>");
}