//
// ===========================================================================
//
//	Filename:  self-defence.js
//
//	Description: Rollover utility function
//	Author : ktou
//	Date : 03/12/08
//
// ===========================================================================
//

function rOvr(dis)	{
	if (arguments.length != 1)	{
		return;
	}
	var hicol = (is_ie) ? "#fff" : "rgb(255, 255, 255)" ;
	var fgcol = (is_ie)	? "#fdb" : "rgb(255, 221, 187)" ;

//	If lettering is foreground color, we are currently in a non-rollover state
	if (dis.firstChild.style.color == fgcol)	{
		//...so make both lettering and border the rollover color
		dis.firstChild.style.color = dis.style.borderColor = hicol;
	}	else 	{	
		//	...so put back letter and border colors to non-rollover color
		dis.firstChild.style.color = dis.style.borderColor = fgcol;
	}
}

