+ if ($help_base_url != null && $use_popup_windows && $js == '')
+ {
+ if (!function_exists('get_js_open_window'))
+ {
+ include_once($path_to_root.'/includes/ui/ui_view.inc');
+ }
+ $js = get_js_open_window(900, 500);
+ }
+
+ add_js_user_num(); // add user native numeric input functions
+ // javascript includes collect
+ add_js_source($js);
+ $js ='';
+ foreach($js_static as $jsfile) {
+ $js .= '<script language="javascript" type="text/javascript" src="'.
+ $js_path . $jsfile . '"></script>';
+ }
+ foreach($js_userlib as $jsfile) {
+ $js .= '<script language="javascript" type="text/javascript" src="'.
+ $jsfile . '"></script>';
+ }
+ foreach($js_lib as $text) {
+ $js .= $text;
+ }
+ if (!isset($no_menu))