<!-- Begin Script for menu Show/Hide Forum -->
function toggleDisplay(TDID) {
var onoff;
	if(document.getElementById(TDID).style.display == 'block') {
		onoff =  'none';
	} else {
		onoff = 'block';
	}
	return onoff;
}
function showHide(TDID)
	{
		var onoff = toggleDisplay(TDID);
		document.getElementById(TDID).style.display = onoff;
	}
<!-- End Script for menu Show/Hide Forum -->


<!-- Begin Mouse Over Color -->
var ie=(document.all)?1:0;
function LightOn(what)
{
if (ie) what.style.backgroundColor = ''; <!-- Mau khi co chuot dua vao -->
else return;
}
function LightOut(what)
{
if (ie) what.style.backgroundColor = ''; <!-- Mau khi chuot doi di -->
else return;
}
<!-- End Mouse Over Color -->


<!-- Begin Script for Show/Hide -->

function toggleDisplay(TDID) {
var onoff;

	if(document.getElementById(TDID).style.display == 'block') {

		onoff =  'none';
	} else {
		onoff = 'block';
	}
	return onoff;
}

function showHide(TDID)
	{
		var onoff = toggleDisplay(TDID);

		document.getElementById(TDID).style.display = onoff;
	}

<!-- End Script for Show/Hide -->

<!-- Begin Script for Danh ngon -->
// Ticker startup
function startTicker()
{
	// Define run time values
	theCurrentStory     = -1;
	theCurrentLength    = 0;
	// Locate base objects
	if (document.getElementById) {	
		    theAnchorObject     = document.getElementById("hottext");
			runTheTicker();   	
		 }
}
// Ticker main run loop
function runTheTicker()
{
	var myTimeout;  
	// Go for the next story data block
	if(theCurrentLength == 0)
	{
		theCurrentStory++;
		theCurrentStory      = theCurrentStory % theItemCount;
		theStorySummary      = theSummaries[theCurrentStory].replace(/&quot;/g,'"');
	}
	// Stuff the current ticker text into the anchor
	theStartPosition = 0;
	if (theCurrentLength > theMaxLength)
	{
		theStartPosition = theCurrentLength - theMaxLength;
	}
	theAnchorObject.innerHTML = theStorySummary.substring(theStartPosition,theCurrentLength) + whatWidget();
	// Modify the length for the substring and define the timer
	if(theCurrentLength != theStorySummary.length)
	{
		theCurrentLength++;
		myTimeout = theCharacterTimeout;
	}
	else
	{
		theCurrentLength = 0;
		myTimeout = theStoryTimeout;
	}
	// Call up the next cycle of the ticker
	setTimeout("runTheTicker()", myTimeout);
}
// Widget generator
function whatWidget()
{
	if(theCurrentLength == theStorySummary.length)
	{
		return theWidgetNone;
	}

	if((theCurrentLength % 2) == 1)
	{
		return theWidgetOne;
	}
	else
	{
		return theWidgetTwo;
	}
}

var theCharacterTimeout = 150;
var theStoryTimeout     = 10000;
var theWidgetOne        = "_";
var theWidgetTwo        = "_";
var theWidgetNone       = "";
var theMaxLength	= 10000;
<!-- Begin Script for Danh ngon -->