// JavaScript Document


NumberOfFellows = 83;


// function to write flash obj passing query string vars
function writeFlash() {
	
	// appearance vars, these can be customized to your liking
	var width = '575'
	var height = '150'
	var src = 'home_flash.swf'
	var rannumber = (Math.floor(Math.random()*10000)+1);

	//alert(rannumber);
	// queries -- type in the variables you want to send to flash here
	//var queries = '?text='+QueryString('year')+'&month='+QueryString('month')+'';
	var queries = '?NumberOfFellows='+NumberOfFellows+'&rand='+rannumber+''
	
	// write all lines
	document.write('<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'">');
  document.write('<param name="movie" value="'+src+queries+'" />');
  document.write('<param name="quality" value="high" />');
  document.write('<param name="wmode" value="opaque" />');
  document.write('<param name="swfversion" value="6.0.65.0" />');
  document.write('<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->');
  document.write('<param name="expressinstall" value="Scripts/expressInstall.swf" />');
  document.write('<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->');
  document.write('<!--[if !IE]>-->');
  document.write('<object type="application/x-shockwave-flash" data="'+src+queries+'" width="'+width+'" height="'+height+'">');
    document.write('<!--<![endif]-->');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="wmode" value="opaque" />');
    document.write('<param name="swfversion" value="6.0.65.0" />');
    document.write('<param name="expressinstall" value="Scripts/expressInstall.swf" />');
    document.write('<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->');
    document.write('<div>');
     document.write(' <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>');
      document.write('<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>');
    document.write('</div>');
    document.write('<!--[if !IE]>-->');
  document.write('</object>');
  document.write('<!--<![endif]-->');
document.write('</object>');
}
