 <!--Language chooser-->
$(document).ready(function(){

		

		$("ul.qtrans_language_chooser li:even").addClass("alt");

    $('div.menu_head').click(function () {

	$('ul.qtrans_language_chooser').slideToggle('medium');

    });

	

	});


 <!--Menu-->
  $(document).ready(function() {
      
      function addMega(){
        $(this).addClass("hovering");
        }

      function removeMega(){
        $(this).removeClass("hovering");
        }

    var megaConfig = {
         interval: 100,
         sensitivity: 2,
         over: addMega,
         timeout: 500,
         out: removeMega
    };

    $("li.mega").hoverIntent(megaConfig)

      
    });
  
  
  <!--Bubble-->
  
  $(function(){

   opts = {

      distances : [50,50,50],

      leftShifts : [-10,-10,-10],

      bubbleTimes : [400,400,400],

      hideDelays : [0,0,0],

      bubbleWidths : [210,230,210],

      bubbleImagesPath : "http://www.onlinemeditation.org/wp-content/themes/sm/images/bubble",

      msieFix : true

   };

   $('.coda_bubble').codaBubble(opts);

});
  
  $(document).ready(function(){
		//For gallery images
		$("a[rel='group']").colorbox();
		//For singleimages
		$(".single").colorbox();
		//For customer form
		$(".quick-tour").colorbox({width:"620px", height:"461px", iframe:true});
		
				
});



$(document).ready(function() {
	

	function megaHoverOver(){
		$(this).find("div").stop().fadeTo('fast', 1).show();
			
	
	}
	
	function megaHoverOut(){ 
	  $(this).find("div").stop().fadeTo('fast', 0, function() {
		  $(this).hide(); 
	  });
	}


	var config = {    
		 sensitivity: 2, // number = sensitivity threshold (must be 1 or higher)    
		 interval: 100, // number = milliseconds for onMouseOver polling interval    
		 over: megaHoverOver, // function = onMouseOver callback (REQUIRED)    
		 timeout: 250, // number = milliseconds delay before onMouseOut    
		 out: megaHoverOut // function = onMouseOut callback (REQUIRED)    
	};

	$("ul#menu li div").css({'opacity':'0'});
	$("ul#menu li").hoverIntent(config);



});
 <!--Font embed-->
 var rockwell = {
				src: 'http://www.onlinemeditation.org/wp-content/themes/sm/js/rockwell.swf'
			};
		
			sIFR.activate(rockwell);
		
			sIFR.replace(rockwell, {
				selector: '.sifr',
				css: '.sIFR-root { background-color: #F9F9F9; color: #883d3d; }',
				wmode: 'transparent'
			});
			
			
<!--footer language chooser-->
$(function(){
$('select#qtrans_select_qtranslate-3-chooser').selectmenu();
$('select#qtrans_select_qtranslate-5-chooser').selectmenu();
});
<!--slideshow-->
$(function() {
$("div.tabs").tabs(".images > div", { 
 
        // enable "cross-fading" effect 
        effect: 'fade', 
        fadeOutSpeed: "slow", 
 
        // start from the beginning after the last tab 
        rotate: true 
 
    // use the slideshow plugin. It accepts its own configuration 
    }).slideshow();

});

/* delicious */
  $(function() {
    $.each($('span.md5hash'), function () {
      var elem = $(this);
      $.ajax({ type:      'GET',
               dataType:  'jsonp',
               url:       'http://feeds.delicious.com/v2/json/urlinfo/'+$(this).html(),
               success:   function(data){
                            if (data.length > 0) {
                              elem.next().prepend(data[0].total_posts + ' ');
                            }
                          }
            });
    });

  })
