How to pass parameters to the flyout of windows 7 gadget?
<p>This is my code i want to pass parameters to the flyout function but it doesnt work, i remove parameters it work . is this code true?   </p>

<pre><code>$(document).ready(function() {
    var now = new Date();
    $.ajax({
        type: "GET",
        url: 'http://sarafandnet.com/sites.xml',
        dataType: "xml",
        success: function(xml) {
            $(xml).find('New').each(function() {
                var id = $(this).attr('id');
                var title = $(this).find('title').text();
                var date = $(this).find('date').text();
                var url = $(this).find('url').text();
                var desc = $(this).find('desc').text();

                if (now.getDate() == date) {

                    document.getElementById("td" + date).innerHTML = '&lt;table width="16" border="0" cellspacing="0" cellpadding="0"&gt;&lt;tr&gt;&lt;td height="21" &gt;&lt;a href="javascript:void(0);" onclick="showFlyout(\'' + title + '\',\'' + desc + '\')" class="lightwindow" height="10px" title="' + title + '" caption="' + desc + '" &gt;click&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;';
                }
            });
        }
    });
});

function Init() {
    System.Gadget.Flyout.file = "flyout.html";
    // Initialize the Flyout state display.
    if (!System.Gadget.Flyout.show) {
        sFlyoutFeedback.innerText = "Flyout hidden.";
    }
}

function showFlyout(titlee, descc) {
    System.Gadget.Settings.write("title", titlee);
    System.Gadget.Settings.write("desc", descc);

    System.Gadget.Flyout.file = "flyout.html";
    System.Gadget.Flyout.show = true;

}

function showFlyout() {
    System.Gadget.Flyout.show = true;
}

function hideFlyout() {
    oGadgetDocument.getElementById("strFlyoutFeedback").innerText = "Flyout  hidden.";
    System.Gadget.Flyout.show = false;
}
</code></pre>
