//This will load when the page loads and will automatically inject the code in to the innnerHTML of the FlashMin div
//--------------------------------------------------------------------------
var flashHtml = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'";
	flashHtml += "codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'";
	flashHtml += "width='770' height='360' id='main' align='top'>";
	flashHtml += "<param name='allowScriptAccess' value='always' /><param name='movie' value='main.swf' /><param name='quality' value='high'/><param name='bgcolor' bgcolor='#666666'/><param name='salign' value='t'/><param name='scale' value='noscale' />";
	flashHtml += "<embed src='main.swf' quality='high' bgcolor='#666666' width='770' height='360' name='main'";
	flashHtml += "align='top' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>";
	flashHtml += "</object>";
	
// assign the value of the variable to the innerHTML of the div
document.getElementById('flashMain').innerHTML = flashHtml;
//---------------------------------------------------------------------------

//This will load the home page first so that the are not just looking at menu
//--------------------------------------------------------------------------
var flashHtml2 = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'";
		flashHtml2 += "codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0'";
		flashHtml2 += "width='770' height='420' id='about' align='top'>";
		flashHtml2 += "<param name='allowScriptAccess' value='always' /><param name='movie' value='home.swf' /><param name='quality' value='high'/><param name='bgcolor' bgcolor='#666666'/><param name='salign' value='t'/><param name='scale' value='noscale' />";
		flashHtml2 += "<embed src='home.swf' quality='high' bgcolor='#666666' width='770' height='420' name='about'";
		flashHtml2 += "align='top' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></embed>";
		flashHtml2 += "</object>";

// assign the value of the variable to the innerHTML of the div
document.getElementById('flashObject').innerHTML = flashHtml2;
//---------------------------------------------------------------------------