So I'm working on a portfolio theme and in the process learning WordPress. I began using Artisteer, but found it limiting. What I have now is my basic Artisteer template and I'm trying to add elements of Paul Bennett's free Viewport theme (http://paulicio.us/items/view/28/viewport-a-free-wordpress-theme) and everything's fine except for the functions.php. I need elements of both functions.php files but I don't know enough to dissect and reform the file. Whenever I add any element of the Viewport functions.php file I get this error message: "Parse error: syntax error, unexpected $end /.../functions.php on line 596"
Can anyone help me see the problem? Both files work fine separately, and though it seems like a problem in the Artisteer functions.php, it works until I edit it.
[code moderated - please follow http://codex.wordpress.org/Forum_Welcome#Posting_Code for posting code]