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

function form_swap_values(){
    swapValues = [];
    jQuery(".swap_value").each(function(i){
        swapValues[i] = jQuery(this).val();
        jQuery(this).focus(function(){
            if (jQuery(this).val() == swapValues[i]) {
                jQuery(this).val("");
                }
            }).blur(function(){
                if (jQuery.trim(jQuery(this).val()) == "") {
                    jQuery(this).val(swapValues[i]);
                }
            });
    });
}

jQuery(document).ready(function() {

    form_input_classes();
    form_labelize();

});
