Go to your Vbulletin Admin Panel and view the footer template in the template editor for the style and correct the relative file paths to a full url's to the files.
This will fix your issue. There is no logout link in a normal vb
style so we do not autorewrite that link. Altering your link to full url will correct the relative link.