function Quote_Init(id,Ra,sec)
{
//-------------------------------------------------------
//Quote初始化
//-------------------------------------------------------
//id	物件id
//Ra	文字陣列
//sec	輪撥秒數(1000=1秒)
//-------------------------------------------------------

	var o=document.getElementById(id);
	if(!o){return false;}

	o.inx	=0;
	o.sec	=sec;
	o.timer	="";
	o.Ra	=Ra;

	o.onmouseover=function()
	{
		try{
			window.clearTimeout(o.timer);
		}
		catch(e){};		
	}

	o.onmouseout=function()
	{
		Quote_Show(id,sec);
	}

	return o;
}

function Quote_Show(id,sec)
{
//-------------------------------------------------------
//Quote輪撥
//-------------------------------------------------------
//id	物件id
//sec	輪撥秒數(1000=1秒)
//-------------------------------------------------------

	var o=document.getElementById(id);
	if(!o){return false;}
	inx		=o.inx;	
	sec		=o.sec;	
	timer	=o.timer;		
	Ra		=o.Ra;
	
	try{
		window.clearTimeout(timer);
	}
	catch(e){};

	if(parseInt(inx)<Ra.length-1)
	{
		o.inx=inx+1;
	}
	else
	{
		o.inx=0;
	}
	
	o.innerHTML=o.Ra[inx];

	var AStr="";
	AStr+="Quote_Show('"+id+"',"+sec+")";
	o.timer=window.setTimeout(AStr,sec);
}