This is DIRTY solution. If you want to use normal solution with WordPress use wp_enqueue_script
In order to have jQuery.expander working in WordPress put the plugin code inside the  "$(document).ready(function() " part.