// JavaScript Document

function PopupFlv(url){
	html = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>CNCCEF - Lecteur Vid&eacute;o</title><script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></'+'script></head><body><script type="text/javascript">AC_FL_RunContent( "codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0","width","342","height","291","id","FLVPlayer","src","FLVPlayer_Progressive","flashvars","&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName='+url+'&autoPlay=false&autoRewind=true","quality","high","scale","noscale","name","FLVPlayer","salign","lt","pluginspage","http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash","movie","FLVPlayer_Progressive" );</'+'script><noscript><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="342" height="291" id="FLVPlayer"><param name="movie" value="FLVPlayer_Progressive.swf" /><param name="salign" value="lt" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName='+url+'&autoPlay=false&autoRewind=true" /><embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName='+url+'&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="342" height="291" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" /></object></noscript></body></html>';
	w=window.open("",'popup','width=359,height=310,toolbar=no,scrollbars=no,resizable=no');
	w.document.open();
	w.document.write(html);
	w.document.close();
}

/*
function PopupFlv(url) { 
w=open("",'popup','width=359,height=310,toolbar=no,scrollbars=no,resizable=no'); 
w.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">');
w.document.write("<HTML><HEAD><TITLE>CNCCEF - Lecteur Vid&eacute;o</"+"TITLE>"); 
//w.document.write("<SCRIPT type='text/javascript'>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
w.document.write("<script type='text/javascript'>");
w.document.write("function MM_CheckFlashVersion(reqVerStr,msg){");
w.document.write("  with(navigator){");
w.document.write("    var isIE  = (appVersion.indexOf('MSIE') != -1 && userAgent.indexOf('Opera') == -1);");
w.document.write("    var isWin = (appVersion.toLowerCase().indexOf('win') != -1);");
w.document.write("    if (!isIE || !isWin){  ");
w.document.write("      var flashVer = -1;");
w.document.write("      if (plugins && plugins.length > 0){");
w.document.write("        var desc = plugins['Shockwave Flash'] ? plugins['Shockwave Flash'].description : '';");
w.document.write("        desc = plugins['Shockwave Flash 2.0'] ? plugins['Shockwave Flash 2.0'].description : desc;");
w.document.write("        if (desc == '') flashVer = -1;");
w.document.write("        else{");
w.document.write("          var descArr = desc.split(' ');");
w.document.write("          var tempArrMajor = descArr[2].split('.');");
w.document.write("          var verMajor = tempArrMajor[0];");
w.document.write("          var tempArrMinor = (descArr[3] != '') ? descArr[3].split('r') : descArr[4].split('r');");
w.document.write("          var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;");
w.document.write("          flashVer =  parseFloat(verMajor + '.' + verMinor);");
w.document.write("        }");
w.document.write("      }");
w.document.write("      else if (userAgent.toLowerCase().indexOf('webtv') != -1) flashVer = 4.0;");
w.document.write("      var verArr = reqVerStr.split(',');");
w.document.write("      var reqVer = parseFloat(verArr[0] + '.' + verArr[2]);");
w.document.write("      if (flashVer < reqVer){");
w.document.write("        if (confirm(msg))");
w.document.write("          window.location = 'http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash';");
w.document.write("     }");
w.document.write("    }");
w.document.write("  } ");
w.document.write("}</"+"script>");
w.document.write("<script src='Scripts/AC_RunActiveContent.js' type='text/javascript'></"+"script></"+"HEAD>");
w.document.write("<BODY onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
w.document.write("<TD valign='middle' align='center'>");

w.document.write('<script type="text/javascript">');
w.document.write("AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','342','height','291','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName="+url+"&autoPlay=false&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' );");
w.document.write('</'+'script>');
w.document.write('<noscript>');
w.document.write('<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="342" height="291" id="FLVPlayer">');
w.document.write('<param name="movie" value="FLVPlayer_Progressive.swf" >');
w.document.write('<param name="salign" value="lt" >');
w.document.write('<param name="quality" value="high" >');
w.document.write('<param name="scale" value="noscale" >');
w.document.write('<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName='+url+'&autoPlay=false&autoRewind=true" >');
w.document.write('<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Halo_Skin_3&streamName='+url+'&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="342" height="291" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" >');
w.document.write('</object></'+'noscript>');

w.document.write("</TD></TR></TABLE>");
w.document.write("</BODY></HTML>"); 
w.document.close(); 
}
*/
