<!-- the link tag does not allow the script tag below>
<!-- script language="JavaScript1.1" type="text/javascript" -->
<!--
var col=-1;
var row=-1;
var time=new Date();

// looking for tables class 'hcat' and swapping the td class with 'hcaytred' and back;
function hcat()
{
	//document.write("hcat(...)\n");
	
	//document.bgColor = 0xcfcfff;
	if (document.getElementById && document.createTextNode)
	{
		var tables=document.getElementsByTagName('table');
		for (var i=0;i<tables.length;i++)
		{
			if(tables[i].className=='hcat')
			{
				var trs = tables[i].getElementsByTagName('tr');
				for(var j=0; j<trs.length; j++)
				{
					var tds = trs[j].getElementsByTagName('td');
					for(var k=0; k<tds.length; k++)
					{
						if( tds[k].className=='hcat' )
						{
							tds[k].onmouseover=function(){hcatswap(this,this.id,'hcatred');return false;}
							tds[k].onmouseout=function(){hcatswap(this,this.id,'hcat');return false;}
						}
					}
				}
			}
		}
	}
}

function hcatswap( me, vid, vclass ) {
	//alert("<a class=" + vclass + ", vid=" + vid + " ...");
	me.className = vclass;
	var as = me.getElementsByTagName('a');
	for(var k=0; k<as.length; k++)
	{
		if( as[k].className=='hcat' || as[k].className=='hcatred' )
		{
			as[k].className=vclass;
		}
	}
}

function SwitchVMenu(obj){
	return;
	
	var mtime=new Date();
	if( (mtime.getTime() - time.getTime()) < 400 ) {
		return;
	}
	time = mtime;

	if(document.getElementById){
		// get the current element where id='obj'
		var el = document.getElementById(obj);
		// get the array of span blocks possibly visible an hide them
		var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		
		// none -> block
		if( el.style.display != "block"){ 
			// all the others are "none"
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") 
				ar[i].style.display = "none";
			}
			// this one is "block"
			el.style.display = "block";
		}
		// block -> none
		else{
			// this one
			el.style.display = "none";
			// and all the others
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu")
				ar[i].style.display = "none";
			}
		}
	}
	
}

// function myDump( aMessage ) {
//   var consoleService = Components.classes["@mozilla.org/consoleservice;1"].getService(Components.interfaces.nsIConsoleService);
//   consoleService.logStringMessage( "myDump: " + aMessage );
// }

function boot()
{
	//document.write("boot hcat()\n");
	//myDump("booting ...\n");
	hcat();
}

window.onload=function(){boot();}
-->
