Hi Nima,
I think the problem is that you are storing in fs the URL that opens up in the content frame in LORS. Therefore if you jump straight into it, as you are experiencing, it will open up in a full screen without the delivery frames.
Maybe what you could do is to modify the code for the deliver/index.tcl. If I remember correctly, when you select a course to be delivered, the URL looks something like this:
http://localhost/dotlrn/clubs/testclub/lorsm/delivery/index?man_id=649
I believe the index page sets up the frames for the delivery environment and selects which URL to load up first in the content frame. Now, you could modify slightly the index.tcl so if a "go_url" variable is set, it gets delivered straight into the content frame. For instance:
http://localhost/dotlrn/clubs/testclub/lorsm/delivery/index?man_id=649&go_url=http://localhost/dotlrn/clubs/testclub/lorsm/delivery/record-view?man_id=6491&item_id=6498
Then when setting up the frames, the index page will load the http://localhost/dotlrn/clubs/testclub/lorsm/delivery/record-view?man_id=6491&item_id=6498 in the content frame.
I hope that helps,
Ernie