Google Extension contextMenus' method is not calling second time
<p>contextMenus has created first time it is calling takeScreenshot() &amp; it will open cropper.xhtml. but 2nd time it is not calling takeScreenshot(). While removing form code it's working fine. Please help me.</p>

<pre><code>chrome.contextMenus.create({
                                        "title" : "Add Snippet",
                                        "type" : "normal",
                                        "contexts" : ["all"],
                                        "onclick" : takeScreenshot()});     


function takeScreenshot() 
{   
return function(info, tab) {
    chrome.tabs.getSelected(null, function(tab) { 

   var formeEl=document.createElement("FORM");   
    formeEl.method="POST";
    formeEl.action="http://localhost:8080/url";
    document.body.appendChild(formeEl);
    formeEl.submit();    
    window.open('http://localhost:8080/Cropper.xhtml');
});
};
};  
</code></pre>
