
/*****************************************************************
* Flash Fix script
* Fixes embedded object activation issues in Internet Explorer
* 
* 英文原文
* http://support.microsoft.com/default.aspx/kb/912945/en-us
* 
* 中文說明
* http://support.microsoft.com/kb/912945/zh-tw
* 
* 啟動 ActiveX 控制項
* http://www.microsoft.com/taiwan/msdn/library/2006/Apr-2006/activating_activex.htm
* 
* Reference:
* http://flash8forums.com/forums/lofiversion/index.php/t9358.html
*
*****************************************************************/

if(typeof(flashfix) == 'undefined')
{
	function flashfix()
	{
		theObjects = document.getElementsByTagName("object");
		for (var i = 0; i < theObjects.length; i++)
		{
			theObjects[i].outerHTML = theObjects[i].outerHTML;
		}
	} 
}

flashfix();

function blinkOn(){
theWin.document.bgColor = "FFFF00"
nTimes++
JSCTimeOutID = window.setTimeout("blinkOff()",50);
}

function blinkOff(){
theWin.document.bgColor = "FFFFFF"
if (nTimes < 3)
JSCTimeOutID = window.setTimeout("blinkOn()",50);
else theWin.history.go(0)
}


function blinkblink(aWin)
{
nTimes = 0
theWin = aWin
JSCTimeOutID = window.setTimeout("blinkOn()",50);
}
