Include Navigation?

Is there anyway to include the xenforo navigation on a page outside the xenforo system? For instance on a index.php file.

I was able to copy the styling and the like, but if a user is logged in it doesn't apply over to the pages outside the xenforo system. So I really need to use something like php include to call the navigation and header from the xenforo system on my index.php file.

Any suggestions?

Edit: By the way, I just purchased XenForo and I gotta say it beats the pants off any other forum software I've used.