- "';\n") .
- //plugin needed to fix the select showing through the submenus o IE6
- (($browser_name == "MSIE" && $browser_version <= 6) ? http_script('', 'bgiframe.js'):'' ) .
- http_script('', 'presentation.js') .
- http_script('', 'gadgets.js');
+ "';\n";
+ return
+ // envoi le fichier JS de config si browser ok.
+ $GLOBALS['browser_layer'] .
+ //plugin needed to fix the select showing through the submenus o IE6
+ (($browser_name == "MSIE" && $browser_version <= 6) ? http_script('', 'bgiframe.js'):'' ) .
+ http_script('', 'presentation.js') .
+ http_script('', 'gadgets.js') .
+ http_script($inline . $fin);