Convert Element ID to String

Convert Element ID to String

  1. $(document).ready
  2. (
  3.     function()
  4.     {
  5.         $("#stepBox li").hover
  6.         (
  7.             function()
  8.             {
  9.                 var elid = $(this).attr('id');
  10.                 loadSWF("/ovi/lib/swfs/"+elid+".swf", "flashBox");
  11.             }
  12.         );
  13.     }
  14. );

 I need a way to convert the ID on line 9 into a string which can be used as a variable on line 10. Is this possible? An example would be greatly appreciated.

(P.S. I'm truly sorry if this ends up as a double-post. My browser froze up on the last one and I'm pretty sure it never went through)