function subcorr(fstep,tstep){
 var wl=window.location;wl=wl.toString();wl=wl.substring(0,wl.lastIndexOf('/')+1)
 switch(fstep){
  case 1:
   switch(tstep){
    case 2:
     if(ele('oldl').value==ele('newl').value){
alert('Usted necesita hacer correcciones a seguir');
return 1 }
     document.cookie="step=2;path="+document.location.pathname+";domain="+document.location.hostname
     return document.corrf.submit();
    break
   }
  break

  case 2:
   switch(tstep){
    case 1:
     document.cookie="step=1;path="+document.location.pathname+";domain="+document.location.hostname
     this.location.href=wl+'CORR'
    break
    case 3:
     document.cookie="step=3;path="+document.location.pathname+";domain="+document.location.hostname
     this.location.href=wl+'CORR'
    break
   }
  break

  case 3:
   switch(tstep){
    case 2:
     document.cookie="step=2;path="+document.location.pathname+";domain="+document.location.hostname
     this.location.href=wl+'CORR'
    break
   }
  break
 }
}
