// These functions are a workaround for the IE patch related Active Content activation...
function flash_home() {
document.write( '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="632" height="315" id="HomePage" align="middle">');
document.write( '<param name="allowScriptAccess" value="sameDomain" />');
document.write( '<param name="movie" value="HomePage2.swf" />');
document.write( '<param name="quality" value="high" />');
document.write( '<param name="bgcolor" value="#ffffff" />');
document.write( '<param name="wmode" value="opaque" />');
document.write( '<embed src="HomePage2.swf" quality="high" bgcolor="#ffffff" width="632" height="315" name="HomePage" align="middle"  wmode="opaque" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write( '</object>');
}
function flash_video(streamname) {
document.write( '<div id="movie"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="262" height="231" id="FLVPlayer">');
document.write( '<param name="movie" value="FLVPlayer_Progressive.swf" />');
document.write( '<param name="salign" value="lt" />');
document.write( '<param name="quality" value="high" />');
document.write( '<param name="scale" value="noscale" />');
document.write( '<param name="FlashVars" value="&skinName=haloSkin_2&streamName=videos/' + streamname + '&autoPlay=false&autoRewind=true" />');
document.write( '<embed src="FLVPlayer_Progressive.swf" flashvars="&skinName=haloSkin_2&streamName=videos/' + streamname + '&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="262" height="231" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');   
document.write( '</object></div>');
}
function flash_video2(streamName) {
document.write( '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="338" height="286" id="video2" align="middle">');
document.write( '<param name="allowScriptAccess" value="sameDomain" />');
document.write( '<param name="movie" value="videoplayer2.swf?streamName=' + streamName + '" />');
document.write( '<param name="quality" value="high" />');
document.write( '<param name="bgcolor" value="#ffffff" />');
document.write( '<embed src="videoplayer2.swf?streamName=' + streamName + '" quality="high" bgcolor="#ffffff" width="338" height="286" name="video2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write( '</object>');
}
function flash_audio(question) {
document.write( '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="400" id="transcript" align="middle">');
document.write( '<param name="allowScriptAccess" value="sameDomain" />');
document.write( '<param name="movie" value="images/transcript.swf?Q=' + question + '" />');
document.write( '<param name="quality" value="high" />');
document.write( '<param name="bgcolor" value="#ffffff" />');
document.write( '<embed src="images/transcript.swf?Q=' + question + '" quality="high" bgcolor="#ffffff" width="600" height="400" name="transcript" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write( '</object>');
}
function videoPopup(streamName) {
childWindow = window.open("mo_video_popup.asp?s=" + streamName, "Video", "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=445,height=410,left=150,top=150");
}
function flash_kaiden1() {
document.write( '<div id="movie"><embed style="width:262px; height:231px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=6509898498587420820&hl=en" flashvars=""></embed></div>');
}
function flash_kaiden2() {
document.write( '<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=6509898498587420820&hl=en" flashvars=""> </embed>');
}
function videoPopupKaiden() {
childWindow = window.open("mo_video_popup_kaiden.asp", "Video", "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=445,height=410,left=150,top=150");
}
function flash_youtube1(theID) {
document.write( '<div id="movie"><object width="262" height="231"><param name="movie" value="http://www.youtube.com/v/' + theID + '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' + theID + '" type="application/x-shockwave-flash" wmode="transparent" width="282" height="231"></embed></object></div>');
}
function flash_youtube2(theID) {
document.write( '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' + theID + '"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/' + theID + '" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>');
}
function videoPopupYouTube(theID) {
var theURL = "mo_video_popup_youtube.asp?ID=" + theID;
childWindow = window.open(theURL, "Video", "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=445,height=410,left=150,top=150");
}

