jquery ui modal dialog error in IE 6 and 7.

jquery ui modal dialog error in IE 6 and 7.

Hi i just added jquery modal dialog to my application.

it is working fine as it suppose to be in Firefox, Safari, Chrome, Opera and IE 8 but in IE 6 and IE 7 it is generating error at marked line in the code.

i using IE tester and also tried it in IE 8 compatibility view.

please help.

i am stuck .
i am new to jquery. is there any other way to set these properties?
if you need more info please let me know.
thanks
   
  1. $(document).ready(function(){
             $("#moveDialog{/literal}{$id}{literal}").dialog({
                      ---->  bgiframe: true,
                         autoOpen: false,
                         height: 300,
                         modal: true,
                         });

             $("#moveDocDialog{/literal}{$id}{literal}").click(function() {
                $("#moveDialog{/literal}{$id}{literal}").dialog('open');
            }) ;
            $("#moveDocDialogCancel{/literal}{$id}{literal}").click(function() {
                $("#moveDialog{/literal}{$id}{literal}").dialog('close');
            }) ;

         });