function getContent(flash,w,h,alt,altw,alth)
{
// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) 
	{  
	// if we've detected an acceptable version
    var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
    + 'WIDTH="' + w + '" HEIGHT="' + h + '" '
    + 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">'
    + '<PARAM NAME="MOVIE" VALUE="' + flash + '">' 
    + '<PARAM NAME="PLAY" VALUE="true">'
    + '<PARAM NAME="LOOP" VALUE="false">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
				+ '<PARAM NAME="allowScriptAccess" value="sameDomain">'
    + '<PARAM NAME="MENU" VALUE="false">'
				+ '<PARAM NAME="WMODE" VALUE="transparent">'
    + '<EMBED SRC="' + flash + '" '
    + 'WIDTH="' + w + '" HEIGHT="' + h + '" ' 
				+ 'PLAY="true"'
    + 'LOOP="false"'
    + 'QUALITY="high"'
				+ 'WMODE="transparent"'
    + 'MENU="false"'
    + 'allowScriptAccess="sameDomain"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
    + '<\/EMBED>'
    + '<\/OBJECT>';
    document.write(oeTags);   // embed the Flash Content SWF when all tests are passed
	}
	else if(alternatepage)
	{
      location = alternatepage;//insert non-flash content
	} 
	else 
	{  
		// flash is too old or we can't detect the plugin
   		// NOTE: height, width are required!
   		var alternateimage = '<IMG SRC="' + alt + '" WIDTH="' + altw + '" HEIGHT="' + alth + '" BORDER="0">';
    	document.write(alternateimage);//insert non-flash content
 	}
}