		
function buildObjects(movieValue)
{	
		//rightVersion is from flashdetect.js 
		if(rightVersion) 
		{  // if we've detected an acceptable version
		
			document.write(" <object classid= 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='780' height='500' id='wordsearch' align='middle'>");
				document.write("	<param name='allowScriptAccess' value='sameDomain' /> ");
				document.write("	<param name='movie' value='" + movieValue + "' />");
				document.write("	<param name='quality' value='high' /> ");
				document.write("	<param name='bgcolor' value='#ffffff' /> ");
				document.write(" <embed src='" + movieValue + "' quality='high' bgcolor='#ffffff' width='780' height='500' name='wordsearch' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer ' /> ");
			document.write("</object>");
		
		} 
		else 
		{  
		  // flash is too old or we can't detect the plugin
		  //calls  writeAlternateContent in flashdetect.js passes the link to the text version
		  writeAlternateContent();
		
		}
}