// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.

if (!useRedirect) {    // if dynamic embedding is turned on
	var exp = new Date();
	var nowPlusOneWeek = exp.getTime() + (7*24*60*60*1000);
	exp.setTime(nowPlusOneWeek);
	document.cookie = "expires=" + exp.toGMTString();
  if(hasRightVersion) {  // if we've detected an acceptable version
   	document.cookie = "flash=true"
  } else {  // flash is too old or we can't detect the plugin
    // NOTE: height, width are required!
    //var alternateContent = '<IMG SRC="altimage.gif" HEIGHT="400" WIDTH="550">' 
    //  + '<BR>any desired alternate html code goes here';

    //document.write(alternateContent);  // insert non-flash content
	document.cookie = "flash=false"
	//window.location='noFlashdefault.htm'
  }
}
