
//jump menu in
function MM_jumpMenu(targ,selObj,restore){ //v3.0
if (targ!='ventana') {
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}else{
window.open (selObj.options[selObj.selectedIndex].value);
}
}
//jump menu out


//tamaņo de fuentes in
var ACTUAL_FONTSIZE = 10;
var SMALLEST_FONTSIZE = 9;
var LARGEST_FONTSIZE = 20;

function ChangeProp(objName,x,theProp,theValue) { //v6.0
  var obj = FindObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}
 
function masGrande() {
ACTUAL_FONTSIZE = ACTUAL_FONTSIZE+1;
  if (ACTUAL_FONTSIZE > LARGEST_FONTSIZE) { ACTUAL_FONTSIZE = LARGEST_FONTSIZE }
ChangeProp('texto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
ChangeProp('texto2','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');   
	
	//SaveActualFontSize();
  //extenderDIV();

}
 
function masChica() {
  ACTUAL_FONTSIZE = ACTUAL_FONTSIZE-1
  if (ACTUAL_FONTSIZE < SMALLEST_FONTSIZE) { ACTUAL_FONTSIZE = SMALLEST_FONTSIZE }
ChangeProp('texto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
ChangeProp('texto2','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
  //SaveActualFontSize();
  //extenderDIV();
}

function 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.getElementById(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=FindObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function LoadActualFontSize(){
  ChangeProp('texto','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
  ChangeProp('texto2','','style.fontSize',ACTUAL_FONTSIZE,'SPAN');
}

// tamaņo de fuentes out

// imprimir in
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
// imprimir out

//browser atras in
function nav(x) {
      history.go(x);
	  }
//browser atras out









