var _flashFocusInterval;
/**
 *	NOTE	This currently only works on IE not Firefox.
 */
function checkFlash(temp){

	//	Declare the flash object
	var flashObj = document.getElementById('flash_id');

	//	Flash has loaded - so stop forcing foucs
	if(flashObj!=null){
		clearInterval(_flashFocusInterval);
		flashObj.focus();
	}
}
/**
 *	Focus on flash.  
 *
 *	NOTE	I think this needs called once the flash has been created
 *	but I could be wrong.
 *
 *	NOTE	For some reason I wasn't able to pass the id as a variable in "setInterval"
 */
function focusOnFlash(id){
	//	Start checking whether the flash has loaded
	_flashFocusInterval = window.setInterval(checkFlash,1000);
}
