title: Passing a path to a function in javascript?
body: <p>First off, I know that this sort of a duplicate, but I believe that my problem is different from the other question on the same topic (read: more n00by).</p>
  
  <p>Basically, I'm trying to use <a href="http://www.dynamicdrive.com/dynamicindex13/roamcursor.htm" rel="nofollow">this script.</a> To make my code neater and more easily human-readable, I decided to put it into a seperate script, wrap the whole thing in a function with a <code>path</code> parameter, and then call the function (after setting up the script on the main page) with a the path to the image I wanted to use.</p>
  
  <p>My question is pretty basic; what's the correct way to format the path? Do I format the path when I pass it to the function as a string? Right now, what I have isn't working.</p>