The problem is caused by this code you have added to the head tag:
var $riol = jQuery.noConflict();
$riol(document).ready(function() {
$riol('.shuffle').randomImage({path: 'theme/banners/'});
$riol('a:first').click(function() {
location.reload();
return false;
});
});
That code updates the first link on the page and makes it refresh the page instead of going to the page it references. I think you can just remove the second section of that code to correct the problem.
$riol('a:first').click(function() {
location.reload();
return false;
});