l ) return false; var testtype2 = typeof windowp.closed; if( testtype2 == 'undefined' ) return false; if( windowp.closed == null ) return false; if( windowp.closed ) return false; return true; } function isdefined(testv) { var testtype = typeof testv; if( testtype == 'undefined' ) return false; if( testv == null ) return false; return true; } // Functions to launch ControlBar function locallaunch() { if(!isitawindow(protectedwindow)) return; if( launchedbarbutton == 0) launchID = setTimeout("locallaunch()",1000); else { import protectedwindow.launchbar; launchbar(barrandomname); launchID = null; } } function localdestroy() { if(!isitawindow(protectedwindow)) return; if( launchedbarbutton == 0) launchID = setTimeout("localdestroy()",1000); else { import protectedwindow.destroybar; destroybar(barrandomname); launchID = null; } } function settotalwidth() { bartotalwidth =0; if(!isitawindow(originaltango)) return; var buttonspec = originaltango.buttonspec; var row = 0; for(var mm=0;mm