jQuery.noConflict();

Cufon.replace('#news h2, #side h2, #tagline, #signup-wrap label, .foot-logo, #blog-side h2');

Cufon.now();

function form_input_classes(){
    jQuery('input[type="text"]').addClass('text');
    jQuery('input[type="password"]').addClass('text');
    jQuery('input[type="checkbox"]').addClass('checkbox');
    jQuery('input[type="radio"]').addClass('radiobutton');
    jQuery('input[type="submit"]').addClass('submit');
    jQuery('input[type="image"]').addClass('buttonImage');
}

function form_labelize(){  jQuery(".labelize input:text").clearingInput(); }   


jQuery(function(){


jQuery('#hero').jcarousel({
    scroll: 1,
    auto: 4,
    start: 0,
    wrap: "circular",
    buttonNextHTML: "<div class='hero-button next'><img src='/page/-/rtmw/img/arrow_right.png' alt='>' /></div>",
    buttonPrevHTML: "<div class='hero-button prev'><img src='/page/-/rtmw/img/arrow_left.png' alt='<' /></div>"
});


    jQuery('#quick-email').focus(function(){
        if (jQuery(this).val() == "e-mail address"){jQuery(this).val('');}
    });
    jQuery('#quick-email').blur(function(){
        if (jQuery(this).val() == ""){
            jQuery(this).val('e-mail address');
        }
    });


    //there would be an anchor mess in the hero section if this wasn't here

    jQuery('#hero li').click(function(){
        document.location =  jQuery(this).children('h3').children('a').eq(0).attr('href');
    });

    jQuery('.level1').superfish({
        speed: 'fast',
        autoArrows: false   
    });

    jQuery('#nav-home').hover(function(){
        jQuery(this).children().children().attr('src', '/page/-/rtmw/img/home_hover.png');
    
    },
    function(){
    
        jQuery(this).children().children().attr('src', '/page/-/rtmw/img/home.png');
    
    });
    
    
    jQuery('#facts h3').prepend('<span></span>');
});


