I know for pages it can be done with a custom template but it's quite tedious to create different templates just to embed another javascript.
So there's this nice head-meta plugin: http://lud.icro.us/wordpress-plugin-head-meta/ but i couldn't get it to work with atahualpa. Maybe the wp_head function is modified?
Is there another way to create a custom field which will include scriptlines in a single post header?