
function OverOut( inTD, hoverFlag, inStyle ) {
	if ( hoverFlag ) {
		switch ( inStyle ) {
			case 1:
				inTD.style.backgroundColor = 'C3CE6D';//'D81455'; a:hover color
				break;
//			default:
//				inTD.style.backgroundColor = '#ccc';
				if ( document.getElementsByTagName ) {
					inTD.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} 
	else 
	{
		switch ( inStyle ) {
			case 1:
				inTD.style.backgroundColor = 'EAEAEA';//'990000'; a:out color
				break;
			default:
//				inTD.style.backgroundColor = '#ddd';
				if ( document.getElementsByTagName ) {
					inTD.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}


function goOnClick( inTD, inStyle, inLink ) {
	OverOut( inTD, 0, inStyle );
	goTo( inLink );
}

function goTo( inLink ) {
	//parent.frames[1].location.href = inLink;
	location.href = inLink;
}
function goOnClick1( inTD, inStyle, inLink ) {
	OverOut( inTD, 0, inStyle );
	goTo1( inLink );
}
function goTo1( inLink ) {
	parent.location.href = inLink;	
}