if( document.addEventListener ) document.addEventListener( 'DOMContentLoaded', admissform, false );

function admissform(){
  // Hide forms
  $( 'form.admissform' ).hide();
  
  // Processing
  $( 'form.admissform' ).find( 'li label' ).not( 'li fieldset label' ).each( function( i ){
    var labelContent = this.innerHTML;
    var labelWidth = document.defaultView.getComputedStyle( this, '' ).getPropertyValue( 'width' );
	if (labelWidth != 'auto') { //added this on 9-19-2007 to accomdate the jQuery 1.2 change
    var labelSpan = document.createElement( 'span' );
        labelSpan.style.display = 'block';
        labelSpan.style.width = labelWidth;
        labelSpan.innerHTML = labelContent;
    this.style.display = '-moz-inline-box';
    this.innerHTML = null;
    this.appendChild( labelSpan );
	}
  } );
  
  // Show forms
  $( 'form.admissform' ).show();
}