
    function stepOver( method, stepIndex )
    {
        var wizardForm = document.getElementById('domWizardForm');
        var regexUrlEndSlash   = /^(.*)\/$/;

        if(method == 'hidden')
        {
            var stepOver            = document.getElementById('stepOver');
                stepOver.value      = stepIndex;
                stepOver.disabled   = false;
        }
        else
        {
            if(regexUrlEndSlash.test(wizardForm.action))
            {
                wizardForm.action = wizardForm.action+stepIndex;
            }
            else
            {
                wizardForm.action = wizardForm.action+'/'+stepIndex;
            }
        }
        
        wizardForm.submit();        
    }
    
    function setStepOption( parameters )
    {
        alert(parameters);
        
        //var wizardForm = document.getElementById('domWizardForm');
        
        var stepOptions             = document.getElementById('stepOption');
            stepOptions.value       = parameters;
            stepOptions.disabled    = false;
            
        //wizardForm.submit();
    }
