<!--
function IEhover(){
	if(document.getElementsByTagName) {
	  (function() {
		var className = 'ieHover',
			pattern   = new RegExp('(^|\\s+)' + className + '(\\s+|$)'),
			rows      = document.getElementsByTagName('tr');	
		for(var i = 0, n = rows.length; i < n; ++i) {
		  rows[i].onmouseover = function() {
			this.className += ' ' + className;
		  };
		  rows[i].onmouseout = function() {
			this.className = this.className.replace(pattern, ' ');
		  };
		}
		rows = null;
	  })();
	}
}

window.onload = function() {
	IEhover();
	toggle_visibility('delnicLegenda');
}


function get_element_by_id(id) {
    if(document.getElementById) {
        var element = document.getElementById(id);
    } else if(document.all) {
        var element = document.all[id]; 
    } else if(document.layers) {
        var element = document.layers[id];
    }
    return element;
}
function toggle_visibility(id) {
   var e = get_element_by_id(id);
   if(e){
	   if(e.style.display == 'none')
		  e.style.display = 'block';
	   else
		  e.style.display = 'none';
   }
}

function show_hide_legenda(id){
	toggle_visibility(id);
}
-->