<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function bw_check(){var is_major=parseInt(navigator.appVersion);this.nver=is_major;this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=document.getElementById?1:0;this.opera=window.opera?1:0;this.ie5=(this.ver.indexOf("MSIE 5")>-1&&this.dom&&!this.opera)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom&&!this.opera)?1:0;this.ie4=(document.all&&!this.dom&&!this.opera)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom&&parseInt(this.ver)>=5)?1:0;this.ie3=(this.ver.indexOf("MSIE")&&(is_major<4));this.hotjava=(this.agent.toLowerCase().indexOf('hotjava')!=-1)?1:0;this.ns4=(document.layers&&!this.dom&&!this.hotjava)?1:0;this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera);this.ver3=(this.hotjava||this.ie3);this.opera7=((this.agent.toLowerCase().indexOf('opera 7')>-1) || (this.agent.toLowerCase().indexOf('opera/7')>-1));this.operaOld=this.opera&&!this.opera7;return this;};
var bw=new bw_check();

function menuEvent(name, frame, index, ev,imgname){
	var fr = top.frames[frame];
	if (!fr || !fr.CMenus || !fr.CMenus[name]) return;
    var ind = fr.CMenus[name].root.cd[index].index;
	var scrollYOffset = 0;
	var scrollXOffset = 0;
	if (document.all) {
		scrollYOffset = fr.document.body.scrollTop;
		scrollXOffset = fr.document.body.scrollLeft;
	} else if (document.layers || document.getElementById) {
		scrollYOffset = fr.pageYOffset;
		scrollXOffset = fr.pageXOffset;
	}
    fr.CMenus[name].moveXY(fr.CMenus[name].root.frameoff[1] + scrollXOffset,fr.CMenus[name].root.frameoff[0] + scrollYOffset);
	fr.mEvent(name, ind, ev);
}

var highlight = "";
var temp_highlight = "";
var temp_highlight2 = "";
var picked="";

function menu_over(id,name,menue) {
if (picked!= "") {
if (document.all) {
document.all(picked).src = "../images/navigation/" + picked + "_b3.gif";
}
else if (document.getElementById) {
document.getElementById(picked).src = "../images/navigation/" + picked + "_b3.gif";
}
}
	
		if (menue=="on") {
			var localid = parseInt(id);
			menuEvent('menue', 'content', localid, 'o');
		}
		if (temp_highlight != "") {
		if (temp_highlight != "" && temp_highlight != highlight && temp_highlight != name) {
			if (document.all) {
				document.all(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
			}
			else if (document.getElementById) {
				document.getElementById(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
			}
		}
		}
		if (temp_highlight2 != "" && temp_highlight2 != highlight  && temp_highlight2 != name) {
		
			if (document.all) {
				document.all(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
			}
			else if (document.getElementById) {
				document.getElementById(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
			}
		}
		if (menue=="on") temp_highlight2 = name;
		if (menue=="off") temp_highlight = name;
}

function menu_out(id,name,menue) {
if (picked!= "") {
if (document.all) {
document.all(picked).src = "../images/navigation/" + picked + "_b3.gif";
}
else if (document.getElementById) {
document.getElementById(picked).src = "../images/navigation/" + picked + "_b3.gif";
}
}
		if (menue=="on") {
			var localid = parseInt(id);
			menuEvent('menue', 'content', localid, 't');
			
			if (temp_highlight2 != highlight  && temp_highlight2 != name) {
				if (document.all) {
					document.all(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
				}
				else if (document.getElementById) {
					document.getElementById(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
				}
			}
		}
		else {
			if (temp_highlight != highlight) {
				if (document.all) {
					document.all(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
				}
				else if (document.getElementById) {
					document.getElementById(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
				}
			}
		}
		if (bw.ns4) MM_swapImgRestore();
}

function menu_click(id) {
	if (id == "leer") {
		picked = "";
			if (highlight != "") {
				if (document.all) {
					if (temp_highlight != "") document.all(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
					if (temp_highlight2 != "") document.all(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
					document.all(highlight).src = "../images/navigation/" + highlight + "_b1.gif";
				}
				else if (document.getElementById) {
					if (temp_highlight != "") document.getElementById(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
					if (temp_highlight2 != "") document.getElementById(temp_highlight).src = "../images/navigation/" + temp_highlight + "_b1.gif";
					document.getElementById(highlight).src = "../images/navigation/" + highlight + "_b1.gif";
				}
				highlight = "";
				temp_highlight = "";
				temp_highlight2 = "";
			}
		}
		else {
			if (highlight != "" && highlight != id) {
				if (document.all) {
					document.all(highlight).src = "../images/navigation/" + highlight + "_b1.gif";
				}
				else if (document.getElementById) {
					document.getElementById(highlight).src = "../images/navigation/" + highlight + "_b1.gif";
				}
			}
			else {
				if (document.all) {
					document.all(id).src = "../images/navigation/" + id + "_b3.gif";
				}
				else if (document.getElementById) {
					document.getElementById(id).src = "../images/navigation/" + id + "_b3.gif";
				}
			}
			highlight = id;
			picked = id;
		}
		
}

function menu_timeout() {
	if (temp_highlight2 != highlight) {
		if (document.all) {
			document.all(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
		}
		else if (document.getElementById) {
			document.getElementById(temp_highlight2).src = "../images/navigation/" + temp_highlight2 + "_b1.gif";
		}
	}
}
//-->
