title: wordpress: Conditionally run javascript and load image for post pages
body: <p>I have a javascript curl effect in place which loads an image and javascript file for the curl effect. But I want to appear in the post pages only.<br/>
  So I want to do:</p>
  
  <pre><code>if this is a postpage{
     load image;
     load javascript;}
  </code></pre>
  
  <p>What is the way to do this in wordpress with php?</p>