<!--
var dbgW;
//------------------------------------------------------------------------------
function dbgWriteln(s)
{
	if(gDbg) {
		dbgW.document.write(s);
		dbgW.document.writeln('<br>');
	}
}
//------------------------------------------------------------------------------
function dbgWrite(s)
{
	if(gDbg) {
		dbgW.document.write(s);
	}
}
//------------------------------------------------------------------------------
function dbgConsole() 
{
	if(gDbg) {
    	dbgW = window.open
		("",
		"debugWin",
		"toolbar=no,scrollbar=yes,width=300,height=1000");

		dbgWriteln("*dbgConsole():Creating  a debug console*");
	}
}


//------------------------------------------------------------------------------
// reset the attributes of any clicked link
function clear_links()
{
	dbgWrite('clearing');

	
/*	wee need something link the following
		document.all.lnk1.className = "cursor_not_over";		
*/

	if(gElement) {

		gElement.className = "cursor_not_over";	

		if(gElement.getAttribute("lnk1") != null) {
			gElement.className = "cursor_not_over";
			dbgWriteln("TRUE element");
		} else {
			dbgWriteln("non element");
		}
	} else {
			dbgWriteln("gElement is null!!!");
	}

}
//------------------------------------------------------------------------------
function hilite_link(e) 
{	
	dbgWrite('*Hilite');
	if(!e) {
		var e = window.event;
	}
	dbgWrite('*');


	el = e.srcElement ;
	
	if (el.getAttribute("lnk1") != null) {
		if(el.className != "clicked") {
			el.className = "cursor_over" ;
		}
	}

}
//------------------------------------------------------------------------------
function unhilite_link(e) 
{
	dbgWrite('*Unhilite');
	if(!e) {
		var e = window.event;
	}
	dbgWriteln('*');

	el = e.srcElement ;
	if (el.getAttribute("lnk1") != null) {
		if(el.className != "clicked") {
			el.className = "cursor_not_over";
		}
	}

}
//------------------------------------------------------------------------------
function click_link(e) 
{

	clear_links();

	dbgWrite('*Click');
	if(!e) {
		var e = window.event;
	}
	dbgWrite('*');

	el = e.srcElement ;

	if (el.getAttribute("lnk1") != null) {
		el.className = "clicked";
		gElement = el;
	}

}
//------------------------------------------------------------------------------
// associate events with these functions
// used to say document.onmouseover, etc.

var gIsIE = (navigator.appName.indexOf("Microsoft") != -1 );
var gIsNav = (navigator.appName.indexOf("Netscape") != -1 );

document.onmouseover  = hilite_link;
document.onmouseout   = unhilite_link;
document.onclick 	  = click_link;
gElement = null;

gDbg = 0;  // turn on/off debugging

dbgConsole();

-->
