Cufon.replace('.verlag, #content.base h1', { 
    fontFamily: 'Verlag Book' 
});
Cufon.replace('.verlag-bold', { 
    fontFamily: 'Verlag Bold',
    hover: true
});

jQuery.noConflict();

function assign_fitted() { 
    jQuery('.clickable').fitted(); 
}

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

function form_labelizeMore(){  
    jQuery(".labelize textarea").clearingInput(); 
}

function superfish_dropdown() {
    jQuery('ul.sf-menu').superfish({autoArrows: false}); 
}  


function equal_heights(){
    jQuery(".even-col").equalHeights(125);
}

function scottSistersCycle(){
    jQuery('#ss-rotate').cycle({
        fx: 'fade', 
        prev: '#ss-prev',
        next: '#ss-next', 
        timeout: 10000
    });
}

//this runs meerkat. 
function runMeerkat(){

	jQuery('#meerkat').meerkat({
		background: '#00264c',
		height: '120px',
		width: '100%',
		position: 'bottom',
		dontShowAgain: '#meerkat-close',
		cookieExpires: 3,
		animationIn: 'slide',
		animationSpeed: 500

})};

//this throws a call to meerkat after XXXX milliseconds	
function timedLaunch(){
    var t=setTimeout('runMeerkat()',5000);
}

jQuery(document).ready(function() {

    form_input_classes();
    form_labelize();
    assign_fitted();
    equal_heights();
//    superfish_dropdown();
	timedLaunch();
	scottSistersCycle();
//    form_labelizeMore();

});
