$("#menu li").hover(function () {
  $('off').replaceWith( "on" );
});

function clear_sp_form(clear) {
  $(clear).find(':input').each(function() {
        switch(this.type) {
            case 'password':
            case 'text':
			case 'textarea':
                $(this).val('');
                break;
        }
  });
  }


$('#my_button').click(function() {
  $('.hover').removeClass('hover');
});

$(document).ready(function(){
$("#rot-feature-wrap").each(function(){
      $(this).removeClass("loadingcycle");
});
});

$(function(){

    $("ul.dropdown li .parent, ul.dropdown li .not-parent").hover(function(){
    
        $(this).addClass("hover");
        $('ul:first',this).css('visibility', 'visible');
    
    }, function(){
    
        $(this).removeClass("hover");
        $('ul:first',this).css('visibility', 'hidden');
    
    });
    
    $("ul.dropdown li ul li:has(ul)").find("a:first").addClass("has-sub");

});

        $(function(){
          $("ul.tabs").tabs("div.panes > div");
  });
  
          $('ul#global-nav #c139 .blank-content').cycle({
          fx:     'scrollHorz',
          speed:   300,
          timeout: 5000
        });  
  
  
$(document).ready(function(){
$("#col-1-2-wrap").each(function(){
      $(this).removeClass("loadingcycle");
});
$(".loadingbox").each(function(){
      $(this).removeClass("loadingimage");
});
}); 
