// JavaScript Document

<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->


<!--
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
//-->


<!--
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->

<!--
function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}
//-->

<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

<!-- 
function expandit(objname,image){
    var folder='';
    curobj = objname + 'info';
    imgobj = objname + 'img';
    folder = getObjectRef(curobj).style;
	if (folder.display=="none") {
        folder.display="";
        //getObjectRef(imgobj).src = "/neuro/images/close.gif";
    } else {
        folder.display="none"
        //getObjectRef(imgobj).src = "/neuro/images/close.gif";
    }
}
function getObjectRef(n, d) {

  //based off MM_findObj v4.01
  //n: String
  //d: Document (for netscape4 recursion)

  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=getObjectRef(n,d.layers[i].document);
	
  if(!x && d.getElementById) 
  	x=d.getElementById(n); 
	
  return x;
}
    //-->
	
function expanditmenu(objname,image){
    var folder='';
    curobj = objname + 'info';
    imgobj = objname + 'img';
    folder = getObjectRef(curobj).style;
	if (folder.display=="none") {
        folder.display="";
        getObjectRef(imgobj).src = "/mailing/img/menu_btn_cerrar.gif";
    } else {
        folder.display="none"
        getObjectRef(imgobj).src = "/mailing/img/menu_btn_abrir.gif";
    }
}
