/*
Use this method for embedding swf objects.
Used in home page and in three subpages of "About Us" section.

Use this method because Internet Explorer had to change the way it handles plugins.
If you put the object tag directly in the html, then users have to "activate" the flash control.
This gets around that issue.
*/
function CreateControl( URL, WIDTH, HEIGHT, BGCOLOR ){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  id="slideshow"');
	document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
	document.write('width="' + WIDTH + '" height="' + HEIGHT +'" align="middle">');
	document.write('	<param name="movie" value='+ URL +' />');
	document.write('	<param name="allowScriptAccess" value="sameDomain" />');
	document.write('	<param name="quality" value="high" />');
	document.write('	<param name="bgcolor" value='+BGCOLOR+' />');
	document.write('	<param name="menu" value="false" />');
	document.write('		<embed src='+ URL +' quality="high" bgcolor='+ BGCOLOR +' width="'+ WIDTH +'" height="'+ HEIGHT +'" name="slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" menu="false"  pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}