// JavaScript Document
  jsHover = function() {
    var hEls = document.getElementById("nav").getElementsByTagName("LI");
    for (var i=0, len=hEls.length; i<len; i++) {
      hEls[i].onmouseover=function() { this.className+=" jshover"; }
      hEls[i].onmouseout=function() { this.className=this.className.replace(" jshover", ""); }
    }
  }
  if (window.attachEvent && navigator.userAgent.indexOf("Opera")==-1) window.attachEvent("onload", jsHover);


 function change_style(id, back_color, text_color, _class) {
 	if( _class == 'active_link' ) return;

	var liitem = 'li'+id;
	var aitem = 'a'+id;

	document.getElementById(aitem).style.color = '#'+text_color;
	document.getElementById(liitem).style.backgroundColor = '#'+back_color;
  }