
        $(document).ready(function() {

            $('input:checkbox').checkbox({ cls: 'moviaCheckbox' });
            $('input:radio').checkbox({ cls: 'moviaRadio' });
            $('a.code').each(function() {
                $(this).click(function() {
                    eval($(this).text());
                    return false;
                })
            });
        });

        displayForm = function(elementId) {
            var content = [];
            $('#' + elementId + ' input').each(function() {
                var el = $(this);
                if ((el.attr('type').toLowerCase() == 'radio')) {
                    if (this.checked)
                        content.push([
								'"', el.attr('name'), '": ',
								'value="', (this.value), '"',
								(this.disabled ? ', disabled' : '')
							].join(''));
                }
                else
                    content.push([
							'"', el.attr('name'), '": ',
							(this.checked ? 'checked' : 'not checked'),
							(this.disabled ? ', disabled' : '')
						].join(''));
            });
            alert(content.join('\n'));
        }

        
