jQuery.noConflict();

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(); }

Cufon.replace('.din-med', {hover: true, fontFamily: 'DIN Medium'});
Cufon.replace('#framework h1', {hover: true, fontFamily: 'DIN Medium'});
Cufon.replace('.din-bol', {hover: true, fontFamily: 'DIN Bold'});   

jQuery(document).ready(function() {
    form_input_classes();
    form_labelize();
	
    jQuery('ul.sf-menu').superfish({ 
        delay:       1000,                            // one second delay on mouseout 
        animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
        speed:       'fast',                          // faster animation speed 
        autoArrows:  false,                           // disable generation of arrow mark-up 
        dropShadows: false                            // disable drop shadows 
    });
	
    jQuery('#hero').before('<div id="hero-nav">').cycle({
        fx:      'fade',
        pause:  1, 
    	speed: 1000,
        timeout:  4000,
        pager:   '#hero-nav'
    });
		
    jQuery('#sponsors').cycle({
        fx:      'scrollLeft',
        timeout:  0,
        prev:    '#prev-sponsor',
        next:    '#next-sponsor'
    });

});