function newwin() {

    var links = $("a.newwin");

    if (links) {

        links.each(function() {

            $(this).click(function() {
                window.open($(this).attr('href'));
                return false;
            });

            $(this).keypress(function() {
                $(this).click();
            });

        });

    }

    return true;

}

function change_banner_title() {

    if (this.alt) $("#banner p").text(this.alt);

}

$(document).ready( function() {

    newwin();

    $('#cycle').cycle({
        fx:    'fade',
        speed:  2500,
        timeout: 8000,
        delay: 1,
        after: change_banner_title
    });

    $("#q").click(function() {
        $(this).attr('value','');
    });

    $("#investor_login #investor_name").click(function() {
        $(this).attr('value','');
    });

});