var downStrokeField;
			 
function autojump(fieldName,nextFieldName,fakeMaxLength){
	
	var myForm=document.forms[document.forms.length - 1];
	var myField=myForm.elements[fieldName];
	myField.nextField=myForm.elements[nextFieldName];
	
	if (myField.maxLength == null)
		myField.maxLength=fakeMaxLength;
	  myField.onkeydown=autojump_keyDown;
	  myField.onkeyup=autojump_keyUp;
}
	 
function autojump_keyDown(){
	this.beforeLength=this.value.length;
  downStrokeField=this;
}
	 
function autojump_keyUp(){
	if (
     (this == downStrokeField) &&
     (this.value.length > this.beforeLength) &&
     (this.value.length >= this.maxLength)
     )
 		 this.nextField.focus();
     downStrokeField=null;
}

var a;
var b;
var c;
var d;
var e;
var f;
var g;
var h;
function cerrar(){
	
	var yo;
	
	if (a!=yo && !a.closed){
		a.close();
		a=yo;
	}
	
	if (b!=yo && !b.closed){
		b.close();
		b=yo;
	}
	
	if (c!=yo && !c.closed){
		c.close();
		c=yo;
	}
	
	if (d!=yo && !d.closed){
		d.close();
		d=yo;
	}
	
	if (e!=yo && !e.closed){
		e.close();
		e=yo;
	}
	
	if (f!=yo && !f.closed){
		f.close();
		f=yo;
	}
	
	if (g!=yo && !g.closed){
		g.close();
		g=yo;
	}
	
	if (h!=yo && !h.closed){
		h.close();
		h=yo;
	}

}

function simba(){
	a=window.open('html/simb_a.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=54,width=425,top=5,left=5');
}

function simbb(){
	b=window.open('html/simb_b.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=54,width=425,top=0,left=0');
}

function simbc(){
	c=window.open('html/simb_c.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=287,width=425,top=0,left=0');
}

function simbd(){
	d=window.open('html/simb_d1.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=270,width=425,top=0,left=0');
}

function simbe(){
	e=window.open('html/simb_e.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=285,width=425,top=0,left=0');
}

function simbf(){
	f=window.open('html/simb_f.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=300,width=425,top=0,left=0');
}

function simbg(){
	g=window.open('html/simb_g.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=287,width=425,top=0,left=0');
}

function simbh(){
	h=window.open('html/simb_h.html','Simbologia','toolbars=no,scrollbars=no,menubar=no,statusbar=no,resizable=no,height=287,width=425,top=0,left=0');
}
