//	echo "<td onmouseover=\"tblMenuMouseover()\" ";
//	echo " onload=\"tblMenuOnload()\" ";
//	echo " onmouseout=\"tblMenuMouseout()\" ";
//	echo " onclick=\"tblMenuClick()\" ";
//	echo " id=\"menu_" . $title . "_" . $section . "\" "; 

function imgBig(id, xSize, ySize) {
    item = document.getElementById(id);
    item.height = ySize;
    item.width = xSize;
    item.style.border="5px outset #960909";
}

function imgSmall(id, xSize, ySize) {
    item = document.getElementById(id);
    item.height = ySize;
    item.width = xSize;
    item.style.border="5px solid #222222";
}

function hideOnLoad(obj) {
//	alert("hide on load");
	obj.style.display = "none";
}

function showOnLoad(obj) {
	obj.style.display = "block";
}

function tblHideMatch(obj, str) {
	id = obj.id;
	idToLookFor = id + str;
	node = document.getElementById(idToLookFor);
	node.style.display = 'none';	
}

function tblShowMatch(obj, str) {
	id = obj.id;
	idToLookFor = id + str;
	node = document.getElementById(idToLookFor);
	node.style.display = 'block';	
}

function tblToggleMatch(obj, str) {
	id = obj.id;
	idToLookFor = id + str;
	node = document.getElementById(idToLookFor);
	if(node.style.display == 'none') {
		node.style.display = 'block';	
	} else {
		node.style.display = 'none';
	}
}

function tblMenuOnload(obj) {
	if(this != window) {
	  obj = this;
  	}
        
//	obj.style.text-decoration = "underline";
	obj.className = "link_btn";
//	tblHideMatch(obj, "_data");
}

function tblMenuClick(obj) {
	if(this != window) {
	  obj = this;
  	}
	tblToggleMatch(obj, "_data");
}



function tblMenuMouseover(obj) {
	if(this != window) {
	  obj = this;
  	}
	document.body.style.cursor = "pointer";
 	obj.style.color = "#FF0000";
	// obj.style.border="5px outset #999999";
	// obj.style.border="5px outset #FF7700";
	// obj.style.background="#FF7700";
	// obj.style.fontWeight = "bold";
	tblShowMatch(obj, "_caption");
}

function tblMenuMouseout(obj) {
	if(this != window) {
	  obj = this;
  	}
	document.body.style.cursor = "auto";
 	obj.style.color = "#FFCF77";
	// obj.style.border="5px solid #999999";
	obj.style.fontWeight = "normal";
	tblHideMatch(obj, "_caption");
}