Load Javascript on specific page types

I'm curious if there is a way to load a javascript in the header on only certain page types. I have a lightbox script that I would like to only load on items/show pages (it breaks in the exhibits). Something along the lines of what you can do in WordPress:

<?php if is_page('pagetype') ?>
<?php queue_js_file('jquery.colorbox-min'); ?>
<?php endif ?>

The simplest way to do that is to just add the queue_js_file() bit to the /items/show.php file in your theme, before the call to head(). If that file isn't there in your theme, follow this guide.

Ah! That was so simple, thanks!