To add an external javascript or css file to Magento is too much easy as we can add this in any of below tow ways in xml layout file in given like in <catelog_product_view> part we an add in
<referense name="head">
<action method="addJs"><script>js/yourfile.js</script></action>
<action method="addCss"><stylesheet>css/yourstyle.css</stylesheet></action>
or
<action method="addItem"><type>skin_js</type><name>js/ yourfile.js</name></action>
<action method="addItem"><type>skin_css</type><name>css/yourstyle. css</name></action>