<!--
// swap images;
// for id whith numbers use:
// document.getElementById(id_img.id).src = "images/menu/"+id_img.id+".gif";
function chgOut(dir,tgt) {
	var lname = tgt.substring(0,tgt.indexOf("."));
	if(tgt == hd){
		var wn = document.getElementById(lname);
		if(wn){
			if(document.getElementById(lname).style.display == "block"){
				var simg = document.getElementById(tgt);
				simg.src = "images/"+dir+"3down.gif";
			}
		}
	} else {
		var simg = document.getElementById(tgt);
		simg.src = "images/"+dir+".gif";
	}
}
function chgOver(dir,tgt) {
	var lname = tgt.substring(0,tgt.indexOf("."));
	if(tgt == hd){
		var wn = document.getElementById(lname);
		if(wn){
			if(document.getElementById(lname).style.display == "block"){
				var simg = document.getElementById(tgt);
				simg.src = "images/"+dir+"3down.gif";
			}
		}
	} else {
		var simg = document.getElementById(tgt);
		simg.src = "images/"+dir+"2over.gif";
	}
}
function chgSelect(dir,tgt) {
	var simg = document.getElementById(tgt);
	simg.src = "images/"+dir+"3down.gif";
	// DOM not work with IE.
	// simg.parentNode.removeAttribute('onMouseOut');
	// simg.parentNode.setAttribute('onMouseOver', "");
	// attnode = simg.parentNode.getAttributeNode("onMouseOut");
	// simg.parentNode.removeAttributeNode(attnode);
	hd2 = dir;
}
//-->