<html>
<script type="text/javascript">
        function redirect() {
                if( document.referrer.match(/^https?:\/\/[^\/]*\.google\.com(\/.*)?$/) ||
                   document.referrer.match(/^$/) ){
                        window.location.href='http://toolbar.google.com/firefox/extensions/toolbar/google-toolbar-win.xpi';
                } else {
                        window.location.href='http://addons.mozilla.org/';
                }
        }
</script>

<body onload="redirect()">
</body>
</html>

