<!--

// Sortir d'un frame si la condition est vraie
if (window != top ) {top.location=window.location;}

var currentlyClickedMenuItem
var currentlyHoveredMenuItem
function TDHover(name) {
// reset the current hovered cell before moving the hover to the new one
	 if (currentlyHoveredMenuItem != null){
		 if (currentlyHoveredMenuItem == currentlyClickedMenuItem){
			currentlyHoveredMenuItem.className = 'TD_MOUSEOVER'; // change the class
		 } else {
			currentlyHoveredMenuItem.className = 'TD_MOUSEOUT'; // change the class
		 }
	}
currentlyHoveredMenuItem = name;
name.className = 'TD_MOUSEOVER'; // change the class
}
		
function TDClick(name,newHref){
	if (currentlyClickedMenuItem != null){
		currentlyClickedMenuItem.className = 'TDRegularImage'; // change the class
	}
	currentlyClickedMenuItem = name;
	currentlyHoveredMenuItem = null;
	name.className = 'TDClickedImage'; // change the class
	window.location.href=newHref;
}

function TDReset(name){
	if (name == currentlyClickedMenuItem){
		name.className = 'TD_MOUSEOVER'; // change the class
	 } else {
		name.className = 'TD_MOUSEOUT'; // change the class
	}
}

function TDResetAll(){
	alert ("reset all!");
}
//-->
