
function newSize(datoX,datoY) {
//  document.getElementById('video').style.width = datoX;
//  document.getElementById('video').style.height = datoY;
}

if( window.jQuery )
{
  $(document).ready( function()
  {
    // Embed flash as soon as possible

      var objectAttr = { align: 'center' };
      var params = { allowscriptaccess: 'samedomain'
                   , allowfullScreen:   'false'
                   , quality:           'high'
                   , scale:             'noscale'
                   , salign:            'lt'            // must be below scale
                   , wmode:             'transparent'  // not supported in Linux
                   , bgcolor:           '#ffffff'
                   };

      // Add flash to page
      var objectAttr = { align: 'center' };
      var video = document.getElementById('video');
      if( video != null )
      {
        swfobject.embedSWF( "/resources/swf/tio_video.swf?file=golfcongres%20-%20512k&seconds=123&breedbeeld=true&still=http://www.tio.nl/crosslinks/%5E%5Econtenttypesdata/8202.jpg&titel1=Stage%20Golfcongres%20evenement&titel2=", 'video', '237', '188', '6.0.0'
                          , '/resources/swf/expressInstall.swf', objectAttr, params
                          );
      }
  } );
}
