// Load flash animation with SWF Object
//------------------------------------------------------------------------

// Load swf function
function loadSWF() {

	if (document.getElementById('flashContent'))
	{
		mFlash = document.getElementById('flashContent')
		
		if (swfobject.hasFlashPlayerVersion("9")) {
			var flashvars = {};
			var params = {
				wmode: "opaque"
			};
			var attributes = {};
			swfobject.embedSWF("/bulletin-board/images/bulletin1.swf", "flashContent", "270", "280", "9", "/bulletin-board/images/bulletin1.swf", flashvars, params, attributes);		
			
		} else {
			mFlash.style.display = 'block';
		}
	}
}
// Trigger the loadSWF function once the DOM has fully loaded:
// (don't forget the last line!)
swfobject.addDomLoadEvent(loadSWF);
// end load swf 


// Load swf function 2
function loadSWF2() {

	if (document.getElementById('flashContent2'))
	{
		mFlash = document.getElementById('flashContent2')
		
		if (swfobject.hasFlashPlayerVersion("9")) {
			var flashvars = {};
			var params = {
				wmode: "opaque"
			};
			var attributes = {};
			swfobject.embedSWF("/images/results.swf", "flashContent2", "500", "200", "9", "/images/results.swf", flashvars, params, attributes);		
			
		} else {
			mFlash.style.display = 'block';
		}
	}
}
// Trigger the loadSWF function once the DOM has fully loaded:
// (don't forget the last line!)
swfobject.addDomLoadEvent(loadSWF2);
// end load swf 
