I was wondering what was the best way to include a javascript in my subheader_includes.php file.. The moment i include a script there the layout of sertain pages isn't correct anymore.
If you want to include a script on every page, you best include it in ../templates/header.php (and possibly also admin_header.php and/or admin_header_mce.hph). Just add it after the jquery.js include.