<!--
var accepted_domains	= new Array("") ;
var domaincheck		= document.location.href ;
var accepted_ok		= false ;

if(domaincheck.indexOf("http") != -1)
{
	for(r=0;r<accepted_domains.length;r++)
	{
		if(domaincheck.indexOf(accepted_domains[r])!=-1)
		{
			accepted_ok = true ;
			break ;
		}
	}
}
else
	accepted_ok = true ;

if(!accepted_ok)
{
	alert("Error！") ;
	history.back(-1) ;
}

// --- 預設值定義 ---------------------------
tPopWait		= 30 ;		// 停留 tWait 豪秒後顯示提示
tPopShow		= 6000 ;	// 顯示 tShow 豪秒後關閉提示
showPopStep		= 25 ;
popOpacity		= 99 ;

// --- 內部變量定義 -------------------------
sPop			= null ;
curShow			= null ;
tFadeOut		= null ;
tFadeIn			= null ;
tFadeWaiting	= null ;

function showPopupText()
{
	var o=event.srcElement ;

	if(o!=null)
	{
		MouseX	= event.x ;
		MouseY	= event.y ;

		if(o.alt!=null && o.alt!="")
		{
			o.dypop	= o.alt ;
			o.alt	= "" ;
			f		= true ;
		}

		if(o.title!=null && o.title!="")
		{
			o.dypop	= o.title ;
			o.title	= "" ;
			f		= true ;
		}

		if(o.dypop!=sPop)
		{
			sPop = o.dypop ;

			clearTimeout(curShow) ;
			clearTimeout(tFadeOut) ;
			clearTimeout(tFadeIn) ;
			clearTimeout(tFadeWaiting) ;

			if(sPop==null || sPop=="")
			{
				AlphaLayer.innerHTML				= "" ;
				AlphaLayer.style.filter				= "Alpha()" ;
				AlphaLayer.filters.Alpha.opacity	= 0 ;
			}
			else
			{
				if(o.dyclass!=null)
					popStyle = o.dyclass ;
				else
					popStyle = "AlphaText";

				curShow = setTimeout("showIt()", tPopWait) ;
			}
		}
	}
}

function showIt()
{
		AlphaLayer.className = popStyle ;
		AlphaLayer.innerHTML = sPop ;

		popWidth	= AlphaLayer.clientWidth ;
		popHeight	= AlphaLayer.clientHeight ;

		if(MouseX+12+popWidth>document.body.clientWidth)
			popLeftAdjust = -popWidth - 24 ;
		else
			popLeftAdjust = 0 ;

		if(MouseY+12+popHeight>document.body.clientHeight)
			popTopAdjust = -popHeight - 24 ;
		else
			popTopAdjust = 0 ;

		AlphaLayer.style.left	= MouseX+5+document.body.scrollLeft+popLeftAdjust ;
		AlphaLayer.style.top	= MouseY+5+document.body.scrollTop+popTopAdjust ;
		AlphaLayer.style.filter	= "Alpha(Opacity = 0)" ;

		fadeOut() ;
}

function fadeOut()
{
	if(AlphaLayer.filters.Alpha.opacity<popOpacity)
	{
		AlphaLayer.filters.Alpha.opacity += showPopStep ;
		tFadeOut = setTimeout("fadeOut()", 1) ;
	}
	else
	{
		AlphaLayer.filters.Alpha.opacity = popOpacity ;
		tFadeWaiting = setTimeout("fadeIn()", tPopShow) ;
	}
}

function fadeIn()
{
	if(AlphaLayer.filters.Alpha.opacity>0)
	{
		AlphaLayer.filters.Alpha.opacity -= 1 ;
		tFadeIn=setTimeout("fadeIn()", 1) ;
	}
}

document.onmouseover = showPopupText ;
-->
