/* Customer Javascript */

swfobject.addLoadEvent(function(){

var flashvars = { };

var params = { quality: "high", wmode: "transparent" };

//swfobject.embedSWF("/flash/video/video_player_large.swf", "video", "404", "300", "8.0.0", "", flashvars, params);
});


Ext.onReady(function(){
  var fileref=document.createElement("link");
  fileref.setAttribute("rel", "stylesheet");
  fileref.setAttribute("type", "text/css");
  fileref.setAttribute("href", "/css/print.css");
  fileref.setAttribute("media", "print");
  document.getElementsByTagName("head")[0].appendChild(fileref);
 
  var printTitle = document.title;
  var printResults = printTitle.split(" - ");
  printResults = Ext.util.Format.htmlEncode(printResults[0]);
  Ext.fly('int_content_left').insertFirst({
        tag: 'div',
	id: 'print-title',
	html: printResults
  });




//Ext.DomHelper.overwrite('flash', {html: '<div id="printHead"><img src="/images/wallingford-printheader.jpg" /></div>'});

//alert(printResults[0]);

});




/* Customer Javascript */

swfobject.addLoadEvent(function(){

var flashvars = {
file: "http://wcs.mp.advection.net/mp/educhiro/player/playlists/7BI.xml",
streamer:"rtmp://wfs.mp.advection.net:1935/mp/educhiro/_sp/?advc=educhiro%26advsid=83f7311126bc42f38c93fc",
autostart: "true",
controlbar: "over"
 };

var params = { quality: "high", wmode: "transparent", allowscriptaccess: "always", allowfullscreen: "true" };

swfobject.embedSWF("http://wcs.mp.advection.net/mp/educhiro/player/player-licensed-4.7.782.swf", "vid_index", "425", "235", "8.0.0", "", flashvars, params);
});

