rem: return ("contentWindow" in panel ? panel.contentWindow : undefined); 
add: return getContentWindow(panel); 
context: function getFrame(){    if (client.deck.childNodes.length == 0)        return undefined;    var panel = client.deck.selectedPanel;    return ("contentWindow" in panel ? panel.contentWindow : undefined);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ec1f57a2df47ea77b6ce245c6e2bd99b25d52195/static.js/clean/xul/content/static.js